fix typos, rewording

This commit is contained in:
monte.ohrt
2011-02-11 22:21:17 +00:00
parent 0154f17de2
commit f9ce2d8c7e
3 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
===== SVN trunk ===== ===== SVN trunk =====
09/02/2011 09/02/2011
- bugfix removed security hole when using {$smarty.template} - patched vulnerability when using {$smarty.template}
01/02/2011 01/02/2011
- removed assert() from config and template parser - removed assert() from config and template parser

View File

@@ -331,7 +331,7 @@ class Smarty extends Smarty_Internal_Data {
$_gmt_mtime = ''; $_gmt_mtime = '';
} }
} }
// return redered template // return rendered template
if ((!$this->caching || $_template->resource_object->isEvaluated) && (isset($this->autoload_filters['output']) || isset($this->registered_filters['output']))) { if ((!$this->caching || $_template->resource_object->isEvaluated) && (isset($this->autoload_filters['output']) || isset($this->registered_filters['output']))) {
$_output = Smarty_Internal_Filter_Handler::runFilter('output', $_template->getRenderedTemplate(), $_template); $_output = Smarty_Internal_Filter_Handler::runFilter('output', $_template->getRenderedTemplate(), $_template);
} else { } else {

View File

@@ -832,7 +832,7 @@ class Smarty_Internal_Template extends Smarty_Internal_Data {
} }
/** /**
* creates a loacal Smarty variable for array assignments * creates a local Smarty variable for array assignments
*/ */
public function createLocalArrayVariable($tpl_var, $nocache = false, $scope = Smarty::SCOPE_LOCAL) public function createLocalArrayVariable($tpl_var, $nocache = false, $scope = Smarty::SCOPE_LOCAL)
{ {