Changeset 961
- Timestamp:
- 03/04/2008 12:01:56 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
libs/Wakka.class.php (modified) (1 diff)
-
templates/header.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/Wakka.class.php
r944 r961 2545 2545 } 2546 2546 /** 2547 * Get a message, if one was stored before redirection. 2548 * 2547 * Get a message, if one was stored before redirection. 2548 * To set the message, either use {@link Wakka::SetRedirectMessage()} or the second parameter 2549 * of the {@link Wakka::Redirect()} method. 2550 * The message is passed transparently between {@link Wakka::SetRedirectMessage()} and 2551 * GetRedirectMessage(). It is the responsibility of any code setting and getting that 2552 * message to perform any validation against the message (quotes handling, XHTML validation, ...) 2553 * 2554 * @see Wakka::Redirect() 2555 * @see Wakka::SetRedirectMessage() 2549 2556 * @return string either the text of the message or an empty string. 2550 2557 */ -
trunk/templates/header.php
r892 r961 46 46 // get "input" variables 47 47 $message = $this->GetRedirectMessage(); 48 $message = addslashes($this->htmlspecialchars_ent($message)); 48 49 49 50 // init output variables