Empty commit

This commit is contained in:
Git 2013-07-25 08:00:49 +00:00
parent df16f6adee
commit dbd77eb9b5
2 changed files with 47 additions and 2 deletions

View File

@ -95,7 +95,12 @@
$Invited = $DB->to_array();
View::show_header('Invites');
$JSIncludes = "";
if (check_perms('users_mod') || check_perms('admin_advanced_user_search')) {
$JSIncludes = "invites";
}
View::show_header('Invites', $JSIncludes);
?>
<div class="thin">
<div class="header">
@ -150,9 +155,33 @@
<input type="submit" value="Invite" />
</td>
</tr>
</table>
</form>
<!--<strip> -->
<? if (check_perms('users_mod') || check_perms('admin_advanced_user_search')) { ?>
<tr>
<td class="label">Username:</td>
<td><input type="text" id="username"/></td>
</tr>
<tr>
<td class="label">Email:</td>
<td><input type="text" id="email"/></td>
</tr>
<tr>
<td class="label">IP:</td>
<td>
<input type="text" id="ip"/>
<a class="brackets" href="#" id="lookup">Lookup</a>
</td>
</tr>
<? } ?>
<!--</strip> -->
</table>
</div>
<!--<strip> -->
<table id="results"></table>
<!--</strip> -->
<?
} elseif (!empty($LoggedUser['DisableInvites'])) { ?>
<div class="box pad" style="text-align: center;">

View File

@ -531,3 +531,19 @@ tr.torrent .bookmark>a:after {
.process_info_data {
overflow: auto;
}
#invite_extra_box {
align: middle;
width: 300px;
height: 100px;
}
#invite_extra_box input {
float: right;
display: inline;
}
#invite_extra_box label {
width: 250px;
display: block;
}