Schema Classes structure
This commit is contained in:
@@ -646,6 +646,13 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
|
||||
.' alt="" width="16" height="16" />';
|
||||
}
|
||||
echo __('Edit PDF Pages') . '</a></fieldset>';
|
||||
// Export Relational Schema View
|
||||
echo '<fieldset><a href="export_relation_schema.php?' . $url_query . '">';
|
||||
if ($cfg['PropertiesIconic']) {
|
||||
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
||||
.' alt="" width="16" height="16" />';
|
||||
}
|
||||
echo __('Export Relational Schema View') . '</a></fieldset>';
|
||||
} // end if
|
||||
|
||||
/**
|
||||
|
@@ -1434,8 +1434,14 @@ function refreshDragOption(e) {
|
||||
function refreshLayout() {
|
||||
var elm = $('#pdflayout')
|
||||
var orientation = $('#orientation_opt').val();
|
||||
if($('#paper_opt').length==1)
|
||||
{
|
||||
var paper = $('#paper_opt').val();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
var paper = 'A4';
|
||||
}
|
||||
if (orientation == 'P') {
|
||||
posa = 'x';
|
||||
posb = 'y';
|
||||
@@ -1725,5 +1731,24 @@ $(document).ready(function(){
|
||||
insertQuery(evt.target.id);
|
||||
return false;
|
||||
});
|
||||
|
||||
$("#export_type").change(function(){
|
||||
|
||||
if($("#export_type").val()!='pdf')
|
||||
{
|
||||
$("#show_grid_opt").attr("disabled","disabled");
|
||||
$("#orientation_opt").attr("disabled","disabled");
|
||||
$("#with_doc").attr("disabled","disabled");
|
||||
$(this).css("background-color","yellow");
|
||||
|
||||
}
|
||||
if($("#export_type").val()=='pdf')
|
||||
{
|
||||
$("#show_grid_opt").removeAttr("disabled");
|
||||
$("#orientation_opt").removeAttr("disabled");
|
||||
$("#with_doc").removeAttr("disabled","disabled");
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user