File: ListUsers.tmpl

package info (click to toggle)
znc 0.045-3%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,120 kB
  • ctags: 2,324
  • sloc: cpp: 17,406; sh: 2,380; perl: 448; makefile: 134
file content (32 lines) | stat: -rw-r--r-- 881 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<? INC Header.tmpl ?>
		<?IF !UserLoop?>
				There are no users defined.  Click <a href="/adduser">here</a> if you would like to add one.
		<?ELSE?>
				<table>
					<thead>
					<tr>
						<td>Action</td>
						<td>Username</td>
						<td>Clients</td>
						<td>Current Server</td>
						<td>IRC Nick</td>
					</tr>
					</thead>

			<?LOOP UserLoop?>
					<tr class="<?IF __EVEN__?>evenrow<?ELSE?>oddrow<?ENDIF?>">
						<td>
							<span class="nowrap">
								[<a href="/edituser?user=<?VAR Username ESC=URL?>">Edit</a>]
								[<a href="/deluser?user=<?VAR Username ESC=URL?>">Delete</a>]
							</span>
						</td>
						<td><? VAR Username ESC=HTML ?></td>
						<td><? VAR Clients ESC=HTML ?></td>
						<td><? VAR Server ESC=HTML DEFAULT="-N/A-" ?></td>
						<td><? VAR IRCNick ESC=HTML ?></td>
					</tr>
			<?ENDLOOP?>
				</table>
		<?ENDIF?>
<? INC Footer.tmpl ?>