<div class="header">{#Templates#}</div>
<div class="subheaders">{#Templates_sInf#}</div>
<div class="headers">
<a href="?do=templates">{#Global_Overview#}</a> / <a href="?do=templates&amp;path={$topnav.0}">{$topnav.0}</a> / <a href="?do=templates&amp;path={$topnav.0}/{$topnav.1}&amp;sub=showfiles">{$topnav.1}</a>
</div>


<fieldset>
<legend>{#Templates_selfile#}</legend>
<form action="" method="">
<select name="" size="15" class="input" style="font-size:120%; width:200px" onchange="eval(this.options[this.selectedIndex].value);">
{foreach from=$folders item=f}
<option value="location.href='?do=templates&amp;path={$smarty.request.path}&amp;sub=showfiles&amp;file={$f->Name}'" {if $smarty.request.file==$f->Name}selected="selected"{/if}>{$f->Name|upper}</option>
{/foreach}
</select>
</form>



{if $file_edit}
<p>&nbsp;</p>
{if $writeable!=1}
Datei kann nicht gespeichert werden, das diese nicht die benötigten Schreibrechte besitzt!
{/if}
<form method="post" action="">
<textarea class="input" wrap="off" {if $writeable!=1}readonly="readonly"{/if} style="width:98%; height:400px; font:12px 'Courier New', Courier, monospace; white-space:nowrap" name="file_content">{$file_content|escape:html}</textarea>
<br />

<input type="hidden" name="path" value="{$smarty.request.path}" />
<input type="hidden" name="file" value="{$smarty.request.file}" />
<input type="hidden" name="save" value="1" />
<input class="button" type="submit" value="{#Save#}">
</form>
{/if}</fieldset>