aboutsummaryrefslogtreecommitdiff
path: root/h-source
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-06-08 18:14:21 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-06-08 18:14:21 +0000
commit2f4d2fa530e8b42ffe01a4b58fd02c10a8f6174d (patch)
tree199855121ef215a1a6e794511bf396bfb51023fb /h-source
parent6c9c201e7e31e85cbe40065b8d11bdd7b60f713c (diff)
changed the layout of the admin panel for administrators and moderators
Diffstat (limited to 'h-source')
-rw-r--r--h-source/Application/Include/languages.php18
-rw-r--r--h-source/Application/Views/My/panel.php24
-rw-r--r--h-source/Public/Css/main.css39
3 files changed, 66 insertions, 15 deletions
diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php
index b91b649..6bdfc51 100644
--- a/h-source/Application/Include/languages.php
+++ b/h-source/Application/Include/languages.php
@@ -128,7 +128,7 @@ class Lang
/*0090*/"confirm the password" => "conferma la password",
/*0091*/"write the code above" => "scrivi il codice mostrato sopra",
/*0092*/"write your username" => "scrivi il tuo username",
- /*0093*/"Watch all the actions carried out by moderators" => "Guarda tutte le azioni compiute dai moderatori",
+ /*0093*/"Actions carried out by moderators" => "Azioni compiute dai moderatori",
/*0094*/"meet" => "conosci",
/*0095*/"Public profile of" => "Profilo pubblico di",
/*0096*/"See all the contributions of" => "Guarda tutti i contributi di ",
@@ -212,7 +212,7 @@ class Lang
/*0174*/"delete the wiki page" => "cancella la pagina",
/*0175*/"list of blocked pages" => "lista delle pagine bloccate",
/*0176*/"special pages" => "pagine speciali",
- /*0177*/"Watch all the actions carried out by administrators" => "Guarda tutte le azioni compiute dagli amministratori",
+ /*0177*/"Actions carried out by administrators" => "Azioni compiute dagli amministratori",
/*0178*/"No bluetooth devices found" => "Non è stato trovato alcun dispositivo bluetooth",
/*0179*/"learn how to find it" => "scopri come individuarlo",
/*0180*/"Download the xml file of all the <b>bluetooth devices</b> in the database" => "Scarica il file xml di tutti i <b>dispositivi bluetooth</b> presenti nel database",
@@ -232,6 +232,8 @@ class Lang
/*0194*/"restore the device page" => "ripristina la pagina",
/*0195*/"hide the device page" => "nascondi la pagina",
/*0196*/"Download the xml file of all the <b>scanners</b> in the database" => "Scarica il file xml di tutte le <b>scanner</b> presenti nel database",
+ /*0197*/"Special pages for administrators" => "Pagine speciali per gli amministratori",
+ /*0198*/"Special pages for moderators" => "Pagine speciali per i moderatori",
),
'es' => array
(
@@ -327,7 +329,7 @@ class Lang
/*0090*/"confirm the password" => "confirme la contraseña",
/*0091*/"write the code above" => "escriba el código mostrado superior",
/*0092*/"write your username" => "escriba su nombre de usuario",
- /*0093*/"Watch all the actions carried out by moderators" => "Ver todas las acciones efectuadas por los moderadores",
+ /*0093*/"Actions carried out by moderators" => "Acciones efectuadas por los moderadores",
/*0094*/"meet" => "conoce a",
/*0095*/"Public profile of" => "Perfil público de",
/*0096*/"See all the contributions of" => "Ver todas las contribuciones de",
@@ -411,7 +413,7 @@ class Lang
/*0174*/"delete the wiki page" => "borrar la página",
/*0175*/"list of blocked pages" => "lista de las páginas bloqueadas",
/*0176*/"special pages" => "páginas especiales",
- /*0177*/"Watch all the actions carried out by administrators" => "Observar todas las acciones realizadas por administradores",
+ /*0177*/"Actions carried out by administrators" => "Acciones realizadas por administradores",
/*0178*/"No bluetooth devices found" => "No se encontró ningún dispositivo bluetooth",
/*0179*/"learn how to find it" => "aprenda como encontrarlo",
/*0180*/"Download the xml file of all the <b>bluetooth devices</b> in the database" => "Descargue el archivo xml de todas los <b>dispositivos bluetooth</b> presentes en la base de datos",
@@ -526,7 +528,7 @@ class Lang
/*0090*/"confirm the password" => "confirmez le mot de passe",
/*0091*/"write the code above" => "écrivez le code si-dessous",
/*0092*/"write your username" => "écrivez votre nom d'utilisateur",
- /*0093*/"Watch all the actions carried out by moderators" => "Regardez toutes les actions prises par les modérateurs",
+ /*0093*/"Actions carried out by moderators" => "Actions prises par les modérateurs",
/*0094*/"meet" => "rencontrer",
/*0095*/"Public profile of" => "Profil public de",
/*0096*/"See all the contributions of" => "Voir toute les distributions de",
@@ -610,7 +612,7 @@ class Lang
/*0174*/"delete the wiki page" => "supprimer la page wiki",
/*0175*/"list of blocked pages" => "liste de pages bloquées",
/*0176*/"special pages" => "pages spéciales",
- /*0177*/"Watch all the actions carried out by administrators" => "Voir toutes les actions faites par les administrateurs",
+ /*0177*/"Actions carried out by administrators" => "Actions faites par les administrateurs",
/*0178*/"No bluetooth devices found" => "Aucun périphérique Bluetooth trouvé",
/*0179*/"learn how to find it" => "apprenez à le trouver",
/*0180*/"Download the xml file of all the <b>bluetooth devices</b> in the database" => "Téléchargez le fichier xml de tout les <b>périphériques bluetooth</b> dans la base de données",
@@ -721,7 +723,7 @@ class Lang
/*0090*/"confirm the password" => "Passwort (Wiederholung)",
/*0091*/"write the code above" => "Geben Sie die Zeichen ein",
/*0092*/"write your username" => "Geben Sie Ihren Benutzernamen ein",
- /*0093*/"Watch all the actions carried out by moderators" => "Alle von Moderatoren durchgeführte Änderungen",
+ /*0093*/"Actions carried out by moderators" => "Moderatoren durchgeführte Änderungen",
/*0094*/"meet" => "treffen",
/*0095*/"Public profile of" => "Öffentliches Profil auf",
/*0096*/"See all the contributions of" => "Alle Beiträge von",
@@ -805,7 +807,7 @@ class Lang
/*0174*/"delete the wiki page" => "Wiki löschen",
/*0175*/"list of blocked pages" => "Gesperrte Seiten",
/*0176*/"special pages" => "Sonderseiten",
- /*0177*/"Watch all the actions carried out by administrators" => "Alle von Administratoren durchgeführten Aktionen anzeigen",
+ /*0177*/"Actions carried out by administrators" => "Administratoren durchgeführten Aktionen anzeigen",
/*0178*/"No bluetooth devices found" => "Es wurden keine Bluetooth-Geräte gefunden",
/*0179*/"learn how to find it" => "Wie kann man das herausfinden?",
/*0180*/"Download the xml file of all the <b>bluetooth devices</b> in the database" => "Alle enthaltenen <b>Bluetooth-Geräte</b> herunterladen (XML-Format)",
diff --git a/h-source/Application/Views/My/panel.php b/h-source/Application/Views/My/panel.php
index babf409..7ca706e 100644
--- a/h-source/Application/Views/My/panel.php
+++ b/h-source/Application/Views/My/panel.php
@@ -31,14 +31,26 @@
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.
</div>
<?php } ?>
+
+ <?php if ($isadmin) { ?>
+ <div id="admin_box">
+ <div class="admin_box_title"><?php echo gtext("Special pages for administrators");?></div>
+ <ul>
+ <li><a href="<?php echo Url::getRoot('last/adminactions/'.$lang);?>"><?php echo gtext("Actions carried out by administrators");?></a></li>
+ </ul>
+ </div>
+ <?php } ?>
+
+ <?php if ($ismoderator) { ?>
+ <div id="moderator_box">
+ <div class="moderator_box_title"><?php echo gtext("Special pages for moderators");?></div>
+ <ul>
+ <li><a href="<?php echo Url::getRoot('last/modactions/'.$lang);?>"><?php echo gtext("Actions carried out by moderators");?></a></li>
+ </ul>
+ </div>
+ <?php } ?>
<ul class='panelApplicationList'>
- <?php if ($isadmin) { ?>
- <li><a href="<?php echo Url::getRoot('last/adminactions/'.$lang);?>"><?php echo gtext("Watch all the actions carried out by administrators");?></a></li>
- <?php } ?>
- <?php if ($ismoderator) { ?>
- <li><a href="<?php echo Url::getRoot('last/modactions/'.$lang);?>"><?php echo gtext("Watch all the actions carried out by moderators");?></a></li>
- <?php } ?>
<li><a href="<?php echo Url::getRoot('meet/user/'.$lang.'/'.$username);?>"><?php echo gtext("Watch your public profile");?></a></li>
<li><a href="<?php echo Url::getRoot('my/profile/'.$lang.'/'.$token);?>"><?php echo gtext("Edit your profile");?></a></li>
<li><a href="<?php echo Url::getRoot('my/email/'.$lang.'/'.$token);?>"><?php echo gtext("Change your e-mail address");?></a></li>
diff --git a/h-source/Public/Css/main.css b/h-source/Public/Css/main.css
index 3ba2222..e8c008c 100644
--- a/h-source/Public/Css/main.css
+++ b/h-source/Public/Css/main.css
@@ -1762,7 +1762,44 @@ span.entry_label_small
{
clear:right;
}
-
+#admin_box, #moderator_box
+{
+ margin:20px 10px;
+ border-bottom:1px solid #ADD8E6;
+ border-left:10px solid #ADD8E6;
+ background-color:#F0FFFF;
+ padding:10px;
+}
+#moderator_box
+{
+ background-color:#fffc8e;
+ border-bottom:1px solid #FFA500;
+ border-left:10px solid #FFA500;
+}
+.admin_box_title, .moderator_box_title
+{
+ margin-bottom:10px;
+ font-size:12px;
+/* color:#FFF; */
+}
+#admin_box ul, #moderator_box ul
+{
+ margin:0px;
+ padding:0px;
+}
+#admin_box ul li, #moderator_box ul li
+{
+ list-style-type:none;
+}
+#admin_box ul li a, #moderator_box ul li a
+{
+ color:#097FBC;
+ font-weight:bold;
+}
+#moderator_box ul li a
+{
+ color:#FF4500;
+}
/*
Start - temporarily added due to transformation of help pages
2011-05-29 joeko