0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: site.php
<?php // (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: site.php 33195 2011-03-02 17:43:40Z changi67 $ function prefs_site_list() { return array ( 'site_closed' => array( 'name' => tra('Close site (except for those with permission)'), 'description' => tra('Close site (except for those with permission)'), 'type' => 'flag', 'perspective' => false, ), 'site_closed_msg' => array( 'name' => tra('Message to display'), 'description' => tra('Message to display'), 'type' => 'text', 'perspective' => false, 'dependencies' => array( 'site_closed', ), ), 'site_busy_msg' => array( 'name' => tra('Message to display'), 'description' => tra('Message to display'), 'type' => 'text', 'perspective' => false, 'dependencies' => array( 'use_load_threshold', ), ), 'site_crumb_seper' => array( 'name' => tra('Locations (breadcrumbs)'), 'description' => tra('Locations (breadcrumbs)'), 'type' => 'text', 'size' => '5', ), 'site_nav_seper' => array( 'name' => tra('Choices'), 'type' => 'text', 'size' => '5', ), 'site_title_location' => array( 'name' => tra('Site title location'), 'description' => tra('Location of the site title in the browser title bar relative to the current page\'s descriptor.'), 'type' => 'list', 'options' => array( 'after' => tra('After'), 'before' => tra('Before'), 'none' => tra('None'), ), ), 'site_title_breadcrumb' => array( 'name' => tra('Browser title display mode'), 'description' => tra('When breadcrumbs are used, method in which the browser title should be displayed.'), 'type' => 'list', 'options' => array( 'invertfull' => tra('Most specific first'), 'fulltrail' => tra('Least specific first (site)'), 'pagetitle' => tra('Current only'), 'desc' => tra('Description'), ), ), 'site_favicon' => array( 'name' => tra('Favicon icon file name'), 'type' => 'text', 'size' => '15', ), 'site_favicon_type' => array( 'name' => tra('Favicon icon MIME type'), 'type' => 'list', 'options' => array( 'image/png' => tra('image/png'), 'image/bmp' => tra('image/bmp'), 'image/x-icon' => tra('image/x-icon'), ), ), 'site_terminal_active' => array( 'name' => tra('Site Terminal'), 'description' => tra('Allows to direct users to a specific perspective depending on the origin IP address. Can be used inside intranets to use different configurations for users depending on their departements or discriminate people in web contexts. Unspecified IPs will fall back to default behavior, including multi-domain handling. Manually selected perspectives take precedence over this.'), 'type' => 'flag', 'dependencies' => array( 'feature_perspective', ), ), 'site_terminal_config' => array( 'name' => tra('Site Terminal Configuration'), 'description' => tra('Provides the mapping from subnets to perspective.'), 'type' => 'textarea', 'perspective' => false, 'size' => 10, 'hint' => tra('One per line. Network prefix in CIDR notation (address/mask size), separated by comma with the perspective ID.') . ' ' . tra('Example:') . ' 192.168.12.0/24,12', ), ); }