<?php
// (c) Copyright 2002-2016 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 57966 2016-03-17 20:05:33Z 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");
	);
}
