2015-08-03 11:35:01 +02:00
|
|
|
<form enctype="multipart/form-data" method="post" action="index.php" name="general">
|
|
|
|
<br/>
|
|
|
|
<h3>{$c->__('config.general')}</h3>
|
|
|
|
<div class="block">
|
|
|
|
<div class="select">
|
|
|
|
<select name="language" id="language" value="{$conf.language}">
|
|
|
|
<option value="en">English (default)</option>
|
|
|
|
{loop="$languages"}
|
|
|
|
{if="$key == $conf.language"}
|
2015-12-15 11:54:49 +01:00
|
|
|
<option
|
|
|
|
value="{$key}"
|
2015-08-03 11:35:01 +02:00
|
|
|
selected="selected">
|
|
|
|
{$value}
|
|
|
|
</option>
|
|
|
|
{else}
|
2015-12-15 11:54:49 +01:00
|
|
|
<option
|
2015-08-03 11:35:01 +02:00
|
|
|
value="{$key}">
|
|
|
|
{$value}
|
|
|
|
</option>
|
|
|
|
{/if}
|
|
|
|
{/loop}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<label for="language">{$c->__('config.language')}</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
<div class="select">
|
|
|
|
<select name="roster" id="roster" value="{$conf.roster}">
|
|
|
|
<option value="hide" {if="$conf.roster == 'hide'"}selected="selected"{/if}>
|
|
|
|
{$c->__('config.roster_hide')}
|
|
|
|
</option>
|
|
|
|
<option value="show" {if="$conf.roster == 'show'"}selected="selected"{/if} >
|
|
|
|
{$c->__('config.roster_show')}
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<label for="roster">{$c->__('config.roster')}</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br />
|
2015-12-15 11:54:49 +01:00
|
|
|
<h3>{$c->__('config.advanced')}</h3>
|
2015-08-03 11:35:01 +02:00
|
|
|
|
|
|
|
<div class="block">
|
2015-12-15 11:54:49 +01:00
|
|
|
<input name="cssurl" class="content" placeholder="http://myserver.com/style.css" value="{$conf.cssurl}" type="url">
|
|
|
|
<label for="cssurl">{$c->__('cssurl.label')}</label>
|
2015-08-03 11:35:01 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clear padded"></div>
|
2015-12-15 11:54:49 +01:00
|
|
|
<a
|
|
|
|
onclick="{$submit}"
|
2015-08-03 11:35:01 +02:00
|
|
|
class="button color oppose" >
|
|
|
|
{$c->__('button.save')}
|
|
|
|
</a>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</form>
|