Fix module data for extra/ modules for real

This commit is contained in:
Kyle Fuller
2011-08-05 22:16:21 +01:00
parent da0ba75549
commit e86ff3219d
3 changed files with 11 additions and 11 deletions
@@ -0,0 +1,28 @@
<? INC Header.tmpl ?>
<table class="data">
<thead>
<tr>
<td>Name</td>
<td>Created</td>
<td>State</td>
<td>SSL</td>
<td>Local</td>
<td>Remote</td>
</tr>
</thead>
<tbody>
<? LOOP SocketsLoop ?>
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
<td><? VAR Name ?></td>
<td><? VAR Created ?></td>
<td><? VAR State ?></td>
<td><? VAR SSL ?></td>
<td><? VAR Local ?></td>
<td><? VAR Remote ?></td>
</tr>
<? ENDLOOP ?>
</tbody>
</table>
<? INC Footer.tmpl ?>
@@ -0,0 +1,43 @@
<? INC Header.tmpl ?>
<form method="post" action="/mods/send_raw/">
<? INC _csrf_check.tmpl ?>
<div class="section">
<h3>Send a raw IRC line</h3>
<div class="sectionbg">
<div class="sectionbody">
<div class="subsection third">
<div class="inputlabel">User:</div>
<div><select name="user">
<? LOOP UserLoop?>
<option value="<? VAR Username ESC=HTML ?>"><? VAR Username ESC=HTML ?></option>
<? ENDLOOP ?>
</select></div>
</div>
<div class="subsection third">
<div class="inputlabel">Send to:</div>
<div>
<select 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="subsection full">
<div class="inputlabel">Line:</div>
<div><input type="text" name="line" value="<? VAR line ?>" /></div>
</div>
<div class="subsection submitline">
<input type="submit" value="Send">
</div>
</div>
</div>
</div>
</form>
<? INC Footer.tmpl ?>