Update Smarty und RedBean
Smarty: 3.1.30 - Redbean: 5.0.0
This commit is contained in:
parent
eb0835ff74
commit
0795a87ecd
193 changed files with 22035 additions and 14455 deletions
|
@ -37,15 +37,17 @@ class Smarty_Internal_Nocache_Insert
|
|||
}
|
||||
// call insert
|
||||
if (isset($_assign)) {
|
||||
$_output .= "\$_smarty_tpl->assign('{$_assign}' , {$_function} (" . var_export($_attr, true) . ",\$_smarty_tpl), true);?>";
|
||||
$_output .= "\$_smarty_tpl->assign('{$_assign}' , {$_function} (" . var_export($_attr, true) .
|
||||
",\$_smarty_tpl), true);?>";
|
||||
} else {
|
||||
$_output .= "echo {$_function}(" . var_export($_attr, true) . ",\$_smarty_tpl);?>";
|
||||
}
|
||||
$_tpl = $_template;
|
||||
while ($_tpl->parent instanceof Smarty_Internal_Template) {
|
||||
while (isset($_tpl->parent) && $_tpl->parent->_objType == 2) {
|
||||
$_tpl = $_tpl->parent;
|
||||
}
|
||||
|
||||
return "/*%%SmartyNocache:{$_tpl->properties['nocache_hash']}%%*/" . $_output . "/*/%%SmartyNocache:{$_tpl->properties['nocache_hash']}%%*/";
|
||||
return "/*%%SmartyNocache:{$_tpl->compiled->nocache_hash}%%*/" . $_output .
|
||||
"/*/%%SmartyNocache:{$_tpl->compiled->nocache_hash}%%*/";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue