diff options
author | David M <davidmj@users.sourceforge.net> | 2006-03-23 01:48:49 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-03-23 01:48:49 +0000 |
commit | 09d5c596eb65ca63fb86d005202570596ebc8e24 (patch) | |
tree | 93170600cd1cdea9a76d9a6a28d704f1ce1e98c4 /phpBB/adm | |
parent | 58f723374b68a796eb79971dc1738a757017672f (diff) | |
download | forums-09d5c596eb65ca63fb86d005202570596ebc8e24.tar forums-09d5c596eb65ca63fb86d005202570596ebc8e24.tar.gz forums-09d5c596eb65ca63fb86d005202570596ebc8e24.tar.bz2 forums-09d5c596eb65ca63fb86d005202570596ebc8e24.tar.xz forums-09d5c596eb65ca63fb86d005202570596ebc8e24.zip |
- Improved Backup ACP UI, more work to come...
git-svn-id: file:///svn/phpbb/trunk@5703 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm')
-rw-r--r-- | phpBB/adm/style/acp_database.html | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/phpBB/adm/style/acp_database.html b/phpBB/adm/style/acp_database.html index 597a79623b..ab59a7f843 100644 --- a/phpBB/adm/style/acp_database.html +++ b/phpBB/adm/style/acp_database.html @@ -24,6 +24,22 @@ <p>{L_ACP_BACKUP_EXPLAIN}</p> +<script type="text/javascript"> +<!-- + + function selector(bool) + { + var table = document.getElementById('table'); + + for (var i = 0; i < table.options.length; i++) + { + table.options[i].selected = bool; + } + } + +//--> +</script> + <form id="acp_backup" method="post" action="{U_ACTION}"> <fieldset> <legend>{L_BACKUP_OPTIONS}</legend> @@ -43,9 +59,11 @@ </dl> <dl> <dt><label for="user">{L_TABLE_SELECT}:</label></dt> + <dd><select id="table" name="table[]" size="10" multiple="true"> <!-- BEGIN tables --> - <dd><input name="table[]" id="table[]" type="checkbox" value="{tables.TABLE}" /> {tables.TABLE}</dd> + <option value="{tables.TABLE}">{tables.TABLE}</option> <!-- END tables --> + </select><br /><br /><div align="right"><a href="#" onclick="selector(true)">{L_SELECT_ALL}</a><br /><a href="#" onclick="selector(false)">{L_DESELECT_ALL}</a></div></dd> </dl> </fieldset> <fieldset class="submit-buttons"> |