head	1.14;
access;
symbols
	TIGRIS_1_1_0RC2:1.12
	TIGRIS_1_1_0RC1:1.12
	TIGRIS_1_1:1.12.0.4
	TIGRIS_1_0_8:1.12
	TIGRIS_1_0_8RC3:1.12
	TIGRIS_1_0_8RC2:1.12
	TIGRIS_1_0_8RC1:1.12
	TIGRIS_1_0_7:1.12
	TIGRIS_1_0_7RC3:1.12
	TIGRIS_1_0_7RC2:1.12
	TIGRIS_1_0_7RC1:1.12
	TIGRIS_1_0_6:1.12
	TIGRIS_1_0_6RC5:1.12
	TIGRIS_1_0_6RC4:1.12
	TIGRIS_1_0_6RC3:1.12
	TIGRIS_1_0_6RC2:1.12
	TIGRIS_1_0_6RC1:1.12
	TIGRIS_1_0_5:1.12
	TIGRIS_1_0_5RC6:1.12
	TIGRIS_1_0_5RC5:1.12
	TIGRIS_1_0_5RC4:1.12
	TIGRIS_1_0_5RC3:1.12
	TIGRIS_1_0_5RC2:1.12
	TIGRIS_1_0_5RC1:1.12
	TIGRIS_1_0_4:1.12
	TIGRIS_1_0_3:1.12
	TIGRIS_1_0_2:1.12
	TIGRIS_1_0_1:1.12
	TIGRIS_1_0:1.12.0.6
	TIGRIS_1_0_0:1.12
	TIGRIS_1_0_0_RC1:1.12.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.5
	TIGRIS_0_9_2_3:1.5
	HELM_PEER_PORT_BRANCH:1.1.1.1
	TURBINE_PEER:1.5
	TIGRIS_0_9_2_1:1.5
	TIGRIS_0_9_2:1.5.0.2
	TIGRIS_0_9_0:1.3.0.2;
locks; strict;
comment	@# @;


1.14
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.13;

1.13
date	2001.05.13.07.35.20;	author jrobbins;	state Exp;
branches;
next	1.12;

1.12
date	2001.03.27.08.18.30;	author jrobbins;	state Exp;
branches;
next	1.11;

1.11
date	2001.03.24.09.20.16;	author jrobbins;	state Exp;
branches;
next	1.10;

1.10
date	2001.03.24.09.06.04;	author jrobbins;	state Exp;
branches;
next	1.9;

1.9
date	2001.03.20.06.21.54;	author dlr;	state Exp;
branches;
next	1.8;

1.8
date	2001.02.23.18.38.56;	author leonardr;	state Exp;
branches;
next	1.7;

1.7
date	2001.02.22.19.19.03;	author leonardr;	state Exp;
branches;
next	1.6;

1.6
date	2001.02.21.01.08.32;	author dlr;	state Exp;
branches;
next	1.5;

1.5
date	2000.12.29.17.11.55;	author leonardr;	state Exp;
branches
	1.5.4.1;
next	1.4;

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

1.3
date	2000.12.15.04.31.17;	author jody;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2000.12.14.23.56.44;	author leonardr;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.14.02.28.43;	author leonardr;	state Exp;
branches
	1.1.1.1;
next	;

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

1.3.2.1
date	2000.12.21.22.33.55;	author jrobbins;	state Exp;
branches;
next	;

1.5.4.1
date	2001.02.12.18.05.58;	author leonardr;	state Exp;
branches;
next	1.5.4.2;

1.5.4.2
date	2001.02.12.18.06.25;	author leonardr;	state Exp;
branches;
next	1.5.4.3;

1.5.4.3
date	2001.02.20.22.05.23;	author dlr;	state Exp;
branches;
next	;


desc
@@


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

<FORM ACTION="AuditLogList" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
 <TR>
  <TD CLASS="Header" COLSPAN="7">Audit Log</TD>
 </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" width="100%">

<TR>
  <TD bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">When</TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">Who</TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">Where</TD>  
</TR>

#set $entries = $host.getAuditLog($acl, $itemsPerPage, $filter);
#set $thisPage = $entries.getPage($paginated_page);
#if ($thisPage.isEmpty())
{
 <TR>
  <TD COLSPAN="7" class="PlainText">
   <i>No matching audit log entries were found.</i>
  </TD>
 </TR>
} 
#else
{
 #foreach $entry in $thisPage
 {
  <TR>
   <TD class="PlainText">
    <a href="AuditEventDetail?auditLogEntryID=$entry.getEntryId()">Details</a>
   </TD>
   <TD></TD>
   <TD class="PlainText">$entry.getTimestamp()</TD>
   <TD></TD>
   <TD class="PlainText">
     <a href="UserEdit?userID=$entry.getUser().getID()">$entry.getUser().getLoginName()</a>
   </TD>
   <TD></TD>
   <TD class="PlainText">$entry.getWhere()</TD> 
  </TR>
  <TR>
   <TD></TD>
   <TD></TD>
   <TD colspan="5" class="PlainText">$entry.getDescription()</TD>
  </TR>

  <TR>
   <TD COLSPAN="7">
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
     <TR>
      <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
     </TR>
    </TABLE>
   </TD>
  </TR>
 }

 <TR>
  <TD COLSPAN="7" ALIGN="center" CLASS="PlainText">
   $entries.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page);
  </TD>
 </TR>
}

