mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
74 lines
1.9 KiB
PHP
74 lines
1.9 KiB
PHP
<?php
|
|
/**
|
|
* Stylite: jdots template
|
|
*
|
|
* @link http://www.stylite.de
|
|
* @package jdots
|
|
* @author Andreas Stöckel <as@stylite.de>
|
|
* @author Ralf Becker <rb@stylite.de>
|
|
* @author Nathan Gray <ng@stylite.de>
|
|
* @version $Id$
|
|
*/
|
|
|
|
$apps = $no_navbar_apps = array();
|
|
if (!$hook_data['setup']) // does not work on setup time
|
|
{
|
|
foreach(ExecMethod('jdots.jdots_framework.navbar_apps') as $app => $data)
|
|
{
|
|
if (!$data['noNavbar'])
|
|
{
|
|
$apps[$app] = $data['title'];
|
|
}
|
|
else
|
|
{
|
|
$no_navbar_apps[$app] = $data['title'];
|
|
}
|
|
}
|
|
$apps += $no_navbar_apps;
|
|
unset($app); unset($data);
|
|
}
|
|
|
|
/**
|
|
* Stylite jdots template
|
|
*/
|
|
$GLOBALS['settings'] = array(
|
|
'prefssection' => array(
|
|
'type' => 'section',
|
|
'title' => lang('Preferences for the %1 template set','Stylite'),
|
|
'no_lang'=> true,
|
|
'xmlrpc' => False,
|
|
'admin' => False,
|
|
),
|
|
'show_generation_time' => array(
|
|
'type' => 'check',
|
|
'label' => 'Show page generation time',
|
|
'name' => 'show_generation_time',
|
|
'help' => 'Show page generation time on the bottom of the page?',
|
|
'xmlrpc' => False,
|
|
'admin' => False,
|
|
'forced' => false,
|
|
),
|
|
'app_specific_sidebar_width' => array(
|
|
'type' => 'check',
|
|
'label' => 'Sidebar width stored for each application',
|
|
'name' => 'app_specific_sidebar_width',
|
|
'help' => 'When set, the width of the sidebar menu is not stored globaly but independently for each application',
|
|
'xmlrpc' => false,
|
|
'admin' => false,
|
|
'default'=> '0',
|
|
),
|
|
'open_tabs' => array(
|
|
'type' => 'multiselect',
|
|
'label' => 'Open application tabs',
|
|
'name' => 'open_tabs',
|
|
'values' => $apps,
|
|
'help' => 'Allows to set a default or force the open application tabs.',
|
|
'xmlrpc' => True,
|
|
'admin' => False,
|
|
'default' => 'addressbook,calendar',
|
|
),
|
|
'navbar_format' => false, // not used in JDots (defined in common prefs)
|
|
'default_app' => false, // not used in JDots, as we can have multiple tabs open ...
|
|
);
|
|
unset($apps);
|