61 lines
2.2 KiB
Cheetah
61 lines
2.2 KiB
Cheetah
<? ADDROW JSLoop HREF=/modfiles/user/send_raw/select.js ?>
|
|
<? INC Header.tmpl ?>
|
|
|
|
<div class="container col-md-10 col-md-offset-1">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading"><? FORMAT "Send a raw IRC line" ?></div>
|
|
<div class="panel-body">
|
|
<form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>">
|
|
<? INC _csrf_check.tmpl ?>
|
|
|
|
<div class="form-group">
|
|
<label for="inputUser" class="col-sm-2 control-label">User:</label>
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control" id="user" disabled="disabled" title="<? FORMAT "To change user, click to Network selector" ?>"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="inputUserNetwork" class="col-sm-2 control-label"><? FORMAT "User/Network:" ?></label>
|
|
<div class="col-sm-10">
|
|
<select class="form-control" name="network" id="selectnetwork" onchange="javascript:updateUser()">
|
|
<? LOOP UserLoop ?>
|
|
<optgroup label="<? VAR Username ?>">
|
|
<? LOOP NetworkLoop ?>
|
|
<option value="<? VAR Username ?>/<? VAR Network ?>"><? VAR Network ?></option>
|
|
<? ENDLOOP ?>
|
|
</optgroup>
|
|
<? ENDLOOP ?>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="inputSendto" class="col-sm-2 control-label"><? FORMAT "Send to:" ?></label>
|
|
<div class="col-sm-10">
|
|
<select class="form-control" name="send_to">
|
|
<option value="client"<? IF to_client ?> selected="yes"<? ENDIF ?>><? FORMAT "Client" ?></option>
|
|
<option value="server"<? IF to_server ?> selected="yes"<? ENDIF ?>><? FORMAT "Server" ?></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="inputLine" class="col-sm-2 control-label"><? FORMAT "Line:" ?></label>
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control" id="inputLine" name="line" value="<? VAR line ?>">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="panel-footer text-right">
|
|
<input class="btn btn-danger" type="reset" value="Reset">
|
|
<input class="btn btn-success" type="submit" value="<? FORMAT "Send" ?>" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">init();</script>
|
|
|
|
<? INC Footer.tmpl ?> |