Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23158/include
Modified Files:
functions_installer.inc.php
Log Message:
Display current webserver time in timezone offset config var, for users to easier see the difference
Index: functions_installer.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_installer.inc.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- functions_installer.inc.php 9 Feb 2005 08:43:26 -0000 1.36
+++ functions_installer.inc.php 9 Feb 2005 10:19:13 -0000 1.37
@@ -214,16 +214,14 @@
function serendipity_replaceEmbeddedConfigVars ($s) {
return str_replace(
array(
- '[USERLEVEL_ADMIN]',
- '[USERLEVEL_CHIEF]',
- '[USERLEVEL_EDITOR]'
+ '%clock%'
),
array(
- USERLEVEL_ADMIN,
- USERLEVEL_CHIEF,
- USERLEVEL_EDITOR
- ), $s);
+ date('H:i')
+ ),
+
+ $s);
}
function serendipity_guessInput($type, $name, $value='', $default='') {
@@ -375,7 +373,6 @@
if (in_array('probeDefault', $item['flags'])) {
$item['default'] = serendipity_probeInstallation($item['var']);
}
-
?>
<tr>
<td style="border-bottom: 1px #000000 solid" align="left" valign="top" width="75%">
|