mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-15 04:57:02 +02:00
merging new gui part #1
This commit is contained in:
@ -1,139 +1,113 @@
|
||||
|
||||
<?php if(!isset($x)){ ?>
|
||||
|
||||
<form action="settings.php" method="post" name="setpagelen" class="formbottom">
|
||||
|
||||
<h4><?php print $text_access_settings; ?></h4>
|
||||
|
||||
<div id="search">
|
||||
|
||||
<div class="row">
|
||||
<div class="logincell"><?php print $text_email_addresses; ?>:</div>
|
||||
<div class="cell2">
|
||||
<p><em><?php print $text_access_setting_explanation; ?></em></p>
|
||||
|
||||
<table class="table table-striped">
|
||||
<tr>
|
||||
<td class="span2"><?php print $text_email_addresses; ?>:</td>
|
||||
<td class="span8">
|
||||
<?php print $emails; ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php if(Registry::get('auditor_user') == 1 && RESTRICTED_AUDITOR == 1) { ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="logincell"><?php print $text_domains; ?>:</div>
|
||||
<div class="cell2">
|
||||
<tr>
|
||||
<td><?php print $text_domains; ?>:</td>
|
||||
<td>
|
||||
<?php print $domains; ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php if(Registry::get('auditor_user') == 0 || RESTRICTED_AUDITOR == 0) { ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="logincell"><?php print $text_groups; ?>:</div>
|
||||
<div class="cell2">
|
||||
<tr>
|
||||
<td><?php print $text_groups; ?>:</td>
|
||||
<td>
|
||||
<?php print $groups; ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="logincell"><?php print $text_folders; ?>:</div>
|
||||
<div class="cell2">
|
||||
<tr>
|
||||
<td><?php print $text_folders; ?>:</td>
|
||||
<td>
|
||||
<?php print $folders; ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<p><em><?php print $text_access_setting_explanation; ?></em></p>
|
||||
|
||||
</div>
|
||||
</table>
|
||||
|
||||
<form action="/settings.php" method="post" name="setpagelen" class="form-horizontal">
|
||||
|
||||
<h4><?php print $text_display_settings; ?></h4>
|
||||
|
||||
<div id="search">
|
||||
|
||||
<h4><?php print $text_display_settings; ?></h4>
|
||||
|
||||
<div id="search1">
|
||||
|
||||
<div class="row">
|
||||
<div class="logincell"><?php print $text_page_length; ?>:</div>
|
||||
<div class="cell2">
|
||||
<select name="pagelen">
|
||||
<option value="10"<?php if($page_len == 10) { ?> selected="selected"<?php } ?>>10
|
||||
<option value="20"<?php if($page_len == 20) { ?> selected="selected"<?php } ?>>20
|
||||
<option value="30"<?php if($page_len == 30) { ?> selected="selected"<?php } ?>>30
|
||||
<option value="50"<?php if($page_len == 50) { ?> selected="selected"<?php } ?>>50
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="logincell"><?php print $text_theme; ?>:</div>
|
||||
<div class="cell2">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="pagelen"><?php print $text_page_length; ?></label>
|
||||
<div class="controls">
|
||||
<select name="pagelen">
|
||||
<option value="10"<?php if($page_len == 10) { ?> selected="selected"<?php } ?>>10
|
||||
<option value="20"<?php if($page_len == 20) { ?> selected="selected"<?php } ?>>20
|
||||
<option value="30"<?php if($page_len == 30) { ?> selected="selected"<?php } ?>>30
|
||||
<option value="50"<?php if($page_len == 50) { ?> selected="selected"<?php } ?>>50
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="theme"><?php print $text_theme; ?></label>
|
||||
<div class="controls">
|
||||
<select name="theme">
|
||||
<?php foreach(Registry::get('themes') as $t) { ?>
|
||||
<option value="<?php print $t; ?>"<?php if(isset($_SESSION['theme']) && $_SESSION['theme'] == $t) { ?> selected="selected"<?php } ?>><?php print $t; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="logincell"><?php print $text_language; ?>:</div>
|
||||
<div class="cell2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="theme"><?php print $text_language; ?></label>
|
||||
<div class="controls">
|
||||
<select name="lang">
|
||||
<option value=""><?php print $text_use_browser_settings; ?></option>
|
||||
<?php foreach(Registry::get('langs') as $t) { ?>
|
||||
<option value="<?php print $t; ?>"<?php if(isset($_SESSION['lang']) && $_SESSION['lang'] == $t) { ?> selected="selected"<?php } ?>><?php print $t; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="logincell"> </div>
|
||||
<div class="cell2"><input type="submit" value="<?php print $text_set; ?>" class="btn btn-primary" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<input type="submit" value="<?php print $text_set; ?>" class="btn btn-primary" /> <input type="reset" value="<?php print $text_cancel; ?>" class="btn btn" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<p> </p>
|
||||
|
||||
<?php if(PASSWORD_CHANGE_ENABLED == 1) { ?>
|
||||
<div id="search">
|
||||
<form method="post" name="pwdchange" action="settings.php" class="formbottom">
|
||||
<div id="ss1">
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_password; ?>:</div>
|
||||
<div class="domaincell"><input type="password" class="text" name="password" /></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_password_again; ?>:</div>
|
||||
<div class="domaincell"><input type="password" class="text" name="password2" /></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"><input type="submit" class="btn btn-primary" value="<?php print $text_submit; ?>" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<h4><?php print $text_change_password; ?></h4>
|
||||
<form name="pwdchange" action="index.php?route=common/home" method="post" autocomplete="off">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr><td><?php print $text_password; ?>: </td><td><input type="password" name="password" /></td></tr>
|
||||
<tr><td><?php print $text_password_again; ?>: </td><td><input type="password" name="password2" /></td></tr>
|
||||
<tr><td> </td><td><input type="submit" value="<?php print $text_submit; ?>" /> <input type="reset" value="<?php print $text_cancel; ?>" /></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<p> </p>
|
||||
|
||||
<?php } else { ?>
|
||||
<?php print $x; ?>. <a href="settings.php"><?php print $text_back; ?></a>
|
||||
<?php print $x; ?>. <a href="index.php?route=common/home"><?php print $text_back; ?></a>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user