* db_details.php, libraries/functions.js: added possibility to

(un)select all tables at once in the database dump part of the page.
          Thanks to Joachim Fornallaz <jf@omnis.ch> for the patch.
This commit is contained in:
Olivier Müller
2002-01-07 01:15:19 +00:00
parent ceb0cfa585
commit d3476a4f51
3 changed files with 37 additions and 1 deletions

View File

@@ -605,7 +605,16 @@ if ($num_tables > 0) {
<input type="radio" name="what" value="data" />
<?php echo $strStrucData; ?><br />
<input type="radio" name="what" value="dataonly" />
<?php echo $strDataOnly . "\n"; ?>
<?php echo $strDataOnly . "\n"; ?><br />
<?php
if ($num_tables > 1) {
?>
<a href="<?php echo $checkall_url; ?>&amp;checkall=1" onclick="javascript:setSelectOptions('db_dump','table_select[]',true); return false;"><?php echo $strCheckAll; ?></a>
&nbsp;/&nbsp;
<a href="<?php echo $checkall_url; ?>" onclick="javascript:setSelectOptions('db_dump','table_select[]',false); return false;"><?php echo $strUncheckAll; ?></a>
<?php
} // end if
?>
</td>
</tr>
<tr>