diff --git a/libraries/Util.php b/libraries/Util.php index 8feb574434..4771ba78ba 100644 --- a/libraries/Util.php +++ b/libraries/Util.php @@ -16,6 +16,7 @@ use stdClass; use SqlParser\Utils\Error as ParserError; use PMA\libraries\URL; use PMA\libraries\Sanitize; +use PMA\libraries\Template; if (! defined('PHPMYADMIN')) { exit; @@ -2879,26 +2880,11 @@ class Util */ public static function getDivForSliderEffect($id = '', $message = '') { - if ($GLOBALS['cfg']['InitialSlidersState'] == 'disabled') { - return ''; - } - /** - * Bad hack on the next line. document.write() conflicts with jQuery, - * hence, opening the
with PHP itself instead of JavaScript. - * - * @todo find a better solution that uses $.append(), the recommended - * method maybe by using an additional param, the id of the div to - * append to - */ - - return '