[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/workflow/inc/ -> hook_settings.inc.php (source)

   1  <?php
   2      /**************************************************************************\
   3      * eGroupWare - Preferences                                                 *
   4      * http://www.egroupware.org                                                *
   5      * --------------------------------------------                             *
   6      *  This program is free software; you can redistribute it and/or modify it *
   7      *  under the terms of the GNU General Public License as published by the   *
   8      *  Free Software Foundation; either version 2 of the License, or (at your  *
   9      *  option) any later version.                                              *
  10      \**************************************************************************/
  11  
  12      /* $Id: hook_settings.inc.php 22629 2006-10-14 12:22:40Z regis_glc $ */
  13  
  14      // ui_userinstance preferences
  15      $GLOBALS['settings'] = array(
  16          'globalworkprefs' => array(
  17          'type' => 'section',
  18              'title' => 'Global Workflow Preferences',
  19              'xmlrpc' => True,
  20              'admin'  => False
  21          ),
  22          'startpage' => array(
  23              'type'  => 'select',
  24              'label' => 'Starting page',
  25              'name'     => 'startpage',
  26              'help'  => 'This is the first screen shown when you click on the workflow application icon',
  27              'values' => array(
  28                  'workflow.ui_userprocesses'     => 'My processes',
  29                  'workflow.ui_useractivities'    => 'My activities',
  30                  'workflow.ui_userinstances'    => 'My instances',
  31                  'workflow.ui_useractivities2'    => 'Global activities',
  32                  'workflow.ui_useropeninstance'    => 'Open Instances'
  33              ),
  34              'xmlrpc' => True,
  35              'admin'  => False
  36          ),
  37  
  38          
  39          'userfilt' => array(
  40              'type' => 'section',
  41              'title' => 'User Instances form: filters and actions'
  42          ),
  43          'wf_instances_show_instance_search' => array(
  44              'type'   => 'check',
  45              'label' => 'Search instance filter in the bottom of instance lists',
  46              'name'  => 'wf_instances_show_instance_search',
  47              'help'  => 'Do you want the search instance button in the last row of instances list.',
  48              'default' => 0,
  49              'xmlrpc' => True,
  50              'admin'  => False
  51          ),
  52          'wf_instances_show_advanced_mode' => array(
  53              'type'   => 'check',
  54              'label' => 'Always show advanced mode',
  55              'name'  => 'wf_instances_show_advanced_mode',
  56              'help'  => 'Should we always give you the advanced search row on instances lists?',
  57              'default' => 0,
  58              'xmlrpc' => True,
  59              'admin'  => False
  60          ),
  61          'wf_instances_show_advanced_actions' => array(
  62              'type'   => 'check',
  63              'label' => 'Always show advanced actions',
  64              'name'  => 'wf_instances_show_advanced_actions',
  65              'help'  => 'When in advanced mode, should we show you advanced actions by default (resume, exception, grab, etc.)?',
  66              'default' => 0 ,
  67              'xmlrpc' => True,
  68              'admin'  => False
  69          ),
  70  
  71  
  72          'usercols' => array(
  73              'type' => 'section',
  74              'title' => 'User Instances form: columns',
  75              'xmlrpc' => True,
  76              'admin'  => False
  77          ),
  78          'wf_instances_show_instance_id_column' => array(
  79              'type'   => 'check',
  80              'label' => 'Column Instance Id in instance lists',
  81              'name'  => 'wf_instances_show_instance_id_column',
  82              'help'  => 'Do you want the instance id column on instances lists. This is the unique identifier of an instance',
  83              'default' => 1,
  84              'xmlrpc' => True,
  85              'admin'  => False
  86          ),
  87          'wf_instances_show_priority_column' => array(
  88              'type'   => 'check',
  89              'label' => 'Column Priority in instance lists',
  90              'name'  => 'wf_instances_show_priority_column',
  91              'help'  => 'Do you want the priority column on instances lists. Priority can be set with activities forms',
  92              'default' => 1,
  93              'xmlrpc' => True,
  94              'admin'  => False
  95          ),
  96          'wf_instances_show_instance_status_column' => array(
  97              'type'   => 'check',
  98              'label' => 'Column Instance Status in instance lists',
  99              'name'  => 'wf_instances_show_instance_status_column',
 100              'help'  => 'Do you want the instance status on instances lists. The instance status is usefull to disting beteween aborted, completed, exception or active instances',
 101              'default' => 1,
 102              'xmlrpc' => True,
 103              'admin'  => False
 104          ),        
 105          'wf_instances_show_instance_name_column' => array(
 106              'type'   => 'check',
 107              'label' => 'Column Instance Name in instance lists',
 108              'name'  => 'wf_instances_show_instance_name_column',
 109              'help'  => 'Do you want the instance name column on instances lists. If your instances have name you should really use this',
 110              'default' => 1,
 111              'xmlrpc' => True,
 112              'admin'  => False
 113          ),
 114          'wf_instances_show_process_name_column' => array(
 115              'type'   => 'check',
 116              'label' => 'Column Process Name in instance lists',
 117              'name'  => 'wf_instances_show_process_name_column',
 118              'help'  => 'Do you want the process column on instances lists. Usefull if you have different processes and/or versions of theses processes',
 119              'default' => 1,
 120              'xmlrpc' => True,
 121              'admin'  => False
 122          ),
 123          'wf_instances_show_activity_status_column' => array(
 124              'type'   => 'check',
 125              'label' => 'Column Activity Status in instance lists',
 126              'name'  => 'wf_instances_show_activity_status_column',
 127              'help'  => 'Do you want the activity status on instances lists. Most of the time it is "running" but if you use non-autorouted transitions you will have some completed activities.',
 128              'default' => 0,
 129              'xmlrpc' => True,
 130              'admin'  => False
 131          ),
 132          'wf_instances_show_owner_column' => array(
 133              'type'   => 'check',
 134              'label' => 'Column Owner in instance lists',
 135              'name'  => 'wf_instances_show_owner_column',
 136              'help'  => 'Do you want the owner column on instances lists. This will show you the actual owner, especially usefull if ownership is defined with special rights',
 137              'default' => 1,
 138              'xmlrpc' => True,
 139              'admin'  => False
 140          ),
 141          'wf_instances_show_category_column' => array(
 142              'type'   => 'check',
 143              'label' => 'Column Category in instance lists',
 144              'name'  => 'wf_instances_show_category_column',
 145              'help'  => 'Do you want the category name column on instances lists, if your instances use categories you should use it',
 146              'default' => 1,
 147              'xmlrpc' => True,
 148              'admin'  => False
 149          ),
 150          'wf_instances_show_started_column' => array(
 151              'type'   => 'check',
 152              'label' => 'Column start date in instance lists',
 153              'name' => 'wf_instances_show_started_column',
 154              'help' => 'Do you want the started date column on instances lists.',
 155              'default' => 1,
 156              'xmlrpc' => True,
 157              'admin' => False
 158          ),
 159      );
 160  ?>


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7