Changeset 609
- Timestamp:
- Nov 18, 2004, 5:07:06 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/admin_phpinfo.php
r593 r609 49 49 { 50 50 case 'old': 51 $output = preg_replace('#<table#', '<table class="table 1"', $output[1][0]);51 $output = preg_replace('#<table#', '<table class="table2"', $output[1][0]); 52 52 $output = preg_replace('# bgcolor="\#(\w){6}"#', '', $output); 53 53 $output = preg_replace('#(\w),(\w)#', '\1, \2', $output); … … 64 64 break; 65 65 case 'new': 66 $output = preg_replace('#<table#', '<table class="table 1" align="center"', $output[1][0]);66 $output = preg_replace('#<table#', '<table class="table2"', $output[1][0]); 67 67 $output = preg_replace('#(\w),(\w)#', '\1, \2', $output); 68 $output = preg_replace('#border="0" cellpadding="3" width="600"#', 'border="0" cellspacing="1" cellpadding=" 4" width="95%"', $output);68 $output = preg_replace('#border="0" cellpadding="3" width="600"#', 'border="0" cellspacing="1" cellpadding="2" width="95%"', $output); 69 69 $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); 70 70 $output = preg_replace('#<td>#', '<td style="background-color: #444444;text-align:center;">', $output); 71 71 $output = preg_replace('#<th>#', '<th class="throw">', $output); 72 $output = preg_replace('#class="e"#', 'class="row1" nowrap="nowrap"', $output);72 $output = preg_replace('#class="e"#', 'class="row1"', $output); 73 73 $output = preg_replace('#class="v"#', 'class="row2"', $output); 74 74 $output = preg_replace('# class="h"#', '', $output);
Note: See TracChangeset
for help on using the changeset viewer.