From 956af776557aa5b11d51fbd636fcd33458bfe35f Mon Sep 17 00:00:00 2001 From: Brian Huisman Date: Fri, 19 May 2023 12:47:23 -0400 Subject: [PATCH] Update admin.php Add a message when there are no pages in the Page Index to list so it's less confusing than just an empty table. --- orcinus/admin.php | 86 +++++++++++++++++++++++++++-------------------- 1 file changed, 49 insertions(+), 37 deletions(-) diff --git a/orcinus/admin.php b/orcinus/admin.php index 61534ed..59c3db6 100644 --- a/orcinus/admin.php +++ b/orcinus/admin.php @@ -2434,7 +2434,7 @@ document.write(mustache.render( URL - + Showing pages $row) { ?> - - - - - -
-
-
- - Updated + if (count($_RDATA['page_index_rows'])) { + foreach ($_RDATA['page_index_rows'] as $key => $row) { ?> + + + + + +
+
+
+ + Updated +
-
- 2) { ?> + 2) { ?> + + + + Unlisted - - - Unlisted - + echo htmlspecialchars($row['priority']); + ?> + + + +

+ No pages to list. +

+