* add create lib in index page.
This commit is contained in:
@@ -42,7 +42,9 @@ class doc extends control
|
||||
$this->session->set('docList', $this->app->getURI(true));
|
||||
$this->app->loadClass('pager', $static = true);
|
||||
$pager = new pager(0, 5, 1);
|
||||
$this->lang->modulePageActions = $this->doc->setFastMenu($this->lang->doc->fast);
|
||||
|
||||
$this->lang->modulePageActions = $this->doc->setFastMenu($this->lang->doc->fast);
|
||||
$this->lang->modulePageActions .= common::hasPriv('doc', 'createLib') ? html::a(helper::createLink('doc', 'createLib'), "<i class='icon icon-folder-plus'></i> " . $this->lang->doc->createLib, '', "class='btn btn-secondary iframe'") : '';
|
||||
|
||||
$this->view->title = $this->lang->doc->common . $this->lang->colon . $this->lang->doc->index;
|
||||
$this->view->position[] = $this->lang->doc->index;
|
||||
|
||||
@@ -11,7 +11,7 @@ if($this->methodName != 'browse')
|
||||
$browseType = '';
|
||||
$moduleID = '';
|
||||
}
|
||||
if(!isset($type)) $type = 'product';
|
||||
if(empty($type)) $type = 'product';
|
||||
?>
|
||||
<div class="side-col" style="width: 230px" data-min-width="230">
|
||||
<div class="cell">
|
||||
|
||||
Reference in New Issue
Block a user