Added Smarty 3.0.8
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
13
lib/classes/Smarty-3.0.8/demo/templates/index_view.php
Normal file
13
lib/classes/Smarty-3.0.8/demo/templates/index_view.php
Normal file
@@ -0,0 +1,13 @@
|
||||
PHP file test
|
||||
$foo is <?=$foo?>
|
||||
<br> Test functions
|
||||
<? echo trim($foo,"'");?>
|
||||
<br>Test objects
|
||||
<?=$person->setName('Paul')->setAge(39)->introduce()?>
|
||||
<br>Test Arrays
|
||||
<?=$array['a']['aa']?> <?=$array['b']?>
|
||||
<br>function time
|
||||
<? echo time();?>
|
||||
<br>nocache function time
|
||||
<? echo '<? echo time();?>';?>
|
||||
<br>DONE
|
||||
Reference in New Issue
Block a user