head	1.7;
access;
symbols
	TIGRIS_1_1_0RC2:1.6.6.2
	TIGRIS_1_1_0RC1:1.6.6.2
	TIGRIS_1_1:1.6.6.2.0.2
	TIGRIS_1_0_8:1.6.6.2
	TIGRIS_1_0_8RC3:1.6.6.2
	TIGRIS_1_0_8RC2:1.6.6.2
	TIGRIS_1_0_8RC1:1.6.6.2
	TIGRIS_1_0_7:1.6.6.2
	TIGRIS_1_0_7RC3:1.6.6.2
	TIGRIS_1_0_7RC2:1.6.6.2
	TIGRIS_1_0_7RC1:1.6.6.2
	TIGRIS_1_0_6:1.6.6.2
	TIGRIS_1_0_6RC5:1.6.6.2
	TIGRIS_1_0_6RC4:1.6.6.2
	TIGRIS_1_0_6RC3:1.6.6.2
	TIGRIS_1_0_6RC2:1.6.6.2
	TIGRIS_1_0_6RC1:1.6.6.2
	TIGRIS_1_0_5:1.6
	TIGRIS_1_0_5RC6:1.6
	TIGRIS_1_0_5RC5:1.6
	TIGRIS_1_0_5RC4:1.6
	TIGRIS_1_0_5RC3:1.6
	TIGRIS_1_0_5RC2:1.6
	TIGRIS_1_0_5RC1:1.6
	TIGRIS_1_0_4:1.6
	TIGRIS_1_0_3:1.6
	TIGRIS_1_0_2:1.6
	TIGRIS_1_0_1:1.6
	TIGRIS_1_0:1.6.0.6
	TIGRIS_1_0_0:1.6
	TIGRIS_1_0_0_RC1:1.6.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.2
	TIGRIS_0_9_2_3:1.2
	HELM_PEER_PORT_BRANCH:1.1.1.1
	TURBINE_PEER:1.2
	TIGRIS_0_9_2_1:1.2
	TIGRIS_0_9_2:1.2.0.2
	TIGRIS_0_9_0:1.1.0.2;
locks; strict;
comment	@# @;


1.7
date	2001.05.23.02.04.14;	author dlr;	state dead;
branches;
next	1.6;

1.6
date	2001.03.24.09.06.03;	author jrobbins;	state Exp;
branches
	1.6.6.1;
next	1.5;

1.5
date	2001.03.23.00.32.39;	author jrobbins;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.23.00.31.14;	author jrobbins;	state Exp;
branches;
next	1.3;

1.3
date	2001.02.21.01.08.29;	author dlr;	state Exp;
branches;
next	1.2;

1.2
date	2000.12.21.17.18.12;	author jrobbins;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2000.12.19.00.14.30;	author leonardr;	state Exp;
branches
	1.1.1.1
	1.1.2.1;
next	;

1.1.1.1
date	2001.02.21.00.36.53;	author dlr;	state Exp;
branches;
next	;

1.1.2.1
date	2000.12.21.22.35.02;	author jrobbins;	state Exp;
branches;
next	;

1.2.4.1
date	2001.02.12.18.05.58;	author leonardr;	state Exp;
branches;
next	1.2.4.2;

1.2.4.2
date	2001.02.12.18.06.24;	author leonardr;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	2001.02.13.00.03.10;	author leonardr;	state Exp;
branches;
next	;

1.6.6.1
date	2001.06.01.20.37.20;	author leonardr;	state Exp;
branches;
next	1.6.6.2;

1.6.6.2
date	2001.06.01.22.49.50;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Removed WM templates in favor of Velocity templates.
@
text
@#parse "$BRAND_TEMPLATE_ROOT/Admin_Nav.wm"

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Active Sessions: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
  </TR>
</TABLE>


