From 4b25f91359bddecf06f50f568e9600480e42cd53 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 17 Jan 2008 14:11:54 +0000 Subject: [PATCH] slider for Routines --- db_structure.php | 3 +++ libraries/db_routines.inc.php | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/db_structure.php b/db_structure.php index 703b2b757..2aa2332ff 100644 --- a/db_structure.php +++ b/db_structure.php @@ -11,6 +11,9 @@ require_once './libraries/common.inc.php'; require_once './libraries/Table.class.php'; +$GLOBALS['js_include'][] = 'mootools.js'; +$GLOBALS['js_include'][] = 'mootools-domready.js'; + /** * Prepares the tables list if the user where not redirected to this script * because there is no table in the database ($is_info is true) diff --git a/libraries/db_routines.inc.php b/libraries/db_routines.inc.php index ebaf6d187..1eddc2cbc 100644 --- a/libraries/db_routines.inc.php +++ b/libraries/db_routines.inc.php @@ -19,6 +19,9 @@ $url_query .= '&goto=db_structure.php'; $routines = PMA_DBI_fetch_result('SELECT SPECIFIC_NAME,ROUTINE_NAME,ROUTINE_TYPE,DTD_IDENTIFIER FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA= \'' . PMA_sqlAddslashes($db,true) . '\';'); if ($routines) { + PMA_generate_slider_effect('routines', $strRoutines); + echo '
'; + echo '
' . "\n"; echo '
' . "\n"; echo ' ' . $strRoutines . '' . "\n"; echo ''; @@ -79,5 +82,6 @@ if ($routines) { } echo '
'; echo '
' . "\n"; + echo '
' . "\n"; } ?>