1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/widgets/Config/_config_form.tpl
2015-12-15 11:54:49 +01:00

56 lines
2 KiB
Smarty

<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"}
<option
value="{$key}"
selected="selected">
{$value}
</option>
{else}
<option
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 />
<h3>{$c->__('config.advanced')}</h3>
<div class="block">
<input name="cssurl" class="content" placeholder="http://myserver.com/style.css" value="{$conf.cssurl}" type="url">
<label for="cssurl">{$c->__('cssurl.label')}</label>
</div>
<div class="clear padded"></div>
<a
onclick="{$submit}"
class="button color oppose" >
{$c->__('button.save')}
</a>
<div class="clear"></div>
</form>