mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
fix typos, rewording
This commit is contained in:
@@ -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
|
||||||
|
@@ -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 {
|
||||||
|
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user