diff --git a/libraries/schema/Export_Relation_Schema.class.php b/libraries/schema/Export_Relation_Schema.class.php index 4179dd0dc..2d23c5bbf 100644 --- a/libraries/schema/Export_Relation_Schema.class.php +++ b/libraries/schema/Export_Relation_Schema.class.php @@ -182,7 +182,7 @@ class PMA_Export_Relation_Schema /** * Displays an error message * - * @param integer pageNumber ID of the page choosen + * @param integer pageNumber ID of the chosen page * @param string type Schema Type * @param string error_message the error mesage * @global array the PMA configuration array diff --git a/libraries/schema/User_Schema.class.php b/libraries/schema/User_Schema.class.php index e69daa090..bcb92daf7 100644 --- a/libraries/schema/User_Schema.class.php +++ b/libraries/schema/User_Schema.class.php @@ -18,7 +18,7 @@ class PMA_User_Schema { - public $choosenPage; + public $chosenPage; public $autoLayoutForeign; public $autoLayoutInternal; public $pageNumber; @@ -47,11 +47,11 @@ class PMA_User_Schema if (isset($this->action)) { switch ($this->action) { case 'selectpage': - $this->choosenPage = $_REQUEST['chpage']; + $this->chosenPage = $_REQUEST['chpage']; if ($action_choose=="1") { - $this->deleteCoordinates($db, $cfgRelation, $this->choosenPage, $query_default_option); - $this->deletePages($db, $cfgRelation, $this->choosenPage, $query_default_option); - $this->choosenPage = 0; + $this->deleteCoordinates($db, $cfgRelation, $this->chosenPage, $query_default_option); + $this->deletePages($db, $cfgRelation, $this->chosenPage, $query_default_option); + $this->chosenPage = 0; } break; case 'createpage': @@ -61,12 +61,12 @@ class PMA_User_Schema $this->processRelations($db, $this->pageNumber,$cfgRelation,$query_default_option); break; case 'edcoord': - $this->choosenPage = $_POST['chpage']; + $this->chosenPage = $_POST['chpage']; $this->c_table_rows = $_POST['c_table_rows']; $this->_editCoordinates($db, $cfgRelation,$query_default_option); break; case 'deleteCrap': - $this->_deleteTableRows($delrow,$cfgRelation,$db,$this->choosenPage); + $this->_deleteTableRows($delrow,$cfgRelation,$db,$this->chosenPage); break; case 'process_export': $this->_processExportSchema(); @@ -155,7 +155,7 @@ class PMA_User_Schema while ($curr_page = PMA_DBI_fetch_assoc($page_rs)) { echo "\n" . ' ' . ''; @@ -205,14 +205,14 @@ class PMA_User_Schema * show the tables involved */ - if (isset($this->choosenPage) && $this->choosenPage > 0) { + if (isset($this->chosenPage) && $this->chosenPage > 0) { echo "\n"; ?>
choosenPage) . '\''; + . ' AND pdf_page_number = \'' . PMA_sqlAddslashes($this->chosenPage) . '\''; $page_rs = PMA_query_as_controluser($page_query, FALSE, $query_default_option); $array_sh_page = array(); while ($temp_sh_page = @PMA_DBI_fetch_assoc($page_rs)) { @@ -230,7 +230,7 @@ class PMA_User_Schema