A number of changes to the CSS, page layout (moved to HTML5), and updated the editor.

This commit is contained in:
tim
2015-11-21 21:54:02 +02:00
parent a00c1b4c9d
commit f3fd6fd3f1
662 changed files with 6051 additions and 71590 deletions
+3 -2
View File
@@ -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 .= '&amp;show='.$show;
if (isset($_GET['sort'])) $string .= '&amp;sort='.$sort;
if (isset($_GET['order'])) $string .= '&amp;order='.$order;
$articles = ($show == 1) ? "article" : Numbers_Words::toWords($show)." articles";
$articles = ($show == 1) ? "article" : $nw->toWords($show)." articles";
$string .= '">&laquo; Next '.$articles.'</a></span>';
}
// Are there earlier stories?
@@ -83,7 +84,7 @@ function get_pager() {
if (isset($_GET['show'])) $string .= '&amp;show='.$show;
if (isset($_GET['sort'])) $string .= '&amp;sort='.$sort;
if (isset($_GET['order'])) $string .= '&amp;order='.$order;
$articles = ($show == 1) ? "article" : Numbers_Words::toWords($show)." articles";
$articles = ($show == 1) ? "article" : $nw->toWords($show)." articles";
$string .= '">Previous '.$articles.' &raquo;</a></span>';
}
$string .= "</div>\n";