From d4ba6fb5cbbd5bf1e040be516009afd68d954571 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 9 Jun 2011 06:17:26 +0000 Subject: administrators can now see the deleted pages --- h-source/Application/Views/My/panel.php | 2 +- h-source/Application/Views/Notebooks/page.php | 5 +++-- h-source/Application/Views/moderator_dialog.php | 5 +++++ h-source/Application/Views/page.php | 5 +++-- h-source/Application/Views/top_left.php | 3 +++ 5 files changed, 15 insertions(+), 5 deletions(-) (limited to 'h-source/Application/Views') diff --git a/h-source/Application/Views/My/panel.php b/h-source/Application/Views/My/panel.php index d23d0bd..fd70a98 100644 --- a/h-source/Application/Views/My/panel.php +++ b/h-source/Application/Views/My/panel.php @@ -28,7 +28,7 @@
- Your account has been blocked by a moderator of the website. You can neither insert/modify devices nor submit new issues or messages until some other moderator un-block your account. + Your account has been blocked by an administrator of the website. You can neither insert/modify devices nor submit new issues or messages until some other moderator un-block your account.
diff --git a/h-source/Application/Views/Notebooks/page.php b/h-source/Application/Views/Notebooks/page.php index fd8389a..66c7506 100644 --- a/h-source/Application/Views/Notebooks/page.php +++ b/h-source/Application/Views/Notebooks/page.php @@ -20,14 +20,15 @@ // along with h-source. If not, see . ?> - + action,'view') === 0) ? 'hardware' : 'revisions'; + $displayClass = ($isDeleted and $isadmin) ? 'display_none' : null; ?> -
+
action,'revision') === 0) { ?> diff --git a/h-source/Application/Views/moderator_dialog.php b/h-source/Application/Views/moderator_dialog.php index 94b581c..3b76c4b 100644 --- a/h-source/Application/Views/moderator_dialog.php +++ b/h-source/Application/Views/moderator_dialog.php @@ -38,6 +38,11 @@ $(document).ready(function() { + + $(".hidden_message_view_page").click(function(){ + $(".display_none").css("display","block"); + return false; + }); $(".hidden_message_view_details").click(function(){ diff --git a/h-source/Application/Views/page.php b/h-source/Application/Views/page.php index ef8b3a2..6fe3c2f 100644 --- a/h-source/Application/Views/page.php +++ b/h-source/Application/Views/page.php @@ -20,14 +20,15 @@ // along with h-source. If not, see . ?> - + action,'view') === 0) ? 'hardware' : 'revisions'; + $displayClass = ($isDeleted) ? 'display_none' : null; ?> -
+
action,'revision') === 0) { ?> diff --git a/h-source/Application/Views/top_left.php b/h-source/Application/Views/top_left.php index e547f08..42e621f 100644 --- a/h-source/Application/Views/top_left.php +++ b/h-source/Application/Views/top_left.php @@ -45,6 +45,9 @@
device
+ + "> | + ">view details
-- cgit v1.2.3