From 3495d30775a3d9c104fc46ea24f5fd6ee7d69600 Mon Sep 17 00:00:00 2001 From: rub Date: Fri, 9 Mar 2007 22:52:22 +0000 Subject: Add DateTime on administration introduction page (Useful to help user on the forum, ...) Move history configuration in a other tab. Use translation on picture hint (Kb). Show hint oh the menu text (not only on counter) git-svn-id: http://piwigo.org/svn/trunk@1884 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/intro.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'admin/intro.php') diff --git a/admin/intro.php b/admin/intro.php index 5e8e83f9a..6ff2470ed 100644 --- a/admin/intro.php +++ b/admin/intro.php @@ -184,6 +184,9 @@ SELECT COUNT(*) ;'; list($nb_comments) = mysql_fetch_row(pwg_query($query)); +$php_current_timestamp = date("Y-m-d H:i:s"); +list($db_current_timestamp) = mysql_fetch_row(pwg_query('SELECT CURRENT_TIMESTAMP;')); + $template->assign_vars( array( 'PWG_VERSION' => PHPWG_VERSION, @@ -205,7 +208,9 @@ $template->assign_vars( 'DB_GROUPS' => sprintf(l10n('%d groups'), $nb_groups), 'DB_COMMENTS' => sprintf(l10n('%d comments'), $nb_comments), 'U_CHECK_UPGRADE' => PHPWG_ROOT_PATH.'admin.php?action=check_upgrade', - 'U_PHPINFO' => PHPWG_ROOT_PATH.'admin.php?action=phpinfo' + 'U_PHPINFO' => PHPWG_ROOT_PATH.'admin.php?action=phpinfo', + 'PHP_DATATIME' => $php_current_timestamp, + 'DB_DATATIME' => $db_current_timestamp, ) ); -- cgit v1.2.3