0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
templates
/
[
Home
]
File: translated-lang.tpl
{* displays a cell with the languages of the translation set *} {if count($trads) > 1 || $trads[0].langName} {if $td eq 'y'}<td style="text-align: left; width:42px;">{/if} {if count($trads) > 1} {if $type == 'article'} <form action="tiki-read_article.php" method="get"> <select name="articleId" onchange="this.form.submit()"> {section name=i loop=$trads} <option value="{$trads[i].objId}">{$trads[i].langName}</option> {/section} </select> </form> {else} {* get method to have the param in the url *} <form action="tiki-index.php" method="get"> <select name="page" onchange="this.form.submit()"> {section name=i loop=$trads} <option value="{$trads[i].objName}">{$trads[i].langName}</option> {/section} </select> </form> {/if} {else} {$trads[0].langName} {/if} {if $td eq 'y'}</td>{/if} {/if}