mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-15 07:27:01 +02:00
gui fixes
This commit is contained in:
@ -1,3 +1,17 @@
|
||||
<div id="deleteconfirm-modal" class="modal hide fade">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" role="dialog" aria-hidden="true"><i class="icon-remove"></i></button>
|
||||
<h3><?php print $text_confirm; ?> <?php print $text_delete; ?></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><?php print $text_user_delete_confirm_message; ?> <span id="name">ERROR</span>?</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true"><?php print $text_close; ?></a>
|
||||
<a href="index.php?route=user/remove&uid=-1&name=Error&confirmed=0" class="btn btn-primary" id="id"><?php print $text_delete; ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form method="post" name="search1" action="index.php?route=user/list" class="form-inline pull-right">
|
||||
<div class="input-append">
|
||||
<input type="text" name="search" class="input-medium" value="<?php print $search; ?>" />
|
||||
@ -9,7 +23,7 @@
|
||||
|
||||
<h4><?php print $text_existing_users; ?></h4>
|
||||
|
||||
<?php if(isset($users)){ ?>
|
||||
<?php if(isset($users) && is_array($users)){ ?>
|
||||
|
||||
<div id="pagenav">
|
||||
<?php if($page > 0){ ?><a href="index.php?route=user/list&page=0&search=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?><i class="icon-double-angle-left"></i><?php if($page > 0){ ?></a><?php } ?>
|
||||
@ -25,17 +39,20 @@
|
||||
|
||||
<table class="table table-striped table-condensed" id="ss1">
|
||||
<tr class="domainrow">
|
||||
<th><?php print $text_realname; ?> <a href="index.php?route=user/list&sort=realname&order=0"><i class="icon-chevron-up"></i> <a href="index.php?route=user/list&sort=realname&order=1"><i class="icon-chevron-down"></i></a></th>
|
||||
<th><?php print $text_email; ?> <a href="index.php?route=user/list&sort=email&order=0"><i class="icon-chevron-up"></i> <a href="index.php?route=user/list&sort=email&order=1"><i class="icon-chevron-down"></i></a></th>
|
||||
<th><?php print $text_role; ?> <a href="index.php?route=user/list&sort=role&order=0"><i class="icon-chevron-up"></i> <a href="index.php?route=user/list&sort=role&order=1"><i class="icon-chevron-down"></i></a></th>
|
||||
<th><?php print $text_realname; ?> <a href="index.php?route=user/list&sort=realname&order=0<?php print $querystring; ?>"><i class="icon-chevron-up"></i> <a href="index.php?route=user/list&sort=realname&order=1<?php print $querystring; ?>"><i class="icon-chevron-down"></i></a></th>
|
||||
<th><?php print $text_username; ?> <a href="index.php?route=user/list&sort=username&order=0<?php print $querystring; ?>"><i class="icon-chevron-up"></i> <a href="index.php?route=user/list&sort=username&order=1<?php print $querystring; ?>"<?php print $querystring; ?>><i class="icon-chevron-down"></i></a></th>
|
||||
<th><?php print $text_email; ?> <a href="index.php?route=user/list&sort=email&order=0"><i class="icon-chevron-up"></i> <a href="index.php?route=user/list&sort=email&order=1<?php print $querystring; ?>"><i class="icon-chevron-down"></i></a></th>
|
||||
<th><?php print $text_role; ?> <a href="index.php?route=user/list&sort=role&order=0"><i class="icon-chevron-up"></i> <a href="index.php?route=user/list&sort=role&order=1<?php print $querystring; ?>"><i class="icon-chevron-down"></i></a></th>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
|
||||
<?php foreach($users as $user) { ?>
|
||||
<tr class="domainrow">
|
||||
<td class="domaincell"><?php print $user['realname']; ?></td>
|
||||
<td class="domaincell"><?php if($user['email'] != $user['shortemail']){ ?><span><?php print $user['shortemail']; ?></span><?php } else { print $user['email']; } ?></td>
|
||||
<td class="domaincell">
|
||||
<td><?php print $user['realname']; ?></td>
|
||||
<td><?php print $user['username']; ?></td>
|
||||
<td><?php if($user['email'] != $user['shortemail']){ ?><span><?php print $user['shortemail']; ?></span><?php } else { print $user['email']; } ?></td>
|
||||
<td>
|
||||
<?php
|
||||
if($user['isadmin'] == 0){ print $text_user_regular; }
|
||||
if($user['isadmin'] == 1){ print $text_user_masteradmin; }
|
||||
@ -43,7 +60,8 @@
|
||||
if($user['isadmin'] == 3){ print $text_user_read_only_admin; }
|
||||
?>
|
||||
</td>
|
||||
<td class="domaincell"><a href="index.php?route=user/edit&uid=<?php print $user['uid']; ?>"><?php print $text_edit_or_view; ?></a></td>
|
||||
<td><a href="index.php?route=user/edit&uid=<?php print $user['uid']; ?>"><i class="icon-edit"></i> <?php print $text_edit_or_view; ?></a></td>
|
||||
<td><a href="index.php?route=user/remove&id=<?php print $user['uid']; ?>&user=<?php print $user['username']; ?>" class="confirm-delete" data-id="<?php print $user['uid']; ?>" data-name="<?php print $user['realname']; ?>"><i class="icon-remove-sign"></i> <?php print $text_remove; ?></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
|
Reference in New Issue
Block a user