cryptonas-archive/v0.3.4.5/plugins/language_selection/language_selection.cs
lars 152e67283a created new tag v0.3.4.5 (based on v0.3.4.3)
merged changeset 969
updated list of contributers
2007-08-21 23:31:35 +00:00

25 lines
829 B
C#

<?cs # $Id$ ?>
<?cs call:handle_messages() ?>
<fieldset>
<legend>
<?cs call:show_plugin_icon() ?>
<?cs var:html_escape(Lang.Plugins.language_selection.Title.Lang) ?>
</legend>
<?cs call:show_help(Lang.Plugins.language_selection.Help.Select) ?>
<ul class="lang">
<?cs loop:index = #0, subcount(Data.Languages)-1, #1 ?>
<li><a href="<?cs
call:link("language_selection", 'weblang', Data.Languages[index].name, '','') ?>" title="<?cs
var:html_escape(Data.Languages[index].link) ?>" ><?cs
var:html_escape(Data.Languages[index].link) ?></a>
<?cs if:Settings.Language == Data.Languages[index].name ?>
&nbsp;<img src="icons/language_selection?image=list_marker_tango.gif"
alt="symbol: current language" style="vertical-align:middle" />
<?cs /if ?>
</li><?cs /loop ?>
</ul>
</fieldset>