Create a Localization Category for config variables, and move the Province/State, Postal/Zip there

Add new config variables for dateformat and timeformat
This commit is contained in:
james 2008-08-18 21:33:30 +00:00
parent fca09d86c0
commit 3d33d976c3
2 changed files with 8 additions and 1 deletions

View File

@ -1 +1 @@
109
110

7
db/db.update.110.sql Normal file
View File

@ -0,0 +1,7 @@
UPDATE `config` SET category='Localization', ord='100' WHERE var='provincestate';
UPDATE `config` SET category='Localization', ord='110' WHERE var='postalzip';
INSERT INTO `config` ( `var` , `val` , `category` , `type` , `type_values` , `ord` , `description` , `year`) VALUES (
'dateformat', 'Y-m-d', 'Localization', 'text', '', '200', 'Date format (<a href="http://www.php.net/manual/en/function.date.php" target="_blank">formatting options</a>)', '-1');
INSERT INTO `config` ( `var` , `val` , `category` , `type` , `type_values` , `ord` , `description` , `year`) VALUES (
'timeformat', 'H:i:s', 'Localization', 'text', '', '210', 'Time format (<a href="http://www.php.net/manual/en/function.date.php" target="_blank">formatting options</a>)', '-1');