diff --git a/etc_cache.php b/etc_cache.php index adb12a2..41c82df 100644 --- a/etc_cache.php +++ b/etc_cache.php @@ -253,9 +253,33 @@ public function tab($event, $step) { $rs = safe_rows('id, time, url, reset, filter, IF(LENGTH(text)>512, CONCAT(LEFT(text, 504), " ..."), text) AS text', 'etc_cache', '1 ORDER BY time DESC'); $now = date_create('now'); - pagetop("etc_cache", "Cache settings"); - echo '
'.dLink('etc_cache', 'save', 'save', 'Delete').' | id | time | url | reset | filter | '.dLink('etc_cache', 'save', 'save', 'Delete').' | '. + n.'ID | '. + n.''.gTxt('time').' | '. + n.'URL | '. + n.''.gTxt('reset').' | '. + n.'Filter | '. + n.'Actions | ' + ). + n.tag_end('thead'). + n.tag_start('tbody'); foreach($rs as $row) { extract($row); @@ -265,24 +289,31 @@ public function tab($event, $step) { $days = $diff->format('%d'); $diff = (!$days ? '' : "$days day".($days == 1 ? '' : 's'). ' ').$diff->format('%H:%I hours old'); - echo ''; } - echo '
---|