diff options
author | Simon | 2011-04-20 10:19:53 +0200 |
---|---|---|
committer | Simon | 2011-04-20 10:19:53 +0200 |
commit | 73e9cc5579511132223164c4954b7e2171ca873d (patch) | |
tree | 046d84232d2c4b8ffca266df6739ebcd74667a8f | |
parent | Umbennennung der Beispieldaten von BootIso zu BootMedium (diff) | |
download | pbs2-73e9cc5579511132223164c4954b7e2171ca873d.tar.gz pbs2-73e9cc5579511132223164c4954b7e2171ca873d.tar.xz pbs2-73e9cc5579511132223164c4954b7e2171ca873d.zip |
Suche in BootMenu wird für normlen Benutzer ausgeblendet
-rw-r--r-- | application/modules/user/views/scripts/bootmenu/index.phtml | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/application/modules/user/views/scripts/bootmenu/index.phtml b/application/modules/user/views/scripts/bootmenu/index.phtml index bdaf3a5..42498c9 100644 --- a/application/modules/user/views/scripts/bootmenu/index.phtml +++ b/application/modules/user/views/scripts/bootmenu/index.phtml @@ -1,7 +1,9 @@ <h1>BootMenu</h1> <?php if($this->notification != ''){echo $this->notification;} ?> <div id='notification' style='display:none;'></div> -<?php echo $this->searchform; ?> +<?php if(Pbs_Acl::checkRight('booai')): ?> + <?php echo $this->searchform; ?> +<?php endif; ?> <?php $conflabel = $this->type == 'group'?'own':'group';?> @@ -16,15 +18,14 @@ 'onclick' => 'self.location="/user/bootmenu/index/type/'.$conflabel.'/page/'.$this->page.'"', 'class' => 'addbutton'))?> <?php endif;?> - -<div class='searchvars'> - <div class='head'>Available searchfilter:</div> - <?php if(Pbs_Acl::checkRight('booai')): ?> - <div class='code'>bootmenuID</div> - <?php endif; ?> - <div class='code'>title</div> - <div class='code'>changed</div> -</div> +<?php if(Pbs_Acl::checkRight('booai')): ?> + <div class='searchvars'> + <div class='head'>Available searchfilter:</div> + <div class='code'>bootmenuID</div> + <div class='code'>title</div> + <div class='code'>changed</div> + </div> +<?php endif; ?> <div class='listelement'> <?php if(count($this->bootmenulist)==0) |