Skip to content

Commit

Permalink
new mod var
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ueberschaer committed Sep 5, 2016
1 parent 5254c9b commit 4f88fa6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/MUFiles/Base/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function install()
$this->setVar('itemsPerPage', 10);
$this->setVar('itemsPerPageBackend', 10);
$this->setVar('onlyParent', false);
$this->setVar('specialCollectionMenue', false);

$categoryRegistryIdsPerEntity = array();

Expand Down
1 change: 1 addition & 0 deletions lib/MUFiles/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public function upgrade($oldVersion)
$this->setVar('itemsPerPage', 10);
$this->setVar('itemsPerPageBackend', 10);
$this->setVar('onlyParent', false);
$this->setVar('specialCollectionMenue', false);
// update the database schema
try {
DoctrineHelper::updateSchema($this->entityManager, $this->listEntityClasses());
Expand Down
4 changes: 4 additions & 0 deletions templates/admin/config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
{formlabel for='onlyParent' __text='Show only parent collection' cssClass=''}
{formcheckbox id='onlyParent' group='config' readOnly=false __title='Show only parent collections?' cssClass='' }
</div>
<div class="z-formrow">
{formlabel for='specialCollectionMenue' __text='Show special collection menue?' cssClass=''}
{formcheckbox id='specialCollectionMenue' group='config' readOnly=false __title='Show special collection menue?' cssClass='' }
</div>
</fieldset>
{/formtabbedpanel}
{gt text='Moderation' assign='tabTitle'}
Expand Down

0 comments on commit 4f88fa6

Please sign in to comment.