X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=messages.php;h=9db80a136431c9c378fed518fce37509788a1244;hb=48bc8c7ca2448555a225b5996effcc9d41bdcfed;hp=187f083ff620592ce5e2373aa48f9315eb11fef1;hpb=a11c234de210c655511de6e841eaf87d4787b3f5;p=wfpl.git diff --git a/messages.php b/messages.php index 187f083..9db80a1 100644 --- a/messages.php +++ b/messages.php @@ -2,21 +2,18 @@ # Copyright (C) 2007 Jason Woofenden # -# This file is part of wfpl. -# -# wfpl is free software; you can redistribute it and/or modify it under the -# terms of the GNU Lesser General Public License as published by the Free -# Software Foundation; either version 2.1 of the License, or (at your option) -# any later version. -# -# wfpl is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for -# more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with wfpl; if not, write to the Free Software Foundation, Inc., 51 -# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . @@ -89,6 +86,7 @@ function display_messages($template = 0) { $template->sub('message_box'); } $template->sub('message_container'); + unset($GLOBALS['wfpl_messages']); } }