2006-03-29 23:13:14 +02:00
|
|
|
<!-- REMOVE --><?cs include:TemplateDir + '/macros.cs' ?>
|
|
|
|
<!-- list language -->
|
2007-04-03 17:49:24 +02:00
|
|
|
<?cs if:Config.Features.LanguageSelect ?>
|
|
|
|
<?cs if:Data.Action != "list_create" ?>
|
|
|
|
<?cs if:subcount(Data.List.AvailableLanguages) > 0 ?>
|
|
|
|
<label for="list_language"><?cs var:html_escape(Lang.Misc.ListLanguage)
|
|
|
|
?>:</label>
|
|
|
|
<select name="list_language" id="list_language">
|
|
|
|
<?cs each:item = Data.List.AvailableLanguages ?>
|
|
|
|
<option <?cs if:(item == Data.List.Language)
|
2007-04-04 16:56:21 +02:00
|
|
|
?>selected="selected"<?cs /if ?>><?cs var:item
|
|
|
|
?></option><?cs /each ?>
|
2007-04-03 17:49:24 +02:00
|
|
|
</select><?cs /if ?>
|
|
|
|
<?cs else ?>
|
|
|
|
<?cs if:subcount(Data.AvailableLanguages) > 0 ?>
|
|
|
|
<label for="list_language"><?cs var:html_escape(Lang.Misc.ListLanguage)
|
|
|
|
?>:</label>
|
|
|
|
<select name="list_language" id="list_language">
|
|
|
|
<?cs each:item = Data.AvailableLanguages ?>
|
|
|
|
<option <?cs if:item == "default"
|
2007-04-04 16:56:21 +02:00
|
|
|
?>selected="selected"<?cs /if ?>><?cs var:item
|
|
|
|
?></option><?cs /each ?>
|
2007-04-03 17:49:24 +02:00
|
|
|
</select><?cs /if ?>
|
|
|
|
<?cs /if ?>
|
2006-03-29 23:13:14 +02:00
|
|
|
<?cs /if ?>
|