Changeset 116

Show
Ignore:
Timestamp:
01/06/05 10:14:27 (4 years ago)
Author:
davea
Message:

Blog entries as now in tabular form, partial resolution for #10

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • admin.lib.php

    r115 r116  
    478478                else { 
    479479                        if($title){ 
    480                                 echo "<div class=\"td\"><h2>"._("Edit Entries")."</h2>\n"; 
    481                         } 
    482                         echo "<ul>\n"; 
     480                                echo "<div class=\"entry\"><h2>"._("Edit Entries")."</h2>\n"; 
     481                        } 
     482                        echo "<table class=\"td\">\n\t<tr>\n\t\t<th>Date</th>\n\t\t<th>Title</th>\n\t</tr>\n"; 
    483483                        while($row = db_getrow($result)){ 
    484                         echo "<li>".strftime('%c', strtotime($row['timestamp']))." <a href=\"".$this->adminPath."update/".$row['shortsubject']."\">".$row['subject']."</a></li>\n"; 
    485                         } 
    486                         echo "</ul>\n"; 
     484                        echo "\t<tr>\n\t\t<td>".strftime('%c', strtotime($row['timestamp']))."</td>\n\t\t<td><a href=\"".$this->adminPath."update/".$row['shortsubject']."\">".$row['subject']."</a></td>\n\t</tr>\n"; 
     485                        } 
     486                        echo "</table\n"; 
    487487                        if($title) { 
    488488                                echo "</div>\n";