X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=messages.php;h=8c66ee2fce17143e6d89d95f1e59e07ae1b654f0;hb=2d753b1cb86b98e2995476b74f47cb5663670e4d;hp=cf979d74975f1bc0d6c838e569f3ac2f051c040e;hpb=df03dc0feb1ecbab9aa238b46167faca504b1547;p=wfpl.git diff --git a/messages.php b/messages.php index cf979d7..8c66ee2 100644 --- a/messages.php +++ b/messages.php @@ -23,36 +23,37 @@ # Just call message("message here") whenever you have something to report. # # -# Once a template is loaded, call display_messages(). run.php will do that -# automatically after your main function returns, so long as you require_once -# this file. +# Once a template is loaded, call display_messages(). run.php will call +# display_messages() for you automaticallly after your main function returns +# (so long as you require_once this file.) If you want these messages to +# persist accross browser redirects, then you should +# require_once("code/wfpl/session_messages.php") # -# Just make sure your template has a section with a -# ~value html~ tag in it. +# Just make sure your template has a section with a +# ~message html~ tag in it. # # Simple example: # -# -#
~value html~
+# +#~message html~
# # # Full-featured example: # -# -# -#~data html~
-# -#~message html~
+# +#