From 2a66742a00e70d4065971b7f72a0e5221d1da79a Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 29 Apr 2012 15:07:46 -0400 Subject: [PATCH] Improve naming --- js/functions.js | 8 ++++---- libraries/schema/Eps_Relation_Schema.class.php | 2 +- libraries/schema/Pdf_Relation_Schema.class.php | 2 +- libraries/schema/Svg_Relation_Schema.class.php | 2 +- libraries/schema/User_Schema.class.php | 4 ++-- schema_export.php | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/js/functions.js b/js/functions.js index 1c892e1dd6..d784d8229f 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1327,7 +1327,7 @@ $(function() { $("#orientation_opt").prop("disabled",true); $("#with_doc").prop("disabled",true); $("#show_table_dim_opt").removeProp("disabled"); - $("#all_table_same_wide").removeProp("disabled"); + $("#all_tables_same_width").removeProp("disabled"); $("#paper_opt").removeProp("disabled"); $("#show_color_opt").removeProp("disabled"); //$(this).css("background-color","yellow"); @@ -1335,7 +1335,7 @@ $(function() { $("#show_grid_opt").prop("disabled",true); $("#with_doc").prop("disabled",true); $("#show_table_dim_opt").prop("disabled",true); - $("#all_table_same_wide").prop("disabled",true); + $("#all_tables_same_width").prop("disabled",true); $("#paper_opt").removeProp("disabled"); $("#show_color_opt").removeProp("disabled"); $("#orientation_opt").removeProp("disabled"); @@ -1344,7 +1344,7 @@ $(function() { $("#orientation_opt").removeProp("disabled"); $("#with_doc").prop("disabled",true); $("#show_table_dim_opt").prop("disabled",true); - $("#all_table_same_wide").prop("disabled",true); + $("#all_tables_same_width").prop("disabled",true); $("#paper_opt").prop("disabled",true); $("#show_color_opt").prop("disabled",true); } else if ($("#export_type").val()=='pdf') { @@ -1352,7 +1352,7 @@ $(function() { $("#orientation_opt").removeProp("disabled"); $("#with_doc").removeProp("disabled"); $("#show_table_dim_opt").removeProp("disabled"); - $("#all_table_same_wide").removeProp("disabled"); + $("#all_tables_same_width").removeProp("disabled"); $("#paper_opt").removeProp("disabled"); $("#show_color_opt").removeProp("disabled"); } else { diff --git a/libraries/schema/Eps_Relation_Schema.class.php b/libraries/schema/Eps_Relation_Schema.class.php index 4c06e15c49..4e0da8f558 100644 --- a/libraries/schema/Eps_Relation_Schema.class.php +++ b/libraries/schema/Eps_Relation_Schema.class.php @@ -817,7 +817,7 @@ class PMA_Eps_Relation_Schema extends PMA_Export_Relation_Schema $this->setShowColor(isset($_POST['show_color'])); $this->setShowKeys(isset($_POST['show_keys'])); $this->setTableDimension(isset($_POST['show_table_dimension'])); - $this->setAllTableSameWidth(isset($_POST['all_table_same_wide'])); + $this->setAllTableSameWidth(isset($_POST['all_tables_same_width'])); $this->setOrientation($_POST['orientation']); $this->setExportType($_POST['export_type']); diff --git a/libraries/schema/Pdf_Relation_Schema.class.php b/libraries/schema/Pdf_Relation_Schema.class.php index 6fcc2a0f0e..b683f46c28 100644 --- a/libraries/schema/Pdf_Relation_Schema.class.php +++ b/libraries/schema/Pdf_Relation_Schema.class.php @@ -826,7 +826,7 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema $this->setShowColor(isset($_POST['show_color'])); $this->setShowKeys(isset($_POST['show_keys'])); $this->setTableDimension(isset($_POST['show_table_dimension'])); - $this->setAllTableSameWidth(isset($_POST['all_table_same_wide'])); + $this->setAllTableSameWidth(isset($_POST['all_tables_same_width'])); $this->setWithDataDictionary($_POST['with_doc']); $this->setOrientation($_POST['orientation']); $this->setPaper($_POST['paper']); diff --git a/libraries/schema/Svg_Relation_Schema.class.php b/libraries/schema/Svg_Relation_Schema.class.php index b0b0529f51..059ca2a12a 100644 --- a/libraries/schema/Svg_Relation_Schema.class.php +++ b/libraries/schema/Svg_Relation_Schema.class.php @@ -798,7 +798,7 @@ class PMA_Svg_Relation_Schema extends PMA_Export_Relation_Schema $this->setShowColor(isset($_POST['show_color'])); $this->setShowKeys(isset($_POST['show_keys'])); $this->setTableDimension(isset($_POST['show_table_dimension'])); - $this->setAllTableSameWidth(isset($_POST['all_table_same_wide'])); + $this->setAllTableSameWidth(isset($_POST['all_tables_same_width'])); $this->setExportType($_POST['export_type']); $svg = new PMA_SVG(); diff --git a/libraries/schema/User_Schema.class.php b/libraries/schema/User_Schema.class.php index 353ad6ac28..e2922b46a1 100644 --- a/libraries/schema/User_Schema.class.php +++ b/libraries/schema/User_Schema.class.php @@ -419,8 +419,8 @@ class PMA_User_Schema
- -