From: Jan Schneider Date: Tue, 1 Feb 2011 14:06:26 +0000 (+0100) Subject: Re-order to actually display the notification. Fix layout. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=50e8cd8ae828649b3efacf48233205eed65b4e43;p=horde.git Re-order to actually display the notification. Fix layout. --- diff --git a/horde/admin/sqlshell.php b/horde/admin/sqlshell.php index da93f7701..fe0ecf71d 100644 --- a/horde/admin/sqlshell.php +++ b/horde/admin/sqlshell.php @@ -11,19 +11,6 @@ require_once dirname(__FILE__) . '/../lib/Application.php'; Horde_Registry::appInit('horde', array('admin' => true)); -$title = _("SQL Shell"); -Horde::addScriptFile('stripe.js', 'horde'); -require HORDE_TEMPLATES . '/common-header.inc'; -require HORDE_TEMPLATES . '/admin/menu.inc'; - -?> -
-

-
- - -getInstance('Horde_Db_Adapter'); $q_cache = $session->retrieve('horde', 'sql_query_cache', Horde_Session::TYPE_ARRAY); @@ -48,6 +35,20 @@ if (Horde_Util::getFormData('list-tables')) { } } +$title = _("SQL Shell"); +Horde::addScriptFile('stripe.js', 'horde'); +require HORDE_TEMPLATES . '/common-header.inc'; +require HORDE_TEMPLATES . '/admin/menu.inc'; + +?> +
+

+
+ + + +' . _("Query") . '
' . htmlspecialchars($command) . '
'; @@ -94,6 +95,7 @@ if (isset($result)) { ?> +

" class="button" onclick="document.sqlshell.sql.value = document.sqlshell.query_cache[document.sqlshell.query_cache.selectedIndex].value;"> " class="button" onclick="document.sqlshell.sql.value = document.sqlshell.query_cache[document.sqlshell.query_cache.selectedIndex].value; document.sqlshell.submit();"> +

- - +

+ + +

-"> -" onclick="document.sqlshell.sql.value=''"> - -"> - -"> - +

+ "> + " onclick="document.sqlshell.sql.value=''"> + + "> + + "> + +