raintpl3 icon indicating copy to clipboard operation
raintpl3 copied to clipboard

The easiest Template Engine for PHP

Results 55 raintpl3 issues
Sort by recently updated
recently updated
newest added

In the compiled code, {loop} tag produces pretty big if() with lots of checks to make sure that variable can be looped though. I think that these checks are unnecessary....

#### Parent Template ``` {loop="$array" as $stats} // temp solution: as $newKey => $stats {include="stat"} {/loop} ``` #### Stat Template ``` {$key} {$stats->hp} {$stats->mp} {$stats->power} ``` {$key} will print nothing.

{include "file.tpl" $var="1"} This will works in smarty. As $var is local variable. It can be migrated to raintpl like this: ``` {$var="1"} {include="file"} ``` But this will occur a...

Either this variable should be added to config, or let the compress plugin do that job.

I had a different location for Rain folder, and it was refusing to work because of that.