Subversion Repositories DevTools

Rev

Rev 6610 | Rev 6790 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
4653 dpurdie 5
'|                 Action Log                    |
119 ghuddy 6
'|                                                   |
7
'=====================================================
8
%>
9
<%
10
Option explicit
11
' Good idea to set when using redirect
4653 dpurdie 12
Response.Expires = 0    ' always load the page, dont store
119 ghuddy 13
%>
14
<!--#include file="common/conf.asp"-->
15
<!--#include file="common/globals.asp"-->
16
<!--#include file="common/formating.asp"-->
17
<!--#include file="common/qstr.asp"-->
18
<!--#include file="common/common_subs.asp"-->
19
<!--#include file="common/common_dbedit.asp"-->
20
<!--#include file="_tabs.asp"-->
21
<!--#include file="_action_buttons.asp"-->
22
<!--#include file="common/_package_common.asp"-->
23
<%
24
'------------ ACCESS CONTROL ------------------
25
%>
6181 dpurdie 26
<!--#include file="_access_control_login_optional.asp"-->
119 ghuddy 27
<!--#include file="_access_control_general.asp"-->
28
<%
29
'------------ Variable Definition -------------
30
Dim rsTemp
4653 dpurdie 31
Dim rsQry
119 ghuddy 32
Dim retVal
33
Dim sActionDate, sUsername, sAction_type, sDescription
34
'------------ Constants Declaration -----------
35
'------------ Variable Init -------------------
36
'----------------------------------------------
37
%>
38
<html>
39
<title><%=Title(Request("rtag_id"))%></title>
5357 dpurdie 40
<link rel="shortcut icon" href="<%=FavIcon%>"/>
119 ghuddy 41
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
42
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6579 dpurdie 43
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
44
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
45
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
46
<script language="JavaScript" src="scripts/remote_scripting.js?ver=<%=VixVerNum%>"></script>
5085 dpurdie 47
<!--#include file="_jquery_includes.asp"-->
119 ghuddy 48
<!-- DROPDOWN MENUS -->
49
<!--#include file="_menu_def.asp"-->
6579 dpurdie 50
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
119 ghuddy 51
</head>
52
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
53
<!-- HEADER -->
54
<!--#include file="_header.asp"-->
55
<!-- BODY ---->
56
<table width="100%" border="0" cellspacing="0" cellpadding="0">
4653 dpurdie 57
    <tr> 
58
        <td valign="top" width="1" background="images/bg_bage.gif">
59
        <!-- LEFT -->
60
        <!--#include file="_environment.asp"-->
61
        </td>
62
        <td width="1" bgcolor="#999999"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
63
        <td valign="top" width="100%">
64
        <!-- MIDDLE -->
65
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
183 brianf 66
          <tr>
4653 dpurdie 67
            <td width="1%" background="images/bg_action_norm.gif"><IMG height=35 src="images/spacer.gif" width=15></td>
68
            <td width="100%" background="images/bg_action_norm.gif"><%Call RenderActionBar(parRtag_id,parPv_id)%></td>
69
            <td width="1%" background="images/bg_action_norm.gif"><IMG height=1 src="images/spacer.gif" width=15></td>
70
          </tr>
71
          <tr>
183 brianf 72
            <td background="images/bg_lght_gray.gif"><IMG height="45" src="images/spacer.gif" width=1></td>
187 brianf 73
            <td background="images/bg_lght_gray.gif"><%Call RenderStatus(parRtag_id,parPv_id)%></td>
183 brianf 74
            <td background="images/bg_lght_gray.gif">&nbsp;</td>
75
          </tr>
4653 dpurdie 76
          <tr>
77
            <td background="images/bg_lght_gray.gif">&nbsp;</td>
78
            <td valign="bottom" background="images/bg_lght_gray.gif">
79
              <table width="100" border="0" cellspacing="0" cellpadding="0">
80
                <tr>
4687 dpurdie 81
                  <td><IMG height="1" src="images/spacer.gif" width="0" alt="tab-left-margin" ></td>
4653 dpurdie 82
                  <td>
83
                  <!-- TABS ------------------------------------->
84
                  <%Call Generate_Tab_Menu ( TABarray1, "Action Log", "orange" )%>
85
                  </td>
86
                </tr>
87
              </table>
88
            </td>
89
            <td background="images/bg_lght_gray.gif">&nbsp;</td>
90
          </tr>
91
          <tr>
92
            <td background="images/lbox_bg_orange.gif"><IMG height=35 src="images/spacer.gif" width=1></td>
93
            <td background="images/lbox_bg_orange.gif">
94
            <!-- TAB ACTION BUTTONS ------------------------------------->
95
            </td>
96
            <td background="images/lbox_bg_orange.gif">&nbsp;</td>
97
          </tr>
98
          <tr>
99
            <td></td>
100
            <td valign="top">
101
            <!-- DETAILS ------------------------------------------------->
102
            <br>                      
119 ghuddy 103
                        <span class="body_colb">Action Log</span><br>
104
                        <table width="100%" border="0" cellspacing="1" cellpadding="3">
4653 dpurdie 105
                          <tr class="form_field_hdr"> 
106
                            <td nowrap width="1%"  >Date&nbsp;</td>
107
                            <td nowrap width="1%"  >Who&nbsp;</td>
108
                            <td nowrap width="1%"  >Action&nbsp;&nbsp;</td>
109
                            <td nowrap width="100%">Description&nbsp;&nbsp;</td>
119 ghuddy 110
                          </tr>
111
                          <%
4653 dpurdie 112
 
113
                          OraDatabase.Parameters.Add "PV_ID", parPv_id,     ORAPARM_INPUT, ORATYPE_NUMBER 
114
 
115
                          Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("PackageActionLog.sql"), cint(0))
116
                          %>
119 ghuddy 117
                          <%If rsTemp.RecordCount < 1 Then%>
4653 dpurdie 118
                          <tr class="form_item_grey" > 
119
                            <td nowrap>&nbsp;</td>
120
                            <td nowrap>&nbsp;</td>
121
                            <td nowrap>&nbsp;</td>
122
                            <td nowrap>&nbsp;</td>
119 ghuddy 123
                          </tr>
124
                          <%End If%>
125
                          <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
4653 dpurdie 126
                          <tr class="form_item_grey" > 
4670 dpurdie 127
                            <td nowrap valign="top" align="right"><%=rsTemp("action_timestamp")%></td>
6612 dpurdie 128
                            <td nowrap valign="top">by <%=emailField(enum_imgUser & rsTemp("FULL_NAME"),rsTemp("user_email"))%></td>
4653 dpurdie 129
                            <td nowrap valign="top"><%=rsTemp("acttype")%></td>
130
                            <td wrap   valign="top"><%=NewLine_To_BR( To_HTML ( rsTemp("description") ) )%></td>
119 ghuddy 131
                          </tr>
132
                          <%rsTemp.MoveNext
4653 dpurdie 133
                          WEnd
134
                          rsTemp.Close
135
                          Set rsTemp = nothing
136
 
137
                          OraDatabase.Parameters.Remove "PV_ID"
138
                          %>
119 ghuddy 139
                        </table>
140
                        <!------------------------------------------------------------>
141
           <br>
142
 
4653 dpurdie 143
            <!-- END DETAILS ------------------------------------------------->
144
            </td>
145
            <td>&nbsp;</td>
146
          </tr>
147
        </table>
148
        <!-- END MIDDLE -------->
149
        </td>
150
    </tr>
119 ghuddy 151
</table>
152
<!-- FOOTER -->
153
<!--#include file="_footer.asp"-->
154
</body>
4653 dpurdie 155
</html>