From 6f8fe88948cdc9e32dc9cb4d90c5c023bbfcfe1f Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 20 Mar 2006 08:35:05 +0000 Subject: more tweaking to catalog builds.. still in a transition point so it is a little ugly --- lib/ui.lib.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib') 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; -- cgit