<TR>
  <TD COLSPAN="7"><hr size="1" noshade></TD>
</TR>

<TR>
  <TD COLSPAN="7">
  <FORM METHOD="post" ACTION="AuditLogList">
  #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/paginate/Filter.wm" 
  </FORM>
  </TD>
</TR>

</TABLE>

</FORM>









@


1.13
log
@added style, regularized arguments to navigationBar, removed an unneeded link
@
text
@@


1.12
log
@changes to a working method call
@
text
@d27 1
a27 1
  <TD COLSPAN="7">
d68 1
a68 1
   $entries.navigationBar("AuditLogList", $paginated_page);
@


1.11
log
@made headers consistent
@
text
@d44 1
a44 1
     <a href="UserEdit?userID=$entry.getInitiatingUser().getID()">$entry.getUser().getLoginName()</a>
@


1.10
log
@added much needed admin nav element
@
text
@d6 1
a6 1
  <TD CLASS="Welcome" COLSPAN="7">Audit Log</TD>
d13 1
a13 1
  <TD bgcolor="#efefef">&nbsp</TD> 
@


1.9
log
@Use of italics instead of red font is more consistant with the rest of
the site.
@
text
@d1 2
@


1.8
log
@Do pagination navbar.
@
text
@d26 1
a26 1
   <font color="red">No matching audit log entries were found.</font>
@


1.7
log
@Fixed audit log list.
@
text
@d66 1
a66 1
   $paginatableList.navigationBar("AuditLogList", $paginated_page);
@


1.6
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d20 3
a22 3
#set $paginatableList = $host.getAuditLog($itemsPerPage, $criterion, $acl);
#set $auditPage = $paginatableList.getPage($paginated_page);
#if (!$projectPage.isEmpty())
d24 9
a32 1
 #foreach $entry in $auditPage
d35 3
a37 1
   <TD class="PlainText"><a href="AuditEventDetail?auditLogEntryID=$entry.getID()">Details</a></TD>
d42 1
a42 1
     <a href="/servlets/UserEdit?userID=$entry.getInitiatingUser().getID()">$entry.getInitiatingUser().getLoginName()</a>
d64 5
a68 8
<TR>
 <TD COLSPAN="7" ALIGN="center" CLASS="PlainText">
  $paginatableList.navigationBar("AuditLogList", $paginated_page);
 </TD>
</TR>

} #else {
 <font color="red">No matching audit log entries were found.</font>
d74 1
@


1.5
log
@Many, many pagination changes.
@
text
@d20 1
a20 1
#set $paginatableList = $host.getAuditLog($itemsPerPage, $criterion, $acl, $currentDomain);
d32 1
a32 1
     <a href="/servlets/UserEdit?userID=$entry.getInitiatingUser().getUserID()">$entry.getInitiatingUser().getLoginID()</a>
@


1.5.4.1
log
@Changed calls to getUserID to calls to getID
@
text
@d32 1
a32 1
     <a href="/servlets/UserEdit?userID=$entry.getInitiatingUser().getID()">$entry.getInitiatingUser().getLoginID()</a>
@


1.5.4.2
log
@Changed calls to getLoginID to calls to getLoginName
@
text
@d32 1
a32 1
     <a href="/servlets/UserEdit?userID=$entry.getInitiatingUser().getID()">$entry.getInitiatingUser().getLoginName()</a>
@


1.5.4.3
log
@No longer takes a Domain.
@
text
@d20 1
a20 1
#set $paginatableList = $host.getAuditLog($itemsPerPage, $criterion, $acl);
@


1.4
log
@added style, added link, changed layout a bit
@
text
@a1 1
<INPUT TYPE="hidden" NAME="auditLogEntryID" VALUE="$currentAuditLogEntry.getID()">
d20 3
a22 1
#foreach $entry in $auditLog
d24 26
a49 23
 <TR>
  <TD class="PlainText"><a href="AuditEventDetail?auditLogEntryID=$entry.getID()">Details</a></TD>
  <TD></TD>
  <TD class="PlainText">$entry.getTimestamp()</TD>
  <TD></TD>
  <TD class="PlainText">
    <a href="/servlets/UserEdit?userID=$entry.getInitiatingUser().getUserID()">$entry.getInitiatingUser().getLoginID()</a>
  </TD>
  <TD></TD>
  <TD class="PlainText">$entry.getWhere()</TD> 
 </TR>
 <TR>
  <TD></TD>
  <TD></TD>
  <TD colspan="5" class="PlainText">$entry.getDescription()</TD>
 </TR>
 <TR>
   <TD COLSPAN="8">
     <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
       <TR>
         <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
       </TR>
     </TABLE>
