0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: short.php
<?php // (c) Copyright 2002-2015 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: short.php 55709 2015-06-16 14:01:11Z jonnybradley $ function prefs_short_list() { return array( 'short_date_format' => array( 'name' => tra('Short date format'), 'type' => 'text', 'size' => '30', 'default' => '%Y-%m-%d', //get_strings tra("%Y-%m-%d"); 'tags' => array('basic'), ), 'short_time_format' => array( 'name' => tra('Short time format'), 'type' => 'text', 'size' => '30', 'default' => '%H:%M', //get_strings tra("%H:%M"); 'tags' => array('basic'), ), 'short_date_format_js' => array( 'name' => tra('Short JavaScript date format'), 'description' => tra('Used in jQuery-UI date picker fields'), 'help' => 'http://api.jqueryui.com/datepicker/#utility-formatDate', 'type' => 'text', 'size' => '30', 'default' => 'yy-mm-dd', //get_strings tra("yy-mm-dd"); ), 'short_time_format_js' => array( 'name' => tra('Short JavaScript time format'), 'description' => tra('Used in jQuery-UI datetime picker fields'), 'help' => 'http://trentrichardson.com/examples/timepicker/#tp-formatting', 'type' => 'text', 'size' => '30', 'default' => 'HH:mm', //get_strings tra("HH:mm"); ), //get_strings tra("%Y-%m-%d %H:%M"); ); }