File: currentAdminUsers%3Bmisc%3Bdefault

package info (click to toggle)
slash 2.2.6-8etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 3,672 kB
  • ctags: 1,915
  • sloc: perl: 23,113; sql: 1,878; sh: 433; makefile: 233
file content (42 lines) | stat: -rwxr-xr-x 846 bytes parent folder | download | duplicates (3)
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
33
34
35
36
37
38
39
40
41
42
__section__
default
__description__
Displays currently logged-in admin users.

* ids = admin uids
* can_edit_admins = boolean for if current user can edit admins

__title__

__page__
misc
__lang__
en_US
__name__
currentAdminUsers
__template__
<TABLE HEIGHT="100%" BORDER="0" CELLPADDING="2" CELLSPACING="0">

[% FOREACH author = ids %]
	[% id         = author.0;
	   lastsecs   = author.1;
	   lasttitle  = author.2;
	   uid        = author.3;
	%]

	<TR><TD BGCOLOR="[% user.bg.3 %]">
		<A HREF="[% constants.rootdir %]/~[% id | fixparam %]/"><FONT COLOR="[% user.fg.3 %]" 
		SIZE="2"><B>[% id %]</B></FONT></A>
	</TD><TD BGCOLOR="[% user.bg.2 %]">
		<FONT COLOR="[% user.fg.1 %]" SIZE="2">[% lastsecs %]
		[% IF lastsecs and lasttitle %]&nbsp;/&nbsp;[% lasttitle %]
		[% END %]
		</FONT>&nbsp;
	</TD></TR>

[% END %]

</TABLE>

__seclev__
10000