From 6e8f4b3058177f720552c801d9ed6722be55a4b3 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 18 Feb 2010 23:26:29 -0700 Subject: [PATCH] Make admin pages consistent UI-wise. --- horde/admin/cmdshell.php | 6 ++++-- horde/admin/perms/index.php | 2 ++ horde/admin/phpshell.php | 6 +++--- horde/admin/sqlshell.php | 6 +++--- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/horde/admin/cmdshell.php b/horde/admin/cmdshell.php index d95bcf9dd..5ed3500a6 100644 --- a/horde/admin/cmdshell.php +++ b/horde/admin/cmdshell.php @@ -15,7 +15,7 @@ $title = _("Command Shell"); require HORDE_TEMPLATES . '/common-header.inc'; require HORDE_TEMPLATES . '/admin/menu.inc'; -echo '
'; +echo '
'; if ($command = trim(Horde_Util::getFormData('cmd'))) { echo '

' . _("Command") . ':


'; echo '

' . nl2br(htmlspecialchars($command)) . '

'; @@ -40,7 +40,9 @@ if ($command = trim(Horde_Util::getFormData('cmd'))) {
-
" /> diff --git a/horde/admin/perms/index.php b/horde/admin/perms/index.php index 16f402ff0..93c14c6c6 100644 --- a/horde/admin/perms/index.php +++ b/horde/admin/perms/index.php @@ -19,6 +19,8 @@ require HORDE_TEMPLATES . '/common-header.inc'; require HORDE_TEMPLATES . '/admin/menu.inc'; $ui = new Horde_Perms_Ui($injector->getInstance('Horde_Perms')); + +echo '

' . Horde::img('perms.png') . ' ' . _("Permissions") . '

'; $ui->renderTree($perm_id); require HORDE_TEMPLATES . '/common-footer.inc'; diff --git a/horde/admin/phpshell.php b/horde/admin/phpshell.php index 11398e523..bbad826fd 100644 --- a/horde/admin/phpshell.php +++ b/horde/admin/phpshell.php @@ -32,11 +32,11 @@ $application = Horde_Util::getFormData('app', 'horde'); $command = trim(Horde_Util::getFormData('php')) ?> -
+
-

+




-
" /> diff --git a/horde/admin/sqlshell.php b/horde/admin/sqlshell.php index f4160023e..68e0e26a8 100644 --- a/horde/admin/sqlshell.php +++ b/horde/admin/sqlshell.php @@ -17,8 +17,8 @@ require HORDE_TEMPLATES . '/common-header.inc'; require HORDE_TEMPLATES . '/admin/menu.inc'; ?> -
-


+
+


@@ -120,7 +120,7 @@ if (isset($result)) { -
" /> -- 2.11.0