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

153 lines
4.7 KiB
Smarty
Raw Normal View History

<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>
<div class="clear"></div>
<br />
<!--
<h3>{$c->__('config.notifications')}</h3>
<div class="block">
<div class="checkbox">
<input
type="checkbox"
id="privacy"
name="privacy"
{if="$me->privacy"}
checked
{/if}
onchange="{$privacy}">
<label for="privacy"></label>
</div>
<label for="language">{$c->__('notifications.message')}</label>
</div>
<div class="block">
<div class="checkbox">
<input
type="checkbox"
id="privacy"
name="privacy"
{if="$me->privacy"}
checked
{/if}
onchange="{$privacy}">
<label for="privacy"></label>
</div>
<label for="language">{$c->__('notifications.desktop')}</label>
</div>-->
<!--
<h3>{$c->__('config.appearence')}</h3>-->
<!--<div class="block large" id="nav_color">
<a
type="button"
style="width: 45%; float: right;"
class="button flat">
{$c->__('button.reset')}
</a>
<input
style="box-shadow: none; width: 50%; float: left;"
name="color"
class="color"
value="
{if="isset($color)"}
{$color}
{else}
082D50
{/if}
">
<label for="color"><i class="fa fa-adjust"></i> {$c->__('config.background_color')}</label>
</div>-->
<!--
<div class="block large" id="font_size">
<label for="size"><i class="fa fa-font"></i> {$c->__('config.font_size')}</label>
<a
type="button"
class="button flat">
{$c->__('button.reset')}
</a>
<span>
12
<input
id="slide"
type="range"
min="12"
max="16"
step="0.5"
value="
{if="isset($size)"}
{$size}
{else}
14
{/if}
"
name="size"
style="width: 45%;"
/>
16
</span>
<span id="currentsize">
{if="isset($size)"}
{$size}
{else}
14
{/if}
px
</span>
</div>
-->
<!--<label id="lock" for="soundnotif">{$c->t('Enable Sound Notification:'); ?></label>
<input type="checkbox" name="soundnotif" value="soundnotif" checked="checked" /><br /> -->
<!--<input value="{$c->t('Submit'); ?>" onclick="<?php echo $submit; ?>" type="button" class="button icon yes merged right" style="float: right;">
<input type="reset" value="{$c->t('Reset'); ?>" class="button icon no merged left" style="float: right;">-->
<div class="clear padded"></div>
<a
onclick="{$submit}"
class="button color oppose" >
{$c->__('button.save')}
</a>
<div class="clear"></div>
</form>
<!--
<div class="message info">{$c->__('config.info')}</div>-->