[Comoblog-commit] comoblog/admin post_add.php,1.4,1.5 post_edit.php,1.4,1.5
Status: Inactive
Brought to you by:
markwallis
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-08 13:14:32
|
Update of /cvsroot/comoblog/comoblog/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21149 Modified Files: post_add.php post_edit.php Log Message: Add locale to post_add and post_edit Index: post_add.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/post_add.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- post_add.php 8 Oct 2005 12:26:46 -0000 1.4 +++ post_add.php 8 Oct 2005 13:14:24 -0000 1.5 @@ -3,6 +3,9 @@ $tpl = new XTemplate('templates/post_add.tpl.htm'); +// date localization +setlocale (LC_TIME, $SET_LOCALE); + if (strtoupper($_SERVER['REQUEST_METHOD'] == 'POST')) { $errors = array(); Index: post_edit.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/post_edit.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- post_edit.php 8 Oct 2005 12:26:46 -0000 1.4 +++ post_edit.php 8 Oct 2005 13:14:24 -0000 1.5 @@ -1,6 +1,9 @@ <?php require ('include/admin.inc.php'); +// date localization +setlocale (LC_TIME, $SET_LOCALE); + if (strtoupper($_SERVER['REQUEST_METHOD'] == 'POST')) { $errors = array(); |