<TABLE CELLPADDING="3" CELLSPACING="0" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Login Name</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Logged In At</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Last Servlet</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Last Access Time</TD>
  </TR>
  #if ($activeSessions && !$activeSessions.isEmpty())
  {
   #foreach $session in $activeSessions
   {
    #set $user=$session.getSession().getValue("loginUser")
    #if ($user.isViewableBy($acl))
    {
     <TR> 
      <TD class="PlainText">
      #if ($user.isEditableBy($acl))
      {
       <a href="/servlets/UserEdit?userID=$user.getID()">$user.getLoginName()</a>
      } #else {
       $user.getLoginName()
      } 
     </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getCreationTime() </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getSession().getValue("lastAction") </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getLastAccessedTime(); </TD>
    </TR>
   }
  }
 } #else {
  <TR>
  <TD COLSPAN="8" CLASS="PlainText">
    <I>No one is currently logged in.</I>
  </TD>
  </TR>
}
</TABLE>

<P CLASS="PlainText">
There are currently:$count active session(s),
$phantoms unidentified guest(s).
</P>
@


1.6
log
@added much needed admin nav element
@
text
@@


1.6.6.1
log
@Added date.
@
text
@d55 1
a55 1
As of $currentDate, there are currently:$count active session(s),
@


1.6.6.2
log
@Rephrased session count list.
@
text
@d55 1
a55 1
As of $currentDate, there are currently $count active session(s) and
@


1.5
log
@PR:2565
@
text
@d1 2
@


1.4
log
@PR: 2565
@
text
@d53 2
a54 2
There are currently:
$count active session(s).
@


1.3
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d54 1
a54 3
$count active session(s),
$phantoms phantom session(s),
$zombies zombie session(s).
@


1.2
log
@added style, added link, added login time
@
text
@d10 1
a10 1
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Login ID</TD>
d18 6
a23 2
  #if ($activeSessions && !$activeSessions.isEmpty()) {
    #foreach $session in $activeSessions
d25 17
a41 10
      <TR> 
      <TD class="PlainText"> <a href="/servlets/UserEdit?userID=$session.getUserID()">$session.getLoginID();</a> </TD>
      <TD></TD>
      <TD class="PlainText"> $session.getCreationTime() </TD>
      <TD></TD>
      <TD class="PlainText"> $session.getSession().getValue("lastAction") </TD>
      <TD></TD>
      <TD class="PlainText"> $session.getLastAccessedTime(); </TD>
      </TR>
    }
d43 7
a49 7
 #else {
   <TR>
   <TD COLSPAN="8" CLASS="PlainText">
     <I>There is no one currently logged in.  So how are you seeing this?!</I>
   </TD>
   </TR>
 }
d54 3
a56 3
$count active sessions,
$phantoms phantom sessions,
$zombies zombie sessions.
@


1.2.4.1
log
@Changed calls to getUserID to calls to getID
@
text
@d22 1
a22 1
      <TD class="PlainText"> <a href="/servlets/UserEdit?userID=$session.getID()">$session.getLoginID();</a> </TD>
@


1.2.4.2
log
@Changed calls to getLoginID to calls to getLoginName
@
text
@d22 1
a22 1
      <TD class="PlainText"> <a href="/servlets/UserEdit?userID=$session.getID()">$session.getLoginName();</a> </TD>
@


1.2.4.3
log
@Updated template.
@
text
@d10 1
a10 1
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Login Name</TD>
d18 2
a19 6
  #if ($activeSessions && !$activeSessions.isEmpty())
  {
   #foreach $session in $activeSessions
   {
    #set $user=$session.getSession().getValue("loginUser")
    #if ($user.isViewableBy($acl))
d21 10
a30 17
     <TR> 
      <TD class="PlainText">
      #if ($user.isEditableBy($acl))
      {
       <a href="/servlets/UserEdit?userID=$user.getID()">$user.getLoginName()</a>
      } #else {
       $user.getLoginName()
      } 
     </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getCreationTime() </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getSession().getValue("lastAction") </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getLastAccessedTime(); </TD>
    </TR>
   }
