Improve naming
This commit is contained in:
parent
3fd5b26f73
commit
2a66742a00
@ -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 {
|
||||
|
||||
@ -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']);
|
||||
|
||||
|
||||
@ -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']);
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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 />
|
||||
|
||||
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user