X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=messages.php;h=98ada56c16029afc69cbb2ebfee198c2ab4192fc;hb=9c8566f495179ab2b56aeae0c4ee0222dffd0210;hp=0dc21e212fc5aa289354be044fe371efc601b467;hpb=19290886b2b738f1cc43f2d7bdea74bf05603b17;p=wfpl.git diff --git a/messages.php b/messages.php index 0dc21e2..98ada56 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~
+# +#