mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-05-09 14:03:19 +00:00
make html_url() and html_link() public
This commit is contained in:
parent
4ba8eff300
commit
5eb4d0bdd5
|
|
@ -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 '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user