Changeset 609


Ignore:
Timestamp:
Nov 18, 2004, 5:07:06 PM (20 years ago)
Author:
gweltas
Message:

New CSS usage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/admin_phpinfo.php

    r593 r609  
    4949{
    5050  case 'old':
    51     $output = preg_replace('#<table#', '<table class="table1"', $output[1][0]);
     51    $output = preg_replace('#<table#', '<table class="table2"', $output[1][0]);
    5252    $output = preg_replace('# bgcolor="\#(\w){6}"#', '', $output);
    5353    $output = preg_replace('#(\w),(\w)#', '\1, \2', $output);
     
    6464    break;
    6565  case 'new':
    66     $output = preg_replace('#<table#', '<table class="table1" align="center"', $output[1][0]);
     66    $output = preg_replace('#<table#', '<table class="table2"', $output[1][0]);
    6767    $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);
    6969    $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);
    7070    $output = preg_replace('#<td>#', '<td style="background-color: #444444;text-align:center;">', $output);
    7171        $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);
    7373    $output = preg_replace('#class="v"#', 'class="row2"', $output);
    7474    $output = preg_replace('# class="h"#', '', $output);
Note: See TracChangeset for help on using the changeset viewer.