diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-07-10 20:27:11 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-07-10 20:27:11 +0000 |
commit | 82d1fce1124a497dc1b78cf88dbc29e2eb1f6ae5 (patch) | |
tree | 4fdbc2b52e74d4d4f8f706190d889b299174293f /h-source/Application/Views/if_page_deleted.php | |
parent | 51e075bda53a612cdd793c4ca3d082323c1bd479 (diff) |
administrators can now see the list of pages that have to be approved
Diffstat (limited to 'h-source/Application/Views/if_page_deleted.php')
-rw-r--r-- | h-source/Application/Views/if_page_deleted.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/h-source/Application/Views/if_page_deleted.php b/h-source/Application/Views/if_page_deleted.php index 1e2ab2d..e60eb78 100644 --- a/h-source/Application/Views/if_page_deleted.php +++ b/h-source/Application/Views/if_page_deleted.php @@ -20,7 +20,7 @@ // along with h-source. If not, see <http://www.gnu.org/licenses/>. ?> - <?php if ($isDeleted) { ?> + <?php if ($isDeleted and $isApproved) { ?> <div class="notebooks_viewall"> <div class="revision_alert"> @@ -47,5 +47,13 @@ <?php } ?> </div> </div> + + <?php } else if ($isDeleted and !$isApproved) { ?> + + <div class="notebooks_viewall"> + <div class="revision_alert"> + <?php echo gtext('The device page has to be approved by an administrator of the website'); ?> + </div> + </div> <?php } ?>
\ No newline at end of file |