[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7669] controller: example normal tab
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7669] controller: example normal tab |
Date: |
Tue, 20 Sep 2011 08:27:04 +0000 |
Revision: 7669
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7669
Author: sigurdne
Date: 2011-09-20 08:27:03 +0000 (Tue, 20 Sep 2011)
Log Message:
-----------
controller: example normal tab
Modified Paths:
--------------
trunk/controller/inc/class.uiexample.inc.php
Modified: trunk/controller/inc/class.uiexample.inc.php
===================================================================
--- trunk/controller/inc/class.uiexample.inc.php 2011-09-20 08:21:08 UTC
(rev 7668)
+++ trunk/controller/inc/class.uiexample.inc.php 2011-09-20 08:27:03 UTC
(rev 7669)
@@ -416,24 +416,8 @@
{
self::set_active_menu('controller::example::normal_tabs');
- $type = phpgw::get_var('type', 'string', 'REQUEST', null);
+ $resource_id = 80;
- switch($type)
- {
- case 'default':
- $selected = 1;
- $resource_id = 81;
- break;
- case 'forced':
- $selected = 2;
- $resource_id = 46;
- break;
- case 'user':
- default:
- $selected = 0;
- $resource_id = 80;
- }
-
$add_document_link =
$GLOBALS['phpgw']->link('/index.php', array('menuaction'=>
'controller.uiexample.index') );
$resource = array('id' => $resource_id,
'add_document_link' => $add_document_link, 'permission' => array('write' =>
true ) );
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7669] controller: example normal tab,
Sigurd Nes <=