public static function htmlTableRow($level, $row) { $html = '<tr>'; $html .= '<td><input type="checkbox" class="i-checks" name="post_id[]" value="' . $row->id . '"></td>'; $html .= '<td><a href="' . Site::$url . ADMIN_DIR . '/' . INDEX_FILE . '/pages/edit/' . $row->id . '">' . Site::htmlSymbol('— ', $level) . $row->title . '</a></td>'; $html .= '<td><a href="' . Site::$url . ADMIN_DIR . '/' . INDEX_FILE . '/pages/?author=' . $row->author . '">' . $row->author . '</a></td>'; $html .= '<td>1</td>'; $html .= '<td>' . Localize::dateFormat($row->date) . ' <br />' . (!$row->status ? Site::lang()['globals']['UNPUBLISHED'] : Site::lang()['globals']['PUBLISHED']) . '</td>'; $html .= '</tr>'; return $html; }
public static function lang() { return Site::lang(); }