fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [8687] controller: configurable status


From: Sigurd Nes
Subject: [Fmsystem-commits] [8687] controller: configurable status
Date: Wed, 25 Jan 2012 15:52:57 +0000

Revision: 8687
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8687
Author:   sigurdne
Date:     2012-01-25 15:52:57 +0000 (Wed, 25 Jan 2012)
Log Message:
-----------
controller: configurable status

Modified Paths:
--------------
    trunk/property/inc/class.sogeneric.inc.php

Modified: trunk/property/inc/class.sogeneric.inc.php
===================================================================
--- trunk/property/inc/class.sogeneric.inc.php  2012-01-25 14:47:55 UTC (rev 
8686)
+++ trunk/property/inc/class.sogeneric.inc.php  2012-01-25 15:52:57 UTC (rev 
8687)
@@ -2132,6 +2132,58 @@
                                break;
 
 // END BOOKING TABLES
+// START CONTROLLER TABLES
+                       case 'controller_check_item_status':
+                               $info = array
+                                       (
+                                               'table'                         
=> 'controller_check_item_status',
+                                               'id'                            
=> array('name' => 'id', 'type' => 'auto'),
+                                               'fields'                        
=> array
+                                               (
+                                                       array
+                                                       (
+                                                               'name' => 
'name',
+                                                               'descr' => 
lang('name'),
+                                                               'type' => 
'varchar'
+                                                       ),
+                                                       array
+                                                       (
+                                                               'name' => 
'sorting',
+                                                               'descr' => 
lang('sorting'),
+                                                               'type' => 
'integer',
+                                                               'sortable'=> 
true
+                                                       ),
+                                                       array
+                                                       (
+                                                               'name' => 
'open',
+                                                               'descr' => 
lang('open'),
+                                                               'type' => 
'checkbox'
+                                                       ),
+                                                       array
+                                                       (
+                                                               'name' => 
'pending',
+                                                               'descr' => 
lang('pending'),
+                                                               'type' => 
'checkbox'
+                                                       ),
+                                                       array
+                                                       (
+                                                               'name' => 
'closed',
+                                                               'descr' => 
lang('closed'),
+                                                               'type' => 
'checkbox'
+                                                       )
+                                               ),
+                                               'edit_msg'                      
=> lang('edit'),
+                                               'add_msg'                       
=> lang('add'),
+                                               'name'                          
=> lang('status'),
+                                               'acl_app'                       
=> 'controller',
+                                               'acl_location'          => 
'admin',
+                                               'menu_selection'        => 
'admin::controller::check_item_status'
+                                       );
+                               break;
+
+// END CONTROLLER TABLES
+
+
                        default:
                                $message =lang('ERROR: illegal type %1', $type);
                                phpgwapi_cache::message_set($message, 'error');




reply via email to

[Prev in Thread] Current Thread [Next in Thread]