- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Locale Flag
Template Tag: Item Locale Flag
Display locale flag image.
== Example ==
<?php
$Item->locale_flag( array(
'before' => ' ',
'after' => ' ',
'collection' => 'h10px',
'format' => 'htmlbody',
'class' => 'flag',
'align' => ''
) );
?>
== Parameters ==
* Name: before
* Default: (1 space)
* Usage: Displayed before flag.
* Name: after
* Default: (1 space)
* Usage: Displayed after flag.
* Name: collection
* Default: ‘h10px’
* Usage: Flags collection. Now, the following collections are available: <b>h10px</b>, <b>w16px</b>.
* Name: format
* Default: ‘htmlbody’
* Usage: Format to output.
* Name: class
* Default: ‘flag’
* Usage: Flag image CSS class.
* Name: align
* Default: (no space)
* Usage: Flag image align. Align can be one of the following: left, center, right
== Return value ==
This tag displays content only, it does not have a return value.