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