summaryrefslogtreecommitdiffstats
path: root/templates/show_confirmation.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-06-19 06:32:23 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-06-19 06:32:23 +0000
commitcef43c3602c38fe4b49e74bdfa429c66929ada0e (patch)
tree0eaf81ca59c5c52ff023254105afb9f43b67cfc5 /templates/show_confirmation.inc.php
parentcabbf907970a6d514a4b9288abcfec3c0c6b2d55 (diff)
downloadampache-cef43c3602c38fe4b49e74bdfa429c66929ada0e.tar.gz
ampache-cef43c3602c38fe4b49e74bdfa429c66929ada0e.tar.bz2
ampache-cef43c3602c38fe4b49e74bdfa429c66929ada0e.zip
reorganize the menu a whole bunch and add a confirmation page to the catalog deletion
Diffstat (limited to 'templates/show_confirmation.inc.php')
-rw-r--r--templates/show_confirmation.inc.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/templates/show_confirmation.inc.php b/templates/show_confirmation.inc.php
index fb66ce4b..53bdd493 100644
--- a/templates/show_confirmation.inc.php
+++ b/templates/show_confirmation.inc.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2007 Ampache.org
+ Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
@@ -18,12 +18,19 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+$confirmation = Core::form_register($form_name);
?>
<?php show_box_top(scrub_out($title)); ?>
<?php echo $text; ?>
<br />
- <a class="button" href="<?php echo $path; ?>"><?php echo _('Continue'); ?></a>
+ <form method="post" action="<?php echo $path; ?>" style="display:inline;">
+ <input type="submit" value="<?php echo _('Continue'); ?>" />
+ <?php echo $confirmation; ?>
+ </form>
<?php if ($cancel) { ?>
- <a class="button" href="<?php echo Config::get('web_path') . "/" . return_referer(); ?>"><?php echo _('Cancel'); ?></a>
+ <form method="post" action="<?php echo Config::get('web_path') . '/' . return_referer(); ?>" style="display:inline;">
+ <input type="submit" value="<?php echo _('Cancel'); ?>" />
+ <?php echo $confirmation; ?>
+ </form>
<?php } ?>
<?php show_box_bottom(); ?>