[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/phpgwapi/templates/idots/ -> 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 20295 2006-02-15 12:31:25Z  $ */
  13  
  14      $start_and_logout_icons = array(
  15          'yes' => lang('yes'),
  16          'no'  => lang('no')
  17      );
  18      $click_or_onmouseover = array(
  19          'click'       => lang('Click'),
  20          'onmouseover' => lang('On Mouse Over')
  21      );
  22  
  23      $GLOBALS['settings'] = array(
  24          'prefssection' => array(
  25              'type'  => 'section',
  26              'title' => 'Preferences for the idots template set',
  27              'xmlrpc' => False,
  28              'admin'  => False
  29          ),
  30          'start_and_logout_icons' => array(
  31              'type'   => 'select',
  32              'label'  => 'Show home and logout button in main application bar?',
  33              'name'   => 'start_and_logout_icons',
  34              'values' => $start_and_logout_icons,
  35              'help'   => 'When you say yes the home and logout buttons are presented as applications in the main top applcation bar.',
  36              'xmlrpc' => False,
  37              'admin'  => False
  38          ),
  39          'max_icons' => array(
  40              'type'  => 'input',
  41              'label' => 'Max number of icons in navbar',
  42              'name'  => 'max_icons',
  43              'help'  => 'How many icons should be shown in the navbar (top of the page). Additional icons go into a kind of pulldown menu, callable by the icon on the far right side of the navbar.',
  44              'default' => '',
  45              'size'   => 3,
  46              'xmlrpc' => False,
  47              'admin'  => False
  48          ),
  49          'auto_hide_sidebox' => array(
  50              'type'  => 'check',
  51              'label' => 'Autohide Sidebox menu\'s',
  52              'name'  => 'auto_hide_sidebox',
  53              'help'  => 'Automatically hide the Sidebox menu\'s?',
  54              'xmlrpc' => False,
  55              'admin'  => False
  56          ),
  57          'click_or_onmouseover' => array(
  58              'type'   => 'select',
  59              'label'  => 'Click or Mouse Over to show menus',
  60              'name'   => 'click_or_onmouseover',
  61              'values' => $click_or_onmouseover,
  62              'help'   => 'Click or Mouse Over to show menus?',
  63              'xmlrpc' => False,
  64              'admin'  => False
  65          ),
  66          'disable_slider_effects' => array(
  67              'type'  => 'check',
  68              'label' => 'Disable slider effects',
  69              'name'  => 'disable_slider_effects',
  70              'help'  => 'Disable the animated slider effects when showing or hiding menus in the page? Opera and Konqueror users will probably must want this.',
  71              'xmlrpc' => False,
  72              'admin'  => False
  73          ),
  74          'disable_pngfix' => array(
  75              'type'  => 'check',
  76              'label' => 'Disable Internet Explorer png-image-bugfix',
  77              'name'  => 'disable_pngfix',
  78              'help'  => 'Disable the execution a bugfixscript for Internet Explorer 5.5 and higher to show transparency in PNG-images?',
  79              'xmlrpc' => False,
  80              'admin'  => False
  81          ),
  82          'show_generation_time' => array(
  83              'type'  => 'check',
  84              'label' => 'Show page generation time',
  85              'name'  => 'show_generation_time',
  86              'help'  => 'Show page generation time on the bottom of the page?',
  87              'xmlrpc' => False,
  88              'admin'  => False
  89          )
  90      );


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