From 149edc131d7cac50dfac0a9d00c0a36c4355ec9a Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 15 Aug 2005 22:01:00 +0000 Subject: - new : introduction page to administration section. This page gives informations about PhpWebGallery version, PHP version, MySQL version, gallery database informations (number of categories, elements, users, comments). Ability to request phpwebgallery.net for upgrade. - deletion : of obsolete admin/admin_phpinfo.php page replaced by a link in introduction page. git-svn-id: http://piwigo.org/svn/trunk@814 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/admin_phpinfo.php | 82 ------------------------------------------------- 1 file changed, 82 deletions(-) delete mode 100644 admin/admin_phpinfo.php (limited to 'admin/admin_phpinfo.php') diff --git a/admin/admin_phpinfo.php b/admin/admin_phpinfo.php deleted file mode 100644 index 8b7c3230e..000000000 --- a/admin/admin_phpinfo.php +++ /dev/null @@ -1,82 +0,0 @@ -]*>(.*)#siU', $phpinfo, $output); - -switch ($layout) -{ - case 'old': - $output = preg_replace('#(.*?)(.*?)#s', '
\2\1
', $output); - $output = preg_replace('#(.*?)#', '\1', $output); - $output = preg_replace('##', '', $output); - $output = preg_replace('##', '', $output); - $output = preg_replace('#valign="middle"#', '', $output); - $output = preg_replace('##', '', $output); - $output = preg_replace('##', '', $output); - $output = preg_replace('#

#i', '

', $output); - $output = preg_replace('#

#i', '

', $output); - break; - case 'new': - $output = preg_replace('#(.*?)(.*?)#s', '
\2\1
', $output); - $output = preg_replace('##', '', $output); - $output = preg_replace('##', '', $output); - $output = preg_replace('#class="e"#', 'class="row1"', $output); - $output = preg_replace('#class="v"#', 'class="row2"', $output); - $output = preg_replace('# class="h"#', '', $output); - $output = preg_replace('#
#', '', $output); - preg_match_all('#
(.*)
#siU', $output, $output); - $output = $output[1][0]; - break; -} -$template->assign_var('ADMIN_CONTENT',$output); - -?> \ No newline at end of file -- cgit v1.2.3