d32 7
a38 7
 } #else {
  <TR>
  <TD COLSPAN="8" CLASS="PlainText">
    <I>No one is currently logged in.</I>
  </TD>
  </TR>
}
d43 3
a45 3
$count active session(s),
$phantoms phantom session(s),
$zombies zombie session(s).
@


1.1
log
@SessionList changes.
@
text
@d1 41
a41 2
<H1><FONT COLOR="GREEN">Active Sessions</FONT></H1>
<P>
d46 1
a46 22
<P>
Here's who's on the site ...
<P>
<TABLE CELLPADDING="3" CELLSPACING="2" BORDER="0" WIDTH="100%">
	<TR>
	  <TH BGCOLOR="Aqua">ID</TH>
	  <TH BGCOLOR="Aqua">Name</TH>
	  <TH BGCOLOR="Aqua">Last Activity</TH>
  </TR>
  #foreach $session in $activeSessions
  {
    <TR> 
    <TH BGCOLOR="#FFFFAA"> $session.getUserID(); </TD>
    <TH BGCOLOR="#FFFFAA"> $session.getUserName(); </TD>
    <TH BGCOLOR="#FFFFAA"> $session.getSession().getValue("lastAction") at $session.getLastAccessedTime(); </TD>
    </TR>
  }
</TABLE>

<P>
<BR>
<P>
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d1 14
a14 3
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Active Sessions: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
d16 1
a16 14
</TABLE>


<TABLE CELLPADDING="3" CELLSPACING="0" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Login Name</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Logged In At</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Last Servlet</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Last Access Time</TD>
  </TR>
  #if ($activeSessions && !$activeSessions.isEmpty())
d18 4
a21 20
   #foreach $session in $activeSessions
   {
    #set $user=$session.getSession().getValue("loginUser")
    #if ($user.isViewableBy($acl))
    {
     <TR> 
      <TD class="PlainText">
      #if ($user.isEditableBy($acl))
      {
       <a href="/servlets/UserEdit?userID=$user.getID()">$user.getLoginName()</a>
      } #else {
       $user.getLoginName()
      } 
     </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getCreationTime() </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getSession().getValue("lastAction") </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getLastAccessedTime(); </TD>
a22 1
   }
a23 7
 } #else {
  <TR>
  <TD COLSPAN="8" CLASS="PlainText">
    <I>No one is currently logged in.</I>
  </TD>
  </TR>
}
d26 3
a28 6
<P CLASS="PlainText">
There are currently:
$count active session(s),
$phantoms phantom session(s),
$zombies zombie session(s).
</P>
@


1.1.2.1
log
@moved changes from HEAD
@
text
@d1 14
a14 16
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Active Sessions: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
  </TR>
</TABLE>


<TABLE CELLPADDING="3" CELLSPACING="0" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Login ID</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Logged In At</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Last Servlet</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Last Access Time</TD>
d16 7
a22 13
  #if ($activeSessions && !$activeSessions.isEmpty()) {
    #foreach $session in $activeSessions
    {
      <TR> 
      <TD class="PlainText"> <a href="/servlets/UserEdit?userID=$session.getUserID()">$session.getLoginID();</a> </TD>
      <TD></TD>
      <TD class="PlainText"> $session.getCreationTime() </TD>
      <TD></TD>
      <TD class="PlainText"> $session.getSession().getValue("lastAction") </TD>
      <TD></TD>
      <TD class="PlainText"> $session.getLastAccessedTime(); </TD>
      </TR>
    }
a23 7
 #else {
   <TR>
   <TD COLSPAN="8" CLASS="PlainText">
     <I>There is no one currently logged in.  So how are you seeing this?!</I>
   </TD>
   </TR>
 }
d26 3
a28 6
<P CLASS="PlainText">
There are currently:
$count active sessions,
$phantoms phantom sessions,
$zombies zombie sessions.
</P>
@


