Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Drop old header_*.inc.php scripts from querywindow.php

  • Loading branch information...
commit 0aee714983a57a9cbf062ebfdb0b94b6bc8c0738 1 parent 3d18fb5
@roccivic roccivic authored
Showing with 6 additions and 12 deletions.
  1. +6 −12 querywindow.php
View
18 querywindow.php
@@ -118,7 +118,10 @@
/**
* prepare JavaScript functionality
*/
-$scripts = PMA_Header::getInstance()->getScripts();
+$header = PMA_Header::getInstance();
+$header->disableMenu();
+$header->setBodyId('bodyquerywindow');
+$scripts = $header->getScripts();
$scripts->addFile('common.js');
$scripts->addFile('querywindow.js');
@@ -133,18 +136,9 @@
$scripts->addEvent('load','PMA_querywindowSetFocus');
}
-/**
- * start HTTP/HTML output
- */
-require_once 'libraries/header_http.inc.php';
-require_once 'libraries/header_meta_style.inc.php';
-require_once 'libraries/header_scripts.inc.php';
-?>
-</head>
+$header->display();
-<body id="bodyquerywindow">
-<div id="querywindowcontainer">
-<?php
+echo '<div id="querywindowcontainer">';
if ($tabs) {
echo PMA_generateHtmlTabs($tabs, array());
Please sign in to comment.
Something went wrong with that request. Please try again.