diff --git a/get_data.lib.php b/get_data.lib.php index 220ec06..73ef889 100644 --- a/get_data.lib.php +++ b/get_data.lib.php @@ -1,11 +1,7 @@ diff --git a/navigation.lib.php b/navigation.lib.php index 32de564..6c28cee 100644 --- a/navigation.lib.php +++ b/navigation.lib.php @@ -32,10 +32,10 @@ function sort_options($link) { array_push($options, $display); } else { $href = ''.$display.''; array_push($options, $href); @@ -69,13 +69,13 @@ function get_pager() { // Are there later stories? Go backwards to them $string .= ''; if ($start > 0) { - $string .= "\n".'toWords($show) : $show)." articles"; + $articles = ($show == 1) ? "article" : ($nw ? $nw->toWords((int)$show) : (int)$show)." articles"; $string .= '">« Next '.$articles.''; } $string .= "\n"; @@ -83,13 +83,13 @@ function get_pager() { // Are there earlier stories? Go forwards to them $string .= "\n".''; if ($prev < get_count()) { - $string .= "\n".'toWords($show) : $show)." articles"; + $articles = ($show == 1) ? "article" : ($nw ? $nw->toWords((int)$show) : (int)$show)." articles"; $string .= '">Previous '.$articles.' »'; } $string .= "\n"; diff --git a/publish/addeditor.php b/publish/addeditor.php index ab30ef4..a5c4c17 100644 --- a/publish/addeditor.php +++ b/publish/addeditor.php @@ -46,10 +46,10 @@ if (!isset($_SESSION['editor'])) {

add editor

-

Added editor

+

Added editor

-
+" method="post">
diff --git a/publish/choose.inc.php b/publish/choose.inc.php index a690144..0400492 100644 --- a/publish/choose.inc.php +++ b/publish/choose.inc.php @@ -16,7 +16,7 @@ if ($queue) { ?>

To view articles in the queue, click here.

- + diff --git a/publish/login.php b/publish/login.php index 969e427..3a7fe43 100644 --- a/publish/login.php +++ b/publish/login.php @@ -79,7 +79,7 @@ if ($denied) echo "

Access denied. Please try again.

\n"; ?> -
" method="post"> +" method="post">
diff --git a/publish/preview.inc.php b/publish/preview.inc.php index 8c34c7b..378fb84 100644 --- a/publish/preview.inc.php +++ b/publish/preview.inc.php @@ -1,5 +1,5 @@ for="title">Title:
- +  *
for="author">Author:
- +  *
for="email">Email address:
- +
@@ -52,7 +52,7 @@ if (count($validate) !== 0) {
(To get line-breaks—as in poetry—instead of paragraph breaks, hit shift-enter instead of enter.)
@@ -62,7 +62,7 @@ if (isset($file_src) || isset($img)) { if (isset($file_src)) { echo ' '; } else { - echo ' '; + echo ' '; } echo '
If you are happy with the image above, click Submit. Otherwise, upload a new image:
'; } else { @@ -89,16 +89,16 @@ if (isset($file_src) || isset($img)) { for="comments">Comments:
- +
- +
- - + +