Undefined index

This commit is contained in:
Marc Delisle
2011-09-25 18:49:22 -04:00
parent 66adfdef30
commit 3b78559228

View File

@@ -42,7 +42,7 @@ echo '
var db = "' . PMA_escapeJsString($db) . '"; var db = "' . PMA_escapeJsString($db) . '";
var token = "' . PMA_escapeJsString($token) . '";'; var token = "' . PMA_escapeJsString($token) . '";';
echo "\n"; echo "\n";
if($_REQUEST['query']) { if (! empty($_REQUEST['query'])) {
echo ' echo '
$(document).ready(function(){ $(document).ready(function(){
$(".trigger").click(function(){ $(".trigger").click(function(){
@@ -113,7 +113,7 @@ echo $script_tabs . $script_contr . $script_display_field;
><img src="pmd/images/pdf.png" alt="key" width="20" height="20" ><img src="pmd/images/pdf.png" alt="key" width="20" height="20"
title="<?php echo __('Import/Export coordinates for PDF schema'); ?>" /></a title="<?php echo __('Import/Export coordinates for PDF schema'); ?>" /></a
> >
<?php if($_REQUEST['query']){ <?php if (! empty($_REQUEST['query'])){
echo '<a href="#" onClick="build_query(\'SQL Query on Database\', 0)" onmousedown="return false;" echo '<a href="#" onClick="build_query(\'SQL Query on Database\', 0)" onmousedown="return false;"
class="M_butt" target="_self">'; class="M_butt" target="_self">';
echo '<img src="pmd/images/query_builder.png" alt="key" width="20" height="20" title="'; echo '<img src="pmd/images/query_builder.png" alt="key" width="20" height="20" title="';
@@ -801,7 +801,7 @@ for ($i = 0; $i < count($GLOBALS['PMD']["TABLE_NAME"]); $i++) {
</table> </table>
<?php <?php
if($_REQUEST['query']) { if (! empty($_REQUEST['query'])) {
echo '<div class="panel">'; echo '<div class="panel">';
echo '<div style="clear:both;"></div>'; echo '<div style="clear:both;"></div>';
echo '<div id="ab"></div>'; echo '<div id="ab"></div>';