d51 8
a58 1
 </TR>
d60 2
d65 1
a65 3
<TD COLSPAN="4">
#set $paginationURL="AuditLogList?"
#parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/PaginationBar.wm"
d67 8
@


1.3
log
@first pass style, clean, formatt. jody.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d5 1
a5 1
  <TD CLASS="Welcome" COLSPAN="7">Audit Event Detail</TD>
d12 8
a19 4
  <TD>&nbsp</TD> 
  <TD class="ProjectDownloadHeader">When</TD> 
  <TD class="ProjectDownloadHeader">Who</TD> 
  <TD class="ProjectDownloadHeader">Where</TD>  
d24 8
a31 3
  <TD>[<a href="AuditEventDetail?auditLogEntryID=$entry.getID()">Details</a>]</TD>
  <TD class="PlainText">$entry.getTimestamp()<BR>$entry.getDescription()</TD>
  <TD class="PlainText">$entry.getInitiatingUser().getName()</TD>
d33 16
@


1.3.2.1
log
@moved changes from HEAD
@
text
@d5 1
a5 1
  <TD CLASS="Welcome" COLSPAN="7">Audit Log</TD>
d12 4
a15 8
  <TD bgcolor="#efefef">&nbsp</TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">When</TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">Who</TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">Where</TD>  
</TR>
d20 3
a22 8
  <TD class="PlainText"><a href="AuditEventDetail?auditLogEntryID=$entry.getID()">Details</a></TD>
  <TD></TD>
  <TD class="PlainText">$entry.getTimestamp()</TD>
  <TD></TD>
  <TD class="PlainText">
    <a href="/servlets/UserEdit?userID=$entry.getInitiatingUser().getUserID()">$entry.getInitiatingUser().getLoginID()</a>
  </TD>
  <TD></TD>
a23 16
 </TR>
 <TR>
  <TD></TD>
  <TD></TD>
  <TD colspan="5" class="PlainText">$entry.getDescription()</TD>
 </TR>
 <TR>
   <TD COLSPAN="8">
     <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
       <TR>
         <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
       </TR>
     </TABLE>
   </TD>
 </TR>

@


1.2
log
@Added pagination to audit log.
@
text
@d12 4
a15 1
<TD></TD> <TD>When</TD> <TD>Who</TD> <TD>Where</TD>
d21 3
a23 3
  <TD>$entry.getTimestamp()<BR>$entry.getDescription()</TD>
  <TD>$entry.getInitiatingUser().getName()</TD>
  <TD>$entry.getWhere()</TD>
@


1.1
log
@New servlet: AuditLogList
@
text
@d23 5
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d2 1
d5 1
a5 1
  <TD CLASS="Welcome" COLSPAN="7">Audit Log</TD>
d12 1
a12 8
  <TD bgcolor="#efefef">&nbsp</TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">When</TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">Who</TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">Where</TD>  
</TR>
d14 1
a14 3
#set $paginatableList = $host.getAuditLog($itemsPerPage, $criterion, $acl);
#set $auditPage = $paginatableList.getPage($paginated_page);
#if (!$projectPage.isEmpty())
d16 5
a20 38
 #foreach $entry in $auditPage
 {
  <TR>
   <TD class="PlainText"><a href="AuditEventDetail?auditLogEntryID=$entry.getID()">Details</a></TD>
   <TD></TD>
   <TD class="PlainText">$entry.getTimestamp()</TD>
   <TD></TD>
   <TD class="PlainText">
     <a href="/servlets/UserEdit?userID=$entry.getInitiatingUser().getID()">$entry.getInitiatingUser().getLoginName()</a>
   </TD>
   <TD></TD>
   <TD class="PlainText">$entry.getWhere()</TD> 
  </TR>
  <TR>
   <TD></TD>
   <TD></TD>
   <TD colspan="5" class="PlainText">$entry.getDescription()</TD>
  </TR>

  <TR>
   <TD COLSPAN="7">
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
     <TR>
      <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
     </TR>
    </TABLE>
   </TD>
  </TR>
 }

<TR>
 <TD COLSPAN="7" ALIGN="center" CLASS="PlainText">
  $paginatableList.navigationBar("AuditLogList", $paginated_page);
 </TD>
</TR>

} #else {
 <font color="red">No matching audit log entries were found.</font>
a21 11

<TR>
  <TD COLSPAN="7"><hr size="1" noshade></TD>
</TR>
<TR>
  <TD COLSPAN="7">
  <FORM METHOD="post" ACTION="AuditLogList">
  #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/paginate/Filter.wm" 
  </FORM>
  </TD>
</TR>
@


