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..fbec138de 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; @@ -40,18 +40,18 @@ class PMA_User_Schema * @access public */ - public function processUserPreferences() + public function processUserChoice() { global $action_choose,$db,$cfgRelation,$cfg,$query_default_option; 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); + case 'delete_old_references': + $this->_deleteTableRows($delrow,$cfgRelation,$db,$this->chosenPage); break; case 'process_export': $this->_processExportSchema(); @@ -84,7 +84,7 @@ class PMA_User_Schema * @return void * @access public */ - public function createPage($db) + public function showCreatePageDialog($db) { ?>