Migration SVN

This commit is contained in:
2016-02-21 14:28:40 +01:00
commit df45f10305
1455 changed files with 20440 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage plugins
*/
/**
{assign var="test" value=1}
{while ($test <= 5)}
{assign var="test" value="`$test+1`"}
jo
{endwhile}
*/
function smarty_compiler_while($tag_arg, &$smarty) {
$res = $smarty->_compile_if_tag($tag_arg);
preg_match("/<\?php if (.*): \?>/",$res,$token);
return "while " . $token[1] . " {";
}
?>