mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
update docs for html_image, add path_prefix
This commit is contained in:
@@ -69,6 +69,13 @@
|
||||
<entry><emphasis>n/a</emphasis></entry>
|
||||
<entry>href value to link the image to</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>path_prefix</entry>
|
||||
<entry>string</entry>
|
||||
<entry>no</entry>
|
||||
<entry><emphasis>n/a</emphasis></entry>
|
||||
<entry>prefix for output path</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
@@ -86,6 +93,10 @@
|
||||
<parameter>href</parameter> is the href value to link the image to. If link is supplied, an
|
||||
<a href="LINKVALUE"><a> tag is placed around the image tag.
|
||||
</para>
|
||||
<para>
|
||||
<parameter>path_prefix</parameter> is an optional prefix string you can give the output path.
|
||||
This is useful if you want to supply a different server name for the image.
|
||||
</para>
|
||||
<para>
|
||||
All parameters that are not in the list above are printed as
|
||||
name/value-pairs inside the created <img> tag.
|
||||
|
Reference in New Issue
Block a user