From 0329c68bf7d33e8acdcdcd3e06f9d676cd776025 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 11 Apr 2011 01:33:18 +0200 Subject: Bootmenu User/Admin View --- .../user/views/scripts/bootmenu/index.phtml | 34 ++++++++++++++++------ 1 file changed, 25 insertions(+), 9 deletions(-) (limited to 'application/modules/user/views/scripts/bootmenu') diff --git a/application/modules/user/views/scripts/bootmenu/index.phtml b/application/modules/user/views/scripts/bootmenu/index.phtml index 751b648..4393c1f 100644 --- a/application/modules/user/views/scripts/bootmenu/index.phtml +++ b/application/modules/user/views/scripts/bootmenu/index.phtml @@ -3,11 +3,20 @@ searchform; ?> - +type == 'group'?'own':'group';?> + +type== 'group') || (Pbs_Acl::checkRight('booco') && $this->type == 'own')): ?> formButton('createbootmenu', 'Create BootMenu', array( - 'onclick' => 'self.location="/user/bootmenu/createbootmenu/page/'.$this->page.'"', + 'onclick' => 'self.location="/user/bootmenu/createbootmenu/type/'.$this->type.'page/'.$this->page.'"', + 'class' => 'addbutton'))?> + + + +formButton('groupbootmenu', 'Show '.$conflabel.' Bootmenu', array( + 'onclick' => 'self.location="/user/bootmenu/index/type/'.$conflabel.'/page/'.$this->page.'"', 'class' => 'addbutton'))?> +
Available searchfilter:
@@ -30,7 +39,7 @@
- + type == 'group'): ?> getDefaultbootmenu() == true): ?> Checked as default @@ -39,6 +48,7 @@ 'module' => 'user', 'controller' => 'bootmenu', 'action' => 'defaultbootmenu', + 'type' => $this->type, 'bootmenuID' => $bootmenu->getID(), 'page' => $this->page ), @@ -47,36 +57,39 @@ Not checked as default - + type == 'group'): ?> Edit Bootmenu - + type == 'group'): ?> Delete Bootmenu - + type == 'group') || (Pbs_Acl::checkRight('booaeo') && $this->type == 'own')): ?> url( array( 'controller' => 'resource', 'action' => 'getbootmenuentry', + 'type' => $this->type, 'bootmenuentryID' => $bootmenuentry->getID(), 'page' => $this->page ), 'default', true, false) ?>"> - + type == 'group') || (Pbs_Acl::checkRight('booeeo') && $this->type == 'own')): ?> Edit Entry - + type == 'group') || (Pbs_Acl::checkRight('boodeo') && $this->type == 'own')): ?>