Ignore:
Timestamp:
2009-07-05T08:41:16Z (6 years ago)
Author:
Xuefer
Message:

merged r514-r539 from trunk

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

  • branches/1.3/coverager/coverager.tpl.php

    r600 r623  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    22<html xmlns="http://www.w3.org/1999/xhtml">
    33<head>
     
    5656    $l_tds = _T("TODO");
    5757    return <<<EOS
    58     <table align="center" cellpadding="2" cellspacing="0" border="0" class="cycles">
     58<div class="table-center">
     59    <table cellpadding="2" cellspacing="0" border="0" class="cycles center">
    5960    <tr>
    6061        <th>{$l_dir}</th><th>{$l_per}</th><th>{$l_hit}</th><th>{$l_lns}</th><th>{$l_tds}</th>
     
    105106    return <<<EOS
    106107    </table>
     108</div>
    107109EOS;
    108110}
     
    117119    $l_lns = _T("Lines");
    118120    return <<<EOS
    119     <br>
    120     <table align="center" cellpadding="2" cellspacing="0" border="0" class="cycles">
     121<div class="center-table">
     122    <table cellpadding="2" cellspacing="0" border="0" class="cycles center">
    121123    <tr>
    122124        <th>{$l_fil}</th><th>{$l_per}</th><th>{$l_hit}</th><th>{$l_lns}</th>
     
    162164    return <<<EOS
    163165    </table>
     166</div>
    164167EOS;
    165168}
     
    172175    $path_html = htmlspecialchars($path);
    173176    echo <<<EOS
    174     <a href="?">$l_root</a> $path<br />
     177    <div>
     178        <a href="?">$l_root</a> $path<br />
     179    </div>
    175180EOS;
    176181    echo dir_head($dirinfo);
     
    199204    $dir_html = htmlspecialchars($dir);
    200205    echo <<<EOS
    201     <a href="?">$l_root</a> <a href="?path={$dir_url}">{$dir_html}</a>/<strong>{$filename}</strong><br />
     206    <div>
     207        <a href="?">$l_root</a> <a href="?path={$dir_url}">{$dir_html}</a>/<strong>{$filename}</strong><br />
     208    </div>
    202209EOS;
    203210
     
    209216        $tplfile_html = htmlspecialchars($tplfile);
    210217        echo <<<EOS
    211         <a href="#tpl">{$tplfile_html}</a><br />
     218        <div>
     219            <a href="#tpl">{$tplfile_html}</a><br />
     220        </div>
    212221EOS;
    213222    }
     
    216225    }
    217226    echo <<<EOS
    218     <pre class="code"><ol>{$filecov}</ol></pre>
     227    <div class="code">
     228        <ol>{$filecov}</ol>
     229    </div>
    219230EOS;
    220231    if ($tplfile) {
    221232        echo <<<EOS
    222233    <a name="tpl">{$tplfile}</a>
    223     <pre class="code"><ol>{$tplcov}</ol></pre>
     234    <div class="code">
     235        <ol>{$tplcov}</ol>
     236    </div>
    224237EOS;
    225238    }
Note: See TracChangeset for help on using the changeset viewer.