Browse files

Dropped footer.inc.php

  • Loading branch information...
1 parent 4d83b7f commit eb98110541b3b6e8436e004f67f077ad7126af43 @roccivic roccivic committed Jun 2, 2012
Showing with 30 additions and 314 deletions.
  1. +0 −1 db_datadict.php
  2. +0 −5 db_export.php
  3. +0 −4 db_import.php
  4. +0 −4 db_operations.php
  5. +0 −2 db_printview.php
  6. +0 −7 db_qbe.php
  7. +0 −6 db_search.php
  8. +0 −4 db_sql.php
  9. +0 −9 db_structure.php
  10. +0 −7 db_tracking.php
  11. +2 −2 export.php
  12. +1 −2 import.php
  13. +1 −1 js/common.js
  14. +1 −1 libraries/PDF.class.php
  15. +1 −4 libraries/common.lib.php
  16. +1 −1 libraries/display_export.lib.php
  17. +1 −1 libraries/display_import.lib.php
  18. +0 −27 libraries/footer.inc.php
  19. +1 −2 libraries/insert_edit.lib.php
  20. +1 −1 libraries/mult_submits.inc.php
  21. +1 −2 libraries/rte/rte_events.lib.php
  22. +0 −7 libraries/rte/rte_main.inc.php
  23. +2 −4 libraries/rte/rte_routines.lib.php
  24. +1 −2 libraries/rte/rte_triggers.lib.php
  25. +1 −2 libraries/schema/Export_Relation_Schema.class.php
  26. +0 −5 main.php
  27. +0 −5 prefs_forms.php
  28. +1 −8 prefs_manage.php
  29. +4 −9 schema_edit.php
  30. +0 −9 server_binlog.php
  31. +0 −2 server_collations.php
  32. +0 −5 server_databases.php
  33. +0 −5 server_engines.php
  34. +0 −5 server_export.php
  35. +1 −4 server_import.php
  36. +0 −7 server_plugins.php
  37. +2 −9 server_privileges.php
  38. +1 −3 server_replication.php
  39. +0 −4 server_sql.php
  40. +0 −4 server_status.php
  41. +0 −4 server_synchronize.php
  42. +0 −5 server_variables.php
  43. +2 −5 sql.php
  44. +0 −3 tbl_addfield.php
  45. +0 −6 tbl_alter.php
  46. +0 −4 tbl_change.php
  47. +0 −7 tbl_chart.php
  48. +0 −2 tbl_create.php
  49. +0 −6 tbl_export.php
  50. +0 −7 tbl_gis_visualization.php
  51. +0 −4 tbl_import.php
  52. +0 −7 tbl_indexes.php
  53. +0 −7 tbl_operations.php
  54. +0 −2 tbl_printview.php
  55. +0 −4 tbl_relation.php
  56. +1 −6 tbl_row_action.php
  57. +0 −2 tbl_select.php
  58. +0 −4 tbl_sql.php
  59. +0 −4 tbl_structure.php
  60. +0 −6 tbl_tracking.php
  61. +0 −1 tbl_zoom_select.php
  62. +0 −6 transformation_overview.php
  63. +3 −7 user_password.php
  64. +0 −7 view_create.php
  65. +0 −6 view_operations.php
