summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-20 08:35:05 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-20 08:35:05 +0000
commit6f8fe88948cdc9e32dc9cb4d90c5c023bbfcfe1f (patch)
tree5fae977520a79eb3a68412d0999f801f8fcfc05d /lib
parente1113fa54352ee57b8b2287f1a2e3b2a6896932e (diff)
downloadampache-6f8fe88948cdc9e32dc9cb4d90c5c023bbfcfe1f.tar.gz
ampache-6f8fe88948cdc9e32dc9cb4d90c5c023bbfcfe1f.tar.bz2
ampache-6f8fe88948cdc9e32dc9cb4d90c5c023bbfcfe1f.zip
more tweaking to catalog builds.. still in a transition point so it is a little ugly
Diffstat (limited to 'lib')
-rw-r--r--lib/ui.lib.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index 7dd36aad..fc200ee7 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -31,11 +31,12 @@
/**
* show_confirmation
* shows a confirmation of an action
- * @param $next_url Where to go next
- * @param $title The Title of the message
- * @param $text The details of the message
+ * $next_url Where to go next
+ * $title The Title of the message
+ * $text The details of the message
+ * $cancel T/F show a cancel button that uses return_referrer()
*/
-function show_confirmation($title,$text,$next_url) {
+function show_confirmation($title,$text,$next_url,$cancel=0) {
if (substr_count($next_url,conf('web_path'))) {
$path = $next_url;