diff options
author | patdenice <patdenice@piwigo.org> | 2008-02-29 22:08:16 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2008-02-29 22:08:16 +0000 |
commit | b2b00ba7be2d8b80cfa30aca624706162dcb7800 (patch) | |
tree | d1fdf68d397f0f399b486a5d37ccdd90d8c9ce51 /admin | |
parent | c38328da6b3bdd931c05e0a9087f0c75174f312d (diff) |
Admin intro template migrate for warm up ;-)
git-svn-id: http://piwigo.org/svn/trunk@2230 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/intro.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/intro.php b/admin/intro.php index 6014b2d19..03c5e8f9b 100644 --- a/admin/intro.php +++ b/admin/intro.php @@ -184,7 +184,7 @@ SELECT COUNT(*) ;'; list($nb_comments) = mysql_fetch_row(pwg_query($query)); -$template->assign_vars( +$template->assign( array( 'PWG_VERSION' => PHPWG_VERSION, 'OS' => PHP_OS, @@ -219,7 +219,7 @@ SELECT MIN(date_available) ;'; list($first_date) = mysql_fetch_row(pwg_query($query)); - $template->assign_block_vars( + $template->assign( 'first_added', array( 'DB_DATE' => @@ -241,7 +241,7 @@ list($nb_waiting) = mysql_fetch_row(pwg_query($query)); if ($nb_waiting > 0) { - $template->assign_block_vars( + $template->assign( 'waiting', array( 'URL' => PHPWG_ROOT_PATH.'admin.php?page=upload', @@ -260,7 +260,7 @@ list($nb_comments) = mysql_fetch_row(pwg_query($query)); if ($nb_comments > 0) { - $template->assign_block_vars( + $template->assign( 'unvalidated', array( 'URL' => PHPWG_ROOT_PATH.'admin.php?page=comments', @@ -270,7 +270,7 @@ if ($nb_comments > 0) } // Add the PhpWebGallery Official menu - $template->assign_block_vars( 'pwgmenu', pwg_URL() ); + $template->assign( 'pwgmenu', pwg_URL() ); // +-----------------------------------------------------------------------+ // | sending html code | |