bug #1771239 Edit PDF Pages not working
This commit is contained in:
@@ -399,13 +399,7 @@ if (!$is_information_schema) {
|
|||||||
} // end if (!$is_information_schema)
|
} // end if (!$is_information_schema)
|
||||||
|
|
||||||
|
|
||||||
// not sure about leaving the PDF dialog for information_schema
|
// not sure about displaying the PDF dialog in case db is information_schema
|
||||||
if ($num_tables > 0 && strlen($table)) {
|
|
||||||
$takeaway = $url_query . '&table=' . urlencode($table);
|
|
||||||
} else {
|
|
||||||
$takeaway = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
|
if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
|
||||||
<!-- Work on PDF Pages -->
|
<!-- Work on PDF Pages -->
|
||||||
|
|
||||||
@@ -483,20 +477,12 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
|
|||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
} // end if
|
} // end if
|
||||||
?>
|
echo '<br /><a href="pdf_pages.php?' . $url_query . '">';
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<?php
|
|
||||||
echo '<a href="pdf_pages.php?' . $takeaway . '">';
|
|
||||||
if ($cfg['PropertiesIconic']) {
|
if ($cfg['PropertiesIconic']) {
|
||||||
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
||||||
.' alt="" width="16" height="16" />';
|
.' alt="" width="16" height="16" />';
|
||||||
}
|
}
|
||||||
echo $strEditPDFPages . '</a>';
|
echo $strEditPDFPages . '</a>';
|
||||||
?>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<?php
|
|
||||||
} // end if
|
} // end if
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user