Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2012-04-29 23:07:46 +0400
committerMarc Delisle <marc@infomarc.info>2012-04-29 23:07:46 +0400
commit2a66742a00e70d4065971b7f72a0e5221d1da79a (patch)
tree9d3d55cb3dbd716d73590bde9d97ae274e1fecd0
parent3fd5b26f73536c7113f04539e0541910aa932392 (diff)
Improve naming
-rw-r--r--js/functions.js8
-rw-r--r--libraries/schema/Eps_Relation_Schema.class.php2
-rw-r--r--libraries/schema/Pdf_Relation_Schema.class.php2
-rw-r--r--libraries/schema/Svg_Relation_Schema.class.php2
-rw-r--r--libraries/schema/User_Schema.class.php4
-rw-r--r--schema_export.php2
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
<input type="checkbox" name="show_table_dimension" id="show_table_dim_opt" />
<label for="show_table_dim_opt"><?php echo __('Show dimension of tables'); ?>
</label><br />
- <input type="checkbox" name="all_table_same_wide" id="all_table_same_wide" />
- <label for="all_table_same_wide"><?php echo __('Display all tables with the same width'); ?>
+ <input type="checkbox" name="all_tables_same_width" id="all_tables_same_width" />
+ <label for="all_tables_same_width"><?php echo __('Display all tables with the same width'); ?>
</label><br />
<input type="checkbox" name="with_doc" id="with_doc" checked="checked" />
<label for="with_doc"><?php echo __('Data Dictionary'); ?></label><br />
diff --git a/schema_export.php b/schema_export.php
index 637d5f4c83..cafeea7492 100644
--- a/schema_export.php
+++ b/schema_export.php
@@ -30,7 +30,7 @@ require_once "libraries/schema/Export_Relation_Schema.class.php";
*/
$post_params = array(
- 'all_table_same_wide',
+ 'all_tables_same_width',
'chpage',
'db',
'do',