3words/views/settings.html

48 lines
2.0 KiB
HTML
Raw Permalink Normal View History

2014-08-18 14:30:29 +02:00
{include="layout"}
{include="navbar"}
<div class="container">
{if="$message"}
<div class="alert alert-info">{$message}</div>
{/if}
2014-08-18 14:30:29 +02:00
<div class="row">
<div class="col-md-3">
2014-08-18 15:41:05 +02:00
<ul class="nav nav-pills nav-stacked">
2014-08-18 15:24:54 +02:00
<li><a href="ucp.php?page=inbox">Inbox</a></li>
2015-08-13 17:23:12 +02:00
<li class="active"><a href="ucp.php?page=settings">Einstellungen</a></li>
2014-08-18 14:30:29 +02:00
</ul>
2014-08-18 01:19:03 +02:00
</div>
2014-08-18 14:30:29 +02:00
<div class="col-md-9">
2014-08-18 17:31:37 +02:00
<form role="form" action="ucp.php?page=settings" method="POST">
2014-08-18 14:30:29 +02:00
<div class="form-group">
2015-08-13 17:23:12 +02:00
<label for="sitename">Seiten Name</label>
<input type="text" class="form-control" name="sitename" placeholder="3 Worte über deiner Mutter" value="{$site_name}">
2014-08-18 14:30:29 +02:00
</div>
<div class="checkbox">
<label>
2015-08-13 17:23:12 +02:00
<input id="recent_check" name="recent_check" type="checkbox" onchange="a(!this.checked)"{if="$recent_public"} checked{/if}> Zeige letzte Worte
2014-08-18 14:30:29 +02:00
</label>
</div>
<div class="form-group">
2015-08-13 17:23:12 +02:00
<label for="recent">Letzte Worte</label>
2014-08-18 17:49:20 +02:00
<input type="number" class="form-control" id="recent-count" name="recent_count" value="{$recent_count}"{if="!$recent_public"} disabled{/if}>
2014-08-18 14:30:29 +02:00
</div>
2015-08-13 17:23:12 +02:00
<button type="submit" class="btn btn-default" id="recent-btn">Speichern</button>
2014-08-18 17:49:20 +02:00
<input type="hidden" name="action" value="generic">
2014-08-18 14:30:29 +02:00
</form>
<hr/>
2014-08-18 17:31:37 +02:00
<form role="form" action="ucp.php?page=settings" method="POST">
2014-08-18 14:30:29 +02:00
<div class="form-group">
2015-08-13 17:23:12 +02:00
<label for="password_change">Neues Passwort</label>
<input type="password" class="form-control" name="password_change" placeholder="Passwort">
2014-08-18 14:30:29 +02:00
</div>
<div class="form-group">
2015-08-13 17:23:12 +02:00
<label for="password_verify">Neues Passwort wiederholen</label>
<input type="password" class="form-control" name="password_verify" placeholder="Passwort">
2014-08-18 14:30:29 +02:00
</div>
2015-08-13 17:23:12 +02:00
<button type="submit" class="btn btn-default">Passwort ändern</button>
2014-08-18 17:49:20 +02:00
<input type="hidden" name="action" value="password">
2014-08-18 14:30:29 +02:00
</form>
2014-08-18 01:19:03 +02:00
</div>
2014-08-18 14:30:29 +02:00
</div>
</div>
{include="footer"}