Skip to content
Browse files

Improve naming

  • Loading branch information...
1 parent 3fd5b26 commit 2a66742a00e70d4065971b7f72a0e5221d1da79a @lem9 lem9 committed Apr 29, 2012
View
8 js/functions.js
@@ -1327,15 +1327,15 @@ $(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");
} else if ($("#export_type").val()=='dia') {
$("#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,15 +1344,15 @@ $(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') {
$("#show_grid_opt").removeProp("disabled");
$("#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 {
View
2 libraries/schema/Eps_Relation_Schema.class.php
@@ -817,7 +817,7 @@ function __construct()
$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']);
View
2 libraries/schema/Pdf_Relation_Schema.class.php
@@ -826,7 +826,7 @@ function __construct()
$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']);
View
2 libraries/schema/Svg_Relation_Schema.class.php
@@ -798,7 +798,7 @@ function __construct()
$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();
View
4 libraries/schema/User_Schema.class.php
@@ -419,8 +419,8 @@ public function displaySchemaGenerationOptions()
<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 />
View
2 schema_export.php
@@ -30,7 +30,7 @@
*/
$post_params = array(
- 'all_table_same_wide',
+ 'all_tables_same_width',
'chpage',
'db',
'do',

0 comments on commit 2a66742

Please sign in to comment.
Something went wrong with that request. Please try again.