XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
setting.php
1<?php
2
3//%%%%% TIME FORMAT SETTINGS %%%%%
4if (!defined('_DATESTRING')) {
5 define('_DATESTRING', 'Y/n/j G:i:s');
6}
7if (!defined('_MEDIUMDATESTRING')) {
8 define('_MEDIUMDATESTRING', 'Y/n/j G:i');
9}
10if (!defined('_SHORTDATESTRING')) {
11 define('_SHORTDATESTRING', 'Y/n/j');
12}
13define('_JSDATEPICKSTRING' , 'yy-mm-dd');
14define('_PHPDATEPICKSTRING' , 'Y-m-d');
15
16/*
17The following characters are recognized in the format string:
18a - "am" or "pm"
19A - "AM" or "PM"
20d - day of the month, 2 digits with leading zeros; i.e. "01" to "31"
21D - day of the week, textual, 3 letters; i.e. "Fri"
22F - month, textual, long; i.e. "January"
23h - hour, 12-hour format; i.e. "01" to "12"
24H - hour, 24-hour format; i.e. "00" to "23"
25g - hour, 12-hour format without leading zeros; i.e. "1" to "12"
26G - hour, 24-hour format without leading zeros; i.e. "0" to "23"
27i - minutes; i.e. "00" to "59"
28j - day of the month without leading zeros; i.e. "1" to "31"
29l (lowercase 'L') - day of the week, textual, long; i.e. "Friday"
30L - boolean for whether it is a leap year; i.e. "0" or "1"
31m - month; i.e. "01" to "12"
32n - month without leading zeros; i.e. "1" to "12"
33M - month, textual, 3 letters; i.e. "Jan"
34s - seconds; i.e. "00" to "59"
35S - English ordinal suffix, textual, 2 characters; i.e. "th", "nd"
36t - number of days in the given month; i.e. "28" to "31"
37T - Timezone setting of this machine; i.e. "MDT"
38U - seconds since the epoch
39w - day of the week, numeric, i.e. "0" (Sunday) to "6" (Saturday)
40Y - year, 4 digits; i.e. "1999"
41y - year, 2 digits; i.e. "99"
42z - day of the year; i.e. "0" to "365"
43Z - timezone offset in seconds (i.e. "-43200" to "43200")
44*/
45
46
47//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%%
48if (!defined('_CHARSET')) {
49 define('_CHARSET', 'UTF-8');
50}
51if (!defined('_LANGCODE')) {
52 define('_LANGCODE', 'ru');
53}
54// change 0 to 1 if this language is a multi-bytes language
55if (!defined('XOOPS_USE_MULTIBYTES')) {
56 define('XOOPS_USE_MULTIBYTES', '0');
57}
58
59
60//%%%%% REQUSTED DATA SETTINGS %%%%%
61if (!defined('_REQUESTED_DATA_NAME')) {
62 define('_REQUESTED_DATA_NAME', 'requested_data_name');
63}
64if (!defined('_REQUESTED_ACTION_NAME')) {
65 define('_REQUESTED_ACTION_NAME', 'requested_action_name');
66}
67if (!defined('_REQUESTED_DATA_ID')) {
68 define('_REQUESTED_DATA_ID', 'requested_data_id');
69}