mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
add example on how to set viewAliasName
This commit is contained in:
parent
1c4b17f053
commit
f275ea1927
|
@ -36,6 +36,11 @@ require_once("SeedDMS/Preview.php");
|
||||||
*/
|
*/
|
||||||
class SeedDMS_View_ViewFolder extends SeedDMS_Theme_Style {
|
class SeedDMS_View_ViewFolder extends SeedDMS_Theme_Style {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set a different name which is used to specify the hooks.
|
||||||
|
*/
|
||||||
|
//public $viewAliasName = '';
|
||||||
|
|
||||||
function data() { /* {{{ */
|
function data() { /* {{{ */
|
||||||
$dms = $this->params['dms'];
|
$dms = $this->params['dms'];
|
||||||
$user = $this->params['user'];
|
$user = $this->params['user'];
|
||||||
|
@ -565,7 +570,7 @@ $('body').on('click', '.order-btn', function(ev) {
|
||||||
|
|
||||||
//$this->htmlAddHeader('<script type="text/javascript" src="../styles/'.$this->theme.'/bootbox/bootbox.min.js"></script>'."\n", 'js');
|
//$this->htmlAddHeader('<script type="text/javascript" src="../styles/'.$this->theme.'/bootbox/bootbox.min.js"></script>'."\n", 'js');
|
||||||
|
|
||||||
echo $this->callHook('startPage');
|
// echo $this->callHook('startPage');
|
||||||
$this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))));
|
$this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))));
|
||||||
$this->globalNavigation($folder);
|
$this->globalNavigation($folder);
|
||||||
$this->contentStart();
|
$this->contentStart();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user