--- /dev/null
+[% USE HTML %]<body class="admin">
+
+ <h2>[% title %]</h2>
+
+ <form method="post" action="admin.pl">
+
+ <p>You can only delete datasets that are not in use.
+ If you want to delete such a dataset you have to edit the user(s) that are using the dataset in question and have them use another dataset.</p>
+
+ <p>Please seletct the dataset you want to delete:
+ <select name="db">[% FOREACH row = DBSOURCES %]<option>[% HTML.escape(row.name) %]</option>[% END %]</select>
+ </p>
+
+ <input type="hidden" name="dbdriver" value="[% HTML.escape(dbdriver) %]">
+ <input type="hidden" name="dbuser" value="[% HTML.escape(dbuser) %]">
+ <input type="hidden" name="dbhost" value="[% HTML.escape(dbhost) %]">
+ <input type="hidden" name="dbport" value="[% HTML.escape(dbport) %]">
+ <input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
+ <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
+
+ <input name="callback" type="hidden" value="admin.pl?action=list_users">
+
+
+ <input type="hidden" name="nextsub" value="dbdelete">
+
+ <p><input type="submit" class="submit" name="action" value="Continue"></p>
+
+ </form>
+
+</body>
+</html>