cryptonas-archive/v0.3.1/plugins/language_selection/language_selection.cs

23 lines
772 B
C#
Raw Normal View History

2006-12-20 04:29:20 +01:00
<?cs # $Id$ ?>
<h1><?cs var:html_escape(Lang.Plugins.language_selection.Title.Language) ?></h1>
<?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.language_selection.Help.Select) ?>
<div id="lang">
<ul>
<?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>
</div>