mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fixed example of {html_image}
This commit is contained in:
@@ -3750,9 +3750,9 @@ $smarty->display('index.tpl');
|
||||
|
||||
index.tpl:
|
||||
|
||||
{image file="pumpkin.jpg"}
|
||||
{image file="/path/from/docroot/pumpkin.jpg"}
|
||||
{image file="../path/relative/to/currdir/pumpkin.jpg"}
|
||||
{html_image file="pumpkin.jpg"}
|
||||
{html_image file="/path/from/docroot/pumpkin.jpg"}
|
||||
{html_image file="../path/relative/to/currdir/pumpkin.jpg"}
|
||||
|
||||
OUTPUT: (possible)
|
||||
|
||||
|
Reference in New Issue
Block a user