Subversion Repositories DevTools

Rev

Details | 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
%>
26
<!--#include file="_access_control_general.asp"-->
27
<%
28
'------------ Variable Definition -------------
29
Dim rsTemp
4653 dpurdie 30
Dim rsQry
119 ghuddy 31
Dim retVal
32
Dim sActionDate, sUsername, sAction_type, sDescription
33
'------------ Constants Declaration -----------
34
'------------ Variable Init -------------------
35
'----------------------------------------------
36
%>
37
<html>
38
<title><%=Title(Request("rtag_id"))%></title>
5357 dpurdie 39
<link rel="shortcut icon" href="<%=FavIcon%>"/>
119 ghuddy 40
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
41
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
42
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
43
<link rel="stylesheet" href="images/navigation.css" type="text/css">
44
<script language="JavaScript" src="images/common.js"></script>
45
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
5085 dpurdie 46
<!--#include file="_jquery_includes.asp"-->
119 ghuddy 47
 
48
<!-- DROPDOWN MENUS -->
49
<!--#include file="_menu_def.asp"-->
50
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
51
</head>
52
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
53
<!-- MENU LAYERS -------------------------------------->
54
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
55
  <!----------------------------------------------------->
56
</div>
57
<!-- HEADER -->
58
<!--#include file="_header.asp"-->
59
<!-- BODY ---->
60
<table width="100%" border="0" cellspacing="0" cellpadding="0">
4653 dpurdie 61
    <tr> 
62
        <td valign="top" width="1" background="images/bg_bage.gif">
63
        <!-- LEFT -->
64
        <!--#include file="_environment.asp"-->
65
        </td>
66
        <td width="1" bgcolor="#999999"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
67
        <td valign="top" width="100%">
68
        <!-- MIDDLE -->
69
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
183 brianf 70
          <tr>
4653 dpurdie 71
            <td width="1%" background="images/bg_action_norm.gif"><IMG height=35 src="images/spacer.gif" width=15></td>
72
            <td width="100%" background="images/bg_action_norm.gif"><%Call RenderActionBar(parRtag_id,parPv_id)%></td>
73
            <td width="1%" background="images/bg_action_norm.gif"><IMG height=1 src="images/spacer.gif" width=15></td>
74
          </tr>
75
          <tr>
183 brianf 76
            <td background="images/bg_lght_gray.gif"><IMG height="45" src="images/spacer.gif" width=1></td>
187 brianf 77
            <td background="images/bg_lght_gray.gif"><%Call RenderStatus(parRtag_id,parPv_id)%></td>
183 brianf 78
            <td background="images/bg_lght_gray.gif">&nbsp;</td>
79
          </tr>
4653 dpurdie 80
          <tr>
81
            <td background="images/bg_lght_gray.gif">&nbsp;</td>
82
            <td valign="bottom" background="images/bg_lght_gray.gif">
83
              <table width="100" border="0" cellspacing="0" cellpadding="0">
84
                <tr>
4687 dpurdie 85
                  <td><IMG height="1" src="images/spacer.gif" width="0" alt="tab-left-margin" ></td>
4653 dpurdie 86
                  <td>
87
                  <!-- TABS ------------------------------------->
88
                  <%Call Generate_Tab_Menu ( TABarray1, "Action Log", "orange" )%>
89
                  </td>
90
                </tr>
91
              </table>
92
            </td>
93
            <td background="images/bg_lght_gray.gif">&nbsp;</td>
94
          </tr>
95
          <tr>
96
            <td background="images/lbox_bg_orange.gif"><IMG height=35 src="images/spacer.gif" width=1></td>
97
            <td background="images/lbox_bg_orange.gif">
98
            <!-- TAB ACTION BUTTONS ------------------------------------->
99
            </td>
100
            <td background="images/lbox_bg_orange.gif">&nbsp;</td>
101
          </tr>
102
          <tr>
103
            <td></td>
104
            <td valign="top">
105
            <!-- DETAILS ------------------------------------------------->
106
            <br>                      
119 ghuddy 107
                        <span class="body_colb">Action Log</span><br>
108
                        <table width="100%" border="0" cellspacing="1" cellpadding="3">
4653 dpurdie 109
                          <tr class="form_field_hdr"> 
110
                            <td nowrap width="1%"  >Date&nbsp;</td>
111
                            <td nowrap width="1%"  >Who&nbsp;</td>
112
                            <td nowrap width="1%"  >Action&nbsp;&nbsp;</td>
113
                            <td nowrap width="100%">Description&nbsp;&nbsp;</td>
119 ghuddy 114
                          </tr>
115
                          <%
4653 dpurdie 116
 
117
                          OraDatabase.Parameters.Add "PV_ID", parPv_id,     ORAPARM_INPUT, ORATYPE_NUMBER 
118
 
119
                          Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("PackageActionLog.sql"), cint(0))
120
                          %>
119 ghuddy 121
                          <%If rsTemp.RecordCount < 1 Then%>
4653 dpurdie 122
                          <tr class="form_item_grey" > 
123
                            <td nowrap>&nbsp;</td>
124
                            <td nowrap>&nbsp;</td>
125
                            <td nowrap>&nbsp;</td>
126
                            <td nowrap>&nbsp;</td>
119 ghuddy 127
                          </tr>
128
                          <%End If%>
129
                          <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
4653 dpurdie 130
                          <tr class="form_item_grey" > 
4670 dpurdie 131
                            <td nowrap valign="top" align="right"><%=rsTemp("action_timestamp")%></td>
4653 dpurdie 132
                            <td nowrap valign="top">by <a href="mailto:<%=rsTemp("user_email")%>" title="<%=rsTemp("user_email")%>" class="txt_linked"><%=rsTemp("FULL_NAME")%></a></td>
133
                            <td nowrap valign="top"><%=rsTemp("acttype")%></td>
134
                            <td wrap   valign="top"><%=NewLine_To_BR( To_HTML ( rsTemp("description") ) )%></td>
119 ghuddy 135
                          </tr>
136
                          <%rsTemp.MoveNext
4653 dpurdie 137
                          WEnd
138
                          rsTemp.Close
139
                          Set rsTemp = nothing
140
 
141
                          OraDatabase.Parameters.Remove "PV_ID"
142
                          %>
119 ghuddy 143
                        </table>
144
                        <!------------------------------------------------------------>
145
           <br>
146
 
4653 dpurdie 147
            <!-- END DETAILS ------------------------------------------------->
148
            </td>
149
            <td>&nbsp;</td>
150
          </tr>
151
        </table>
152
        <!-- END MIDDLE -------->
153
        </td>
154
    </tr>
119 ghuddy 155
</table>
156
 
157
<!-- FOOTER -->
158
<!--#include file="_footer.asp"-->
159
 
160
</body>
4653 dpurdie 161
</html>         
119 ghuddy 162
<%
163
Call Destroy_All_Objects
164
%>