X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=class%2Ftemplate%2FSmarty_Template.class.php;h=55235c20fb9969dfe528f338c7b138e418113552;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hp=e666eb002eb3c3735d2e1ec5cfb54c060114715d;hpb=335aac838df96dc73774aa319074deb2ace3a000;p=squirrelmail.git diff --git a/class/template/Smarty_Template.class.php b/class/template/Smarty_Template.class.php index e666eb00..55235c20 100644 --- a/class/template/Smarty_Template.class.php +++ b/class/template/Smarty_Template.class.php @@ -7,7 +7,7 @@ * SquirrelMail and Smarty. All abstract methods from the Template class * are implemented here. * - * @copyright © 2003-2006 The SquirrelMail Project Team + * @copyright 2003-2018 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -20,7 +20,7 @@ * The SquirrelMail Smarty Template class. Extends the base * Template class for use with Smarty template pages. * - * @author Paul Lesniewski + * @author Paul Lesniewski * @package squirrelmail * */ @@ -84,7 +84,7 @@ class Smarty_Template extends Template * @param mixed $value the value to assign FIXME: Proposed idea to add a parameter here that turns variable encoding on, so that we can make sure output is always - run through something like htmlspecialchars() (maybe even nl2br()?) + run through something like sm_encode_html_special_chars() (maybe even nl2br()?) * */ function assign($tpl_var, $value = NULL) { @@ -100,7 +100,7 @@ FIXME: Proposed idea to add a parameter here that turns variable * @param mixed $value the referenced value to assign FIXME: Proposed idea to add a parameter here that turns variable encoding on, so that we can make sure output is always - run through something like htmlspecialchars() (maybe even nl2br()?) + run through something like sm_encode_html_special_chars() (maybe even nl2br()?) * */ function assign_by_ref($tpl_var, &$value) { @@ -152,7 +152,7 @@ FIXME: Proposed idea to add a parameter here that turns variable * variable values FIXME: Proposed idea to add a parameter here that turns variable encoding on, so that we can make sure output is always - run through something like htmlspecialchars() (maybe even nl2br()?) + run through something like sm_encode_html_special_chars() (maybe even nl2br()?) * */ function append($tpl_var, $value = NULL, $merge = FALSE) { @@ -175,7 +175,7 @@ FIXME: Proposed idea to add a parameter here that turns variable * variable values FIXME: Proposed idea to add a parameter here that turns variable encoding on, so that we can make sure output is always - run through something like htmlspecialchars() (maybe even nl2br()?) + run through something like sm_encode_html_special_chars() (maybe even nl2br()?) * */ function append_by_ref($tpl_var, &$value, $merge = FALSE) {