View
1 db_datadict.php
@@ -283,5 +283,4 @@
*/
PMA_printButton();
-require 'libraries/footer.inc.php';
?>
View
5 db_export.php
@@ -31,7 +31,6 @@
// exit if no tables in db found
if ($num_tables < 1) {
PMA_Message::error(__('No tables found in database.'))->display();
- include 'libraries/footer.inc.php';
exit;
} // end if
@@ -84,8 +83,4 @@
$export_type = 'database';
require_once 'libraries/display_export.lib.php';
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
4 db_import.php
@@ -24,9 +24,5 @@
$import_type = 'database';
require 'libraries/display_import.lib.php';
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
4 db_operations.php
@@ -636,8 +636,4 @@
echo __('Edit or export relational schema') . '</a></fieldset></div>';
} // end if
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
2 db_printview.php
@@ -248,6 +248,4 @@
PMA_printButton();
echo "<div id='PMA_disable_floating_menubar'></div>\n";
-
-require 'libraries/footer.inc.php';
?>
View
7 db_qbe.php
@@ -102,7 +102,6 @@
$tbl_result_cnt = PMA_DBI_num_rows($tbl_result);
if (0 == $tbl_result_cnt) {
PMA_Message::error(__('No tables found in database.'))->display();
- include 'libraries/footer.inc.php';
exit;
}
@@ -949,9 +948,3 @@ function showColumnSelectCell($columns, $column_number, $selected = '')
</fieldset>
</div>
</form>
-<?php
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
-?>
View
6 db_search.php
@@ -371,9 +371,3 @@ function PMA_getSearchSqls($table, $field, $search_str, $search_option)
<!-- toggle query box link-->
<a id="togglequerybox"></a>
-<?php
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
-?>
View
4 db_sql.php
@@ -62,8 +62,4 @@
isset($_REQUEST['delimiter']) ? htmlspecialchars($_REQUEST['delimiter']) : ';'
);
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
9 db_structure.php
@@ -89,11 +89,6 @@
if (empty($db_is_information_schema)) {
include 'libraries/display_create_table.lib.php';
} // end if (Create Table dialog)
-
- /**
- * Displays the footer
- */
- include_once 'libraries/footer.inc.php';
exit;
}
@@ -759,8 +754,4 @@ class="center">
include 'libraries/display_create_table.lib.php';
} // end if (Create Table dialog)
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
7 db_tracking.php
@@ -52,9 +52,6 @@
if (empty($db_is_information_schema)) {
include 'libraries/display_create_table.lib.php';
}
-
- // Display the footer
- include 'libraries/footer.inc.php';
exit;
}
@@ -231,8 +228,4 @@
echo PMA_getMessage(__('Database Log'), $log);
}
-/**
- * Display the footer
- */
-require 'libraries/footer.inc.php';
?>
View
4 export.php
@@ -765,7 +765,7 @@ function PMA_exportOutputHandler($line)
}
}
- /* If ve saved on server, we have to close file now */
+ /* If we saved on server, we have to close file now */
if ($save_on_server) {
$write_result = @fwrite($file_handle, $dump_buffer);
fclose($file_handle);
@@ -797,6 +797,7 @@ function PMA_exportOutputHandler($line)
}
exit();
} else {
+ PMA_Response::getInstance()->disable();
echo $dump_buffer;
}
} else {
@@ -834,6 +835,5 @@ function PMA_exportOutputHandler($line)
//]]>
</script>
<?php
- include 'libraries/footer.inc.php';
} // end if
?>
View
3 import.php
@@ -94,7 +94,7 @@
$_SESSION['Import_message']['go_back_url'] = $goto;
$message->display();
- include 'libraries/footer.inc.php';
+ exit; // the footer is displayed automatically
}
/**
@@ -524,5 +524,4 @@
$active_page = $goto;
include '' . $goto;
}
-exit();
?>
View
2 js/common.js
@@ -159,7 +159,7 @@ function markDbTable(db, table)
}
/**
- * sets current selected server, table and db (called from libraries/footer.inc.php)
+ * sets current selected server, table and db (called from the footer)
*/
function setAll( new_lang, new_collation_connection, new_server, new_db, new_table, new_token )
{
View
2 libraries/PDF.class.php
@@ -88,7 +88,7 @@ function Error($error_message = '')
$response = PMA_Response::getInstance();
$response->getHeader()->display();
PMA_Message::error(__('Error while creating PDF:') . ' ' . $error_message)->display();
- include './libraries/footer.inc.php';
+ exit;
}
/**
View
5 libraries/common.lib.php
@@ -703,10 +703,7 @@ function PMA_mysqlDie(
}
echo $error_msg;
- /**
- * display footer and exit
- */
- include './libraries/footer.inc.php';
+ exit;
} else {
echo $error_msg;
}
View
2 libraries/display_export.lib.php
@@ -38,7 +38,7 @@ function PMA_exportIsActive($what, $val)
/* Fail if we didn't find any plugin */
if (empty($export_list)) {
PMA_Message::error(__('Could not load export plugins, please check your installation!'))->display();
- include './libraries/footer.inc.php';
+ exit;
}
?>
View
2 libraries/display_import.lib.php
@@ -21,7 +21,7 @@
/* Fail if we didn't find any plugin */
if (empty($import_list)) {
PMA_Message::error(__('Could not load import plugins, please check your installation!'))->display();
- include './libraries/footer.inc.php';
+ exit;
}
?>
View
27 libraries/footer.inc.php
@@ -1,27 +0,0 @@
-<?php
-/* vim: set expandtab sw=4 ts=4 sts=4: */
-/**
- * finishes HTML output
- *
- * updates javascript variables in index.php for correct working with querywindow
- * and navigation frame refreshing
- *
- * send buffered data if buffered
- *
- * WARNING: This script has to be included at the very end of your code because
- * it will stop the script execution!
- *
- * always use $GLOBALS, as this script is also included by functions
- *
- * @package PhpMyAdmin
- */
-if (! defined('PHPMYADMIN')) {
- exit;
-}
-
-//$footer = PMA_Response::getInstance()->getFooter();
-//$footer->display();
-
-exit;
-
-?>
View
3 libraries/insert_edit.lib.php
@@ -126,8 +126,7 @@ function PMA_showEmptyResultMessageOrSetUniqueCondition($rows, $key_id,
if (! $rows[$key_id]) {
unset($rows[$key_id], $where_clause_array[$key_id]);
PMA_showMessage(__('MySQL returned an empty result set (i.e. zero rows).'), $local_query);
- echo "\n";
- include 'libraries/footer.inc.php';
+ exit;
} else {// end if (no row returned)
$meta = PMA_DBI_get_fields_meta($result[$key_id]);
list($unique_condition, $tmp_clause_is_unique)
View
2 libraries/mult_submits.inc.php
@@ -324,7 +324,7 @@
</fieldset>
<?php
}
- include './libraries/footer.inc.php';
+ exit;
} elseif ($mult_btn == __('Yes')) {
/**
View
3 libraries/rte/rte_events.lib.php
@@ -205,9 +205,8 @@ function PMA_EVN_handleEditor()
} else {
echo "\n\n<h2>$title</h2>\n\n$editor";
unset($_POST);
- include './libraries/footer.inc.php';
}
- // exit;
+ exit;
} else {
$message = __('Error in processing request') . ' : ';
$message .= sprintf(
View
7 libraries/rte/rte_main.inc.php
@@ -87,11 +87,4 @@
break;
}
-/**
- * Display the footer, if necessary
- */
-if ($GLOBALS['is_ajax_request'] != true) {
- include './libraries/footer.inc.php';
-}
-
?>
View
6 libraries/rte/rte_routines.lib.php
@@ -366,8 +366,7 @@ function PMA_RTN_handleEditor()
PMA_ajaxResponse($editor, true, $extra_data);
}
echo "\n\n<h2>$title</h2>\n\n$editor";
- include './libraries/footer.inc.php';
- // exit;
+ exit;
} else {
$message = __('Error in processing request') . ' : ';
$message .= sprintf(
@@ -1317,8 +1316,7 @@ function PMA_RTN_handleExecute()
} else {
echo "\n\n<h2>" . __("Execute routine") . "</h2>\n\n";
echo $form;
- include './libraries/footer.inc.php';
- // exit;
+ exit;
}
} else if (($GLOBALS['is_ajax_request'] == true)) {
$message = __('Error in processing request') . ' : ';
View
3 libraries/rte/rte_triggers.lib.php
@@ -180,9 +180,8 @@ function PMA_TRI_handleEditor()
} else {
echo "\n\n<h2>$title</h2>\n\n$editor";
unset($_POST);
- include './libraries/footer.inc.php';
}
- // exit;
+ exit;
} else {
$message = __('Error in processing request') . ' : ';
$message .= sprintf(
View
3 libraries/schema/Export_Relation_Schema.class.php
@@ -239,8 +239,7 @@ function dieSchema($pageNumber, $type = '', $error_message = '')
. '&do=selectpage&chpage=' . $pageNumber . '&action_choose=0'
. '">' . __('Back') . '</a>';
echo "\n";
- include_once './libraries/footer.inc.php';
- exit();
+ exit;
}
}
?>
View
5 main.php
@@ -453,9 +453,4 @@ function PMA_printListItem($name, $id = null, $url = null, $mysql_help_page = nu
}
echo '</li>';
}
-
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
5 prefs_forms.php
@@ -89,9 +89,4 @@
<?php
}
$form_display->display(true, true);
-
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
9 prefs_manage.php
@@ -133,8 +133,7 @@
<input type="submit" name="submit_ignore" value="<?php echo __('No') ?>" />
</form>
<?php
- include 'libraries/footer.inc.php';
- return;
+ exit;
}
// check for ThemeDefault and fontsize
@@ -339,9 +338,3 @@
</div>
<br class="clearfloat" />
</div>
-<?php
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
-?>
View
13 schema_edit.php
@@ -35,24 +35,24 @@
if (! $cfgRelation['relwork']) {
echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'relation', 'config.inc.php') . '<br />' . "\n"
. PMA_showDocu('relation') . "\n";
- include_once 'libraries/footer.inc.php';
+ exit;
}
if (! $cfgRelation['displaywork']) {
echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'table_info', 'config.inc.php') . '<br />' . "\n"
. PMA_showDocu('table_info') . "\n";
- include_once 'libraries/footer.inc.php';
+ exit;
}
if (! isset($cfgRelation['table_coords'])) {
echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'table_coords', 'config.inc.php') . '<br />' . "\n"
. PMA_showDocu('table_coords') . "\n";
- include_once 'libraries/footer.inc.php';
+ exit;
}
if (! isset($cfgRelation['pdf_pages'])) {
echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'pdf_page', 'config.inc.php') . '<br />' . "\n"
. PMA_showDocu('pdf_pages') . "\n";
- include_once 'libraries/footer.inc.php';
+ exit;
}
if ($cfgRelation['pdfwork']) {
@@ -123,9 +123,4 @@
} // end if
} // end if ($cfgRelation['pdfwork'])
-/**
- * Displays the footer
- */
-echo "\n";
-require_once 'libraries/footer.inc.php';
?>
View
9 server_binlog.php
@@ -202,12 +202,3 @@
?>
</tbody>
</table>
-<?php
-
-
-/**
- * Sends the footer
- */
-require 'libraries/footer.inc.php';
-
-?>
View
2 server_collations.php
@@ -81,6 +81,4 @@
echo '</table>' . "\n"
. '</div>' . "\n";
-require 'libraries/footer.inc.php';
-
?>
View
5 server_databases.php
@@ -313,9 +313,4 @@
}
unset($databases_count);
-/**
- * Sends the footer
- */
-require 'libraries/footer.inc.php';
-
?>
View
5 server_engines.php
@@ -126,9 +126,4 @@
}
}
-/**
- * Sends the footer
- */
-require 'libraries/footer.inc.php';
-
?>
View
5 server_export.php
@@ -60,9 +60,4 @@
$export_type = 'server';
require_once 'libraries/display_export.lib.php';
-
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
5 server_import.php
@@ -22,9 +22,6 @@
$import_type = 'server';
require 'libraries/display_import.lib.php';
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
+
?>
View
7 server_plugins.php
@@ -183,10 +183,3 @@
</table>
</div>
</div>
-<?php
-/**
- * Sends the footer
- */
-require 'libraries/footer.inc.php';
-
-?>
View
11 server_privileges.php
@@ -182,7 +182,7 @@
. __('Privileges') . "\n"
. '</h2>' . "\n";
PMA_Message::error(__('No Privileges'))->display();
- include 'libraries/footer.inc.php';
+ exit;
}
// a random number that will be appended to the id of the user forms
@@ -2034,7 +2034,7 @@ function PMA_getGrants($user, $host)
if ($user_does_not_exists) {
PMA_Message::error(__('The selected user was not found in the privilege table.'))->display();
PMA_displayLoginInformationFields();
- //require 'libraries/footer.inc.php';
+ //exit;
}
echo '<form name="usersForm" id="addUsersForm_' . $random_n . '" action="server_privileges.php" method="post">' . "\n";
@@ -2584,11 +2584,4 @@ function PMA_getGrants($user, $host)
} // end if (empty($_REQUEST['adduser']) && empty($checkprivs)) ... elseif ... else ...
-
-/**
- * Displays the footer
- */
-echo "\n\n";
-require 'libraries/footer.inc.php';
-
?>
View
4 server_replication.php
@@ -33,7 +33,7 @@
. __('Replication') . "\n"
. '</h2>' . "\n";
PMA_Message::error(__('No Privileges'))->display();
- include 'libraries/footer.inc.php';
+ exit;
}
/**
@@ -265,7 +265,6 @@
echo ' </form>';
echo '</fieldset>';
- include 'libraries/footer.inc.php';
exit;
}
@@ -398,5 +397,4 @@
if (isset($GLOBALS['sl_configure'])) {
PMA_replication_gui_changemaster("slave_changemaster");
}
-require 'libraries/footer.inc.php';
?>
View
4 server_sql.php
@@ -27,8 +27,4 @@
*/
PMA_sqlQueryForm();
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
4 server_status.php
@@ -1839,8 +1839,4 @@ function cleanDeprecated(&$server_status)
}
}
-/**
- * Sends the footer
- */
-require 'libraries/footer.inc.php';
?>
View
4 server_synchronize.php
@@ -1487,8 +1487,4 @@
<div class="notice">' . __('Target database will be completely synchronized with source database. Source database will remain unchanged.') . '</div>';
}
- /**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
5 server_variables.php
@@ -184,9 +184,4 @@ function formatVariable($name, $value)
return htmlspecialchars($value);
}
-/**
- * Sends the footer
- */
-require 'libraries/footer.inc.php';
-
?>
View
7 sql.php
@@ -418,10 +418,7 @@
echo '</fieldset>' . "\n"
. '</form>' . "\n";
- /**
- * Displays the footer and exit
- */
- include 'libraries/footer.inc.php';
+ exit;
} // end if $do_confirm
@@ -1127,6 +1124,6 @@
* Displays the footer
*/
if (! isset($_REQUEST['table_maintenance'])) {
- include 'libraries/footer.inc.php';
+ exit;
}
?>
View
3 tbl_addfield.php
@@ -230,9 +230,6 @@
*/
$action = 'tbl_addfield.php';
include_once 'libraries/tbl_properties.inc.php';
-
- // Diplays the footer
- include 'libraries/footer.inc.php';
}
?>
View
6 tbl_alter.php
@@ -317,10 +317,4 @@
*/
include 'libraries/tbl_properties.inc.php';
}
-
-
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
4 tbl_change.php
@@ -387,9 +387,5 @@
$html_output .= PMA_getContinueInsertionForm($table, $db, $where_clause_array, $err_url);
}
echo $html_output;
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
7 tbl_chart.php
@@ -158,10 +158,3 @@
chart_data = <?php echo strtr(json_encode($data), array('<' => '&lt;', '>' => '&gt;')); ?>;
//]]>
</script>
-<?php
-/**
- * Displays the footer
- */
-require_once 'libraries/footer.inc.php';
-
-?>
View
2 tbl_create.php
@@ -367,8 +367,6 @@
}
require 'libraries/tbl_properties.inc.php';
-// Displays the footer
-require 'libraries/footer.inc.php';
if ($GLOBALS['is_ajax_request'] != true) {
echo('</div>');
View
6 tbl_export.php
@@ -84,10 +84,4 @@
$export_type = 'table';
require_once 'libraries/display_export.lib.php';
-
-
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
7 tbl_gis_visualization.php
@@ -192,10 +192,3 @@ function drawOpenLayers() {
</fieldset>
</form>
</div>
-<?php
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
-
-?>
View
4 tbl_import.php
@@ -26,9 +26,5 @@
$import_type = 'table';
require_once 'libraries/display_import.lib.php';
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
7 tbl_indexes.php
@@ -320,10 +320,3 @@
?>
</fieldset>
</form>
-<?php
-
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
-?>
View
7 tbl_operations.php
@@ -860,13 +860,6 @@
} // end if (!empty($cfg['Server']['relation']))
-
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
-
-
function PMA_set_global_variables_for_engine($tbl_storage_engine)
{
global $is_myisam_or_aria, $is_innodb, $is_isam, $is_berkeleydb, $is_aria, $is_pbxt;
View
2 tbl_printview.php
@@ -472,6 +472,4 @@
PMA_printButton();
echo "<div id='PMA_disable_floating_menubar'></div>\n";
-
-require 'libraries/footer.inc.php';
?>
View
4 tbl_relation.php
@@ -575,8 +575,4 @@ function PMA_backquote_split($text)
<?php
} // end if (we have columns in this table)
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
7 tbl_row_action.php
@@ -21,7 +21,7 @@
$disp_message = __('No rows selected');
$disp_query = '';
include 'sql.php';
- include 'libraries/footer.inc.php';
+ exit;
}
if (isset($_REQUEST['submit_mult'])) {
@@ -137,11 +137,6 @@
$active_page = 'sql.php';
include 'sql.php';
-
- /**
- * Displays the footer
- */
- include 'libraries/footer.inc.php';
break;
}
}
View
2 tbl_select.php
@@ -71,8 +71,6 @@
$goto, $db, $table, $columnNames, $columnTypes, $columnCollations,
$columnNullFlags, $geomColumnFlag, $foreigners, "normal"
);
-
- include 'libraries/footer.inc.php';
} else {
/**
* Selection criteria have been submitted -> do the work
View
4 tbl_sql.php
@@ -43,8 +43,4 @@
isset($_REQUEST['delimiter']) ? htmlspecialchars($_REQUEST['delimiter']) : ';'
);
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
4 tbl_structure.php
@@ -1001,8 +1001,4 @@
echo '<div class="clearfloat"></div>' . "\n";
-/**
- * Displays the footer
- */
-require 'libraries/footer.inc.php';
?>
View
6 tbl_tracking.php
@@ -816,9 +816,3 @@ function PMA_filter_tracking($data, $filter_ts_from, $filter_ts_to, $filter_user
<br class="clearfloat"/>
-<?php
-/**
- * Displays the footer
- */
-require './libraries/footer.inc.php';
-?>
View
1 tbl_zoom_select.php
@@ -264,5 +264,4 @@
</form>
<?php
}
-require './libraries/footer.inc.php';
?>
View
6 transformation_overview.php
@@ -62,9 +62,3 @@
</tbody>
</table>
-<?php
-/**
- * Displays the footer
- */
-require './libraries/footer.inc.php';
-?>
View
10 user_password.php
@@ -27,7 +27,7 @@
if ($cfg['Server']['auth_type'] == 'config' || ! $cfg['ShowChgPassword']) {
$header->display();
PMA_Message::error(__('You don\'t have sufficient privileges to be here right now!'))->display();
- include './libraries/footer.inc.php';
+ exit;
} // end if
/**
@@ -61,11 +61,7 @@
}
require_once './libraries/display_change_password.lib.php';
-
-/**
- * Displays the footer
- */
-require './libraries/footer.inc.php';
+exit;
/**
* Send the message as an ajax request
@@ -211,6 +207,6 @@ function PMA_changePassDisplayPage($message, $sql_query, $_url_params)
echo PMA_getMessage($message, $sql_query, 'success');
echo '<a href="index.php'.PMA_generate_common_url($_url_params).' target="_parent">'. "\n"
.'<strong>'.__('Back').'</strong></a>';
- include './libraries/footer.inc.php';
+ exit;
}
?>
View
7 view_create.php
@@ -186,10 +186,3 @@
?>
</form>
</div>
-<?php
-/**
- * Displays the footer
- */
-require './libraries/footer.inc.php';
-
-?>
View
6 view_operations.php
@@ -96,9 +96,3 @@
</form>
</div>
-<?php
-/**
- * Displays the footer
- */
-require './libraries/footer.inc.php';
-?>

0 comments on commit eb98110

Please sign in to comment.