flag_icon
Summary
Outputs an image tag referencing a flag icon.Usage
input|flag_icon()
Returns
A string containing an image tag.Description
This operator generates an image tag that references a flag icon. The country code must be provided using the input parameter. This operator is frequently used by the administration interface.
Examples
Example 1
{'eng-GB'|class_icon()}
The following output will be produced:
<img src="/share/icons/flags/eng-GB.gif" alt="English (United Kingdom)" />
Balazs Halasy (21/03/2005 9:54 am)
Balazs Halasy (04/05/2005 2:25 pm)
Comments
It's flag_icon and not class_icon
Friday 17 February 2006 8:00:40 am
Maxime THOMAS
not complete image tag
Thursday 09 March 2006 10:13:19 am
Bergfrid Skaara