do not show Export link on printview output

This commit is contained in:
Marc Delisle
2003-01-21 20:08:17 +00:00
parent 353e5c40a0
commit a798255cf2

View File

@@ -564,7 +564,8 @@ else {
// Export link, if only one table // Export link, if only one table
// (the url_query has extra parameters that won't be used to export) // (the url_query has extra parameters that won't be used to export)
if (isset($analyzed_sql[0]['table_ref'][0]['table_true_name']) if (!isset($printview)
&& isset($analyzed_sql[0]['table_ref'][0]['table_true_name'])
&& !isset($analyzed_sql[0]['table_ref'][1]['table_true_name'])) { && !isset($analyzed_sql[0]['table_ref'][1]['table_true_name'])) {
echo ' <!-- Export -->' . "\n" echo ' <!-- Export -->' . "\n"
. ' <a href="tbl_properties_export.php3' . $url_query . '&amp;unlim_num_rows=' . $unlim_num_rows . '">' . $strExport . '</a>' . "\n"; . ' <a href="tbl_properties_export.php3' . $url_query . '&amp;unlim_num_rows=' . $unlim_num_rows . '">' . $strExport . '</a>' . "\n";