summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
authormomo-i <webmaster@momo-i.org>2011-02-04 14:34:11 +0900
committermomo-i <webmaster@momo-i.org>2011-02-04 14:34:11 +0900
commitb3289a24f4d0a5e4f22422985d50ce199d70e341 (patch)
tree347bd098133649e729f9d820b72365ab42fc0285 /lib/ui.lib.php
parent115500a3e8e945ce3a09846f107d36460f08f01c (diff)
downloadampache-b3289a24f4d0a5e4f22422985d50ce199d70e341.tar.gz
ampache-b3289a24f4d0a5e4f22422985d50ce199d70e341.tar.bz2
ampache-b3289a24f4d0a5e4f22422985d50ce199d70e341.zip
Add function that check ampache and php version from each website.
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r--lib/ui.lib.php15
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index d82c20f8..6e60a36f 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -36,11 +36,14 @@
/**
* show_confirmation
+ *
* shows a confirmation of an action
- * $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()
+ *
+ * @param string $title The Title of the message
+ * @param string $text The details of the message
+ * @param string $next_url Where to go next
+ * @param integer $cancel T/F show a cancel button that uses return_referrer()
+ * @return void
*/
function show_confirmation($title,$text,$next_url,$cancel=0,$form_name='confirmation') {
@@ -57,8 +60,12 @@ function show_confirmation($title,$text,$next_url,$cancel=0,$form_name='confirma
/**
* flip_class
+ *
* First called with an array of 2 class names. Subsequent calls reverse the
* array then return the first element.
+ *
+ * @param array $array
+ * @return mixed void or classname
*/
function flip_class($array=0) {