From 5eb4d0bdd513cc8e1d6b2ea7b8120436e0b54ade Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 16 Mar 2026 21:51:56 +0100 Subject: [PATCH] make html_url() and html_link() public --- inc/inc.ClassViewCommon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/inc.ClassViewCommon.php b/inc/inc.ClassViewCommon.php index 8cb152c96..05a0de2e1 100644 --- a/inc/inc.ClassViewCommon.php +++ b/inc/inc.ClassViewCommon.php @@ -320,7 +320,7 @@ class SeedDMS_View_Common { * @param array $urlparams list of url parameters * @return string $url */ - protected function html_url($view, $urlparams=array()) { /* {{{ */ + public function html_url($view, $urlparams=array()) { /* {{{ */ $url = $this->params['settings']->_httpRoot."out/out.".$view.".php"; if($urlparams) $url .= "?".http_build_query($urlparams); @@ -339,7 +339,7 @@ class SeedDMS_View_Common { * @param boolean $hsc set to false if htmlspecialchars() shall not be called * @return string link */ - protected function html_link($view, $urlparams, $linkparams, $link, $hsc=true, $nocheck=false, $wrap=array()) { /* {{{ */ + public function html_link($view, $urlparams, $linkparams, $link, $hsc=true, $nocheck=false, $wrap=array()) { /* {{{ */ if(!$nocheck) if(!$this->check_view_access($view)) return '';