diff options
author | gweltas <gweltas@piwigo.org> | 2004-11-18 16:07:06 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2004-11-18 16:07:06 +0000 |
commit | f39c3af29b7d44fa11b0670bb8ad6f7e9b7c53d0 (patch) | |
tree | 32a8d21167c41094c723b690789c446fb5521704 /admin/admin_phpinfo.php | |
parent | af0b3d5f57ab9b065a5be5cf1120eccd45ea6cf7 (diff) |
New CSS usage.
git-svn-id: http://piwigo.org/svn/trunk@609 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/admin_phpinfo.php')
-rw-r--r-- | admin/admin_phpinfo.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/admin_phpinfo.php b/admin/admin_phpinfo.php index af5806774..4fc74b962 100644 --- a/admin/admin_phpinfo.php +++ b/admin/admin_phpinfo.php @@ -48,7 +48,7 @@ preg_match_all('#<body[^>]*>(.*)</body>#siU', $phpinfo, $output); switch ($layout) { case 'old': - $output = preg_replace('#<table#', '<table class="table1"', $output[1][0]); + $output = preg_replace('#<table#', '<table class="table2"', $output[1][0]); $output = preg_replace('# bgcolor="\#(\w){6}"#', '', $output); $output = preg_replace('#(\w),(\w)#', '\1, \2', $output); $output = preg_replace('#border="0" cellpadding="3" cellspacing="1" width="600"#', 'border="0" cellspacing="1" cellpadding="4" width="95%"', $output); @@ -63,13 +63,13 @@ switch ($layout) $output = preg_replace('#<h2 align="center">#i', '<h2>', $output); break; case 'new': - $output = preg_replace('#<table#', '<table class="table1" align="center"', $output[1][0]); + $output = preg_replace('#<table#', '<table class="table2"', $output[1][0]); $output = preg_replace('#(\w),(\w)#', '\1, \2', $output); - $output = preg_replace('#border="0" cellpadding="3" width="600"#', 'border="0" cellspacing="1" cellpadding="4" width="95%"', $output); + $output = preg_replace('#border="0" cellpadding="3" width="600"#', 'border="0" cellspacing="1" cellpadding="2" width="95%"', $output); $output = preg_replace('#<tr class="v"><td>(.*?<a .*?</a>)(.*?)</td></tr>#s', '<tr class="throw"><td><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td>\2</td><td>\1</td></tr></table></td></tr>', $output); $output = preg_replace('#<td>#', '<td style="background-color: #444444;text-align:center;">', $output); $output = preg_replace('#<th>#', '<th class="throw">', $output); - $output = preg_replace('#class="e"#', 'class="row1" nowrap="nowrap"', $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('#<hr />#', '', $output); |