2014-02-11 05:44:19 +01:00
|
|
|
<? ADDROW JSLoop HREF=/modfiles/user/send_raw/select.js ?>
|
|
|
|
<? INC Header.tmpl ?>
|
|
|
|
|
2014-09-19 20:19:24 +02:00
|
|
|
<div class="container col-md-10 col-md-offset-1">
|
2014-02-11 05:44:19 +01:00
|
|
|
<div class="panel panel-default">
|
2014-09-19 20:19:24 +02:00
|
|
|
<div class="panel-heading">Send RAW · Send a raw IRC line</div>
|
2014-02-11 05:44:19 +01:00
|
|
|
<div class="panel-body">
|
2014-05-21 09:41:26 +02:00
|
|
|
<form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>">
|
2014-02-11 05:44:19 +01:00
|
|
|
<? INC _csrf_check.tmpl ?>
|
2014-09-19 20:19:24 +02:00
|
|
|
|
2014-02-11 05:44:19 +01:00
|
|
|
<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="To change user, click to Network selector"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="inputUserNetwork" class="col-sm-2 control-label">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">Send to:</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<select class="form-control" name="send_to">
|
|
|
|
<option value="client"<? IF to_client ?> selected="yes"<? ENDIF ?>>Client</option>
|
|
|
|
<option value="server"<? IF to_server ?> selected="yes"<? ENDIF ?>>Server</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="inputLine" class="col-sm-2 control-label">Line:</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<input type="text" class="form-control" id="inputLine" name="line" value="<? VAR line ?>">
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-09-19 20:19:24 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel-footer text-right">
|
2014-02-11 05:44:19 +01:00
|
|
|
<input class="btn btn-danger" type="reset" value="Reset">
|
|
|
|
<input class="btn btn-success" type="submit" value="Send" />
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript">init();</script>
|
|
|
|
|
|
|
|
<? INC Footer.tmpl ?>
|