A number of changes to the CSS, page layout (moved to HTML5), and updated the editor.
This commit is contained in:
+3
-2
@@ -64,6 +64,7 @@ function get_pager() {
|
||||
$queue_url = $queue ? 1 : 0;
|
||||
|
||||
$string = '<div class="pager">';
|
||||
$nw = new Numbers_Words();
|
||||
// Are there later stories?
|
||||
if ($start > 0) {
|
||||
$string .= "\n".'<span class="next"><a href="'.$link.'?start='.$next;
|
||||
@@ -72,7 +73,7 @@ function get_pager() {
|
||||
if (isset($_GET['show'])) $string .= '&show='.$show;
|
||||
if (isset($_GET['sort'])) $string .= '&sort='.$sort;
|
||||
if (isset($_GET['order'])) $string .= '&order='.$order;
|
||||
$articles = ($show == 1) ? "article" : Numbers_Words::toWords($show)." articles";
|
||||
$articles = ($show == 1) ? "article" : $nw->toWords($show)." articles";
|
||||
$string .= '">« Next '.$articles.'</a></span>';
|
||||
}
|
||||
// Are there earlier stories?
|
||||
@@ -83,7 +84,7 @@ function get_pager() {
|
||||
if (isset($_GET['show'])) $string .= '&show='.$show;
|
||||
if (isset($_GET['sort'])) $string .= '&sort='.$sort;
|
||||
if (isset($_GET['order'])) $string .= '&order='.$order;
|
||||
$articles = ($show == 1) ? "article" : Numbers_Words::toWords($show)." articles";
|
||||
$articles = ($show == 1) ? "article" : $nw->toWords($show)." articles";
|
||||
$string .= '">Previous '.$articles.' »</a></span>';
|
||||
}
|
||||
$string .= "</div>\n";
|
||||
|
||||
Reference in New Issue
Block a user