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 '';