Powered by MediaWiki
Personal tools

Tag item locale flag

From b2evolution manual

Jump to: navigation, search

Display locale flag image.

[edit] Example

<source lang="php"> <?php

 $Item->locale_flag( array(
                'before'      => ' ',
                'after'       => ' ',
                'collection'  => 'h10px',
                'format'      => 'htmlbody',
                'class'       => 'flag',
                'align'       => 
   ) );

?> </source>

[edit] Parameters

Name Default Usage
before (1 space) Displayed before flag.
after (1 space) Displayed after flag.
collection 'h10px' Flags collection. Now, the following collections are available: h10px, w16px.
format 'htmlbody' Format to output.
class 'flag' Flag image CSS class.
align (no space) Flag image align. Align can be one of the following: left, center, right

[edit] Return value

This tag displays content only, it does not have a return value.