Subversion Repositories DevTools

Rev

Rev 6790 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5357 dpurdie 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
Option explicit
4
Response.Expires = 0	' always load the page, dont store
5
%>
6
<%
7
'=====================================================
8
'			VERSIONS HISTORY - PATCHES
9
'=====================================================
10
%>
11
<!--#include file="common/conf.asp"-->
12
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/formating.asp"-->
14
<!--#include file="common/qstr.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="_tabs.asp"-->
17
<!--#include file="_wform_versions_history_main.asp"-->
18
<!--#include file="common/_popup_window_common.asp"-->
19
<%
20
'------------ ACCESS CONTROL ------------------
21
%>
6181 dpurdie 22
<!--#include file="_access_control_login_optional.asp"-->
5357 dpurdie 23
<!--#include file="_access_control_general.asp"-->
24
<%
25
'------------ Variable Definition -------------
26
Dim rsSQL
27
'------------ Constants Declaration -----------
28
'------------ Variable Init -------------------
29
'----------------------------------------------
30
%>
31
<%
32
'-----------------------------------------------------------------------------------------------------------------------------------
33
Function DBGet_Patches ( nPv_id )
34
	DBGet_Patches = _
35
	"   SELECT pv.pkg_version, pv.dlocked, pv.modified_stamp, usr.full_name,"&_
36
	"	       usr.user_email, pv.pv_id, pv.comments"&_
37
	"	  FROM PACKAGE_PATCHES pp, PACKAGE_VERSIONS pv, USERS usr"&_
38
	"	 WHERE pp.patch_id = pv.pv_id"&_
39
	"	   AND pv.modifier_id = usr.user_id"&_
40
	"	   AND pp.pv_id = "& nPv_id &_
41
	"	ORDER BY pv.modified_stamp"
42
End Function
43
'-----------------------------------------------------------------------------------------------------------------------------------
44
%>
45
<!--#include file="_menu_def.asp"-->
46
<html>
47
<head>
48
<title>Release Manager</title>
49
<link rel="shortcut icon" href="<%=FavIcon%>"/>
50
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
51
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6579 dpurdie 52
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
53
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
54
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
5357 dpurdie 55
<!--#include file="_jquery_includes.asp"-->
6610 dpurdie 56
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
5357 dpurdie 57
</head>
5933 dpurdie 58
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();setLayerHeight();scrollToPvId();">
5357 dpurdie 59
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
60
  <tr> 
61
    <td width="1%" background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
62
    <td width="100%" valign="top" background="images/bg_lght_gray.gif">
63
	  <!--#include file="_version_browser.asp"-->
64
    </td>
65
  </tr>
66
  <tr> 
67
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="300"></td>
68
    <td valign="top"> 
69
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
70
        <tr> 
6977 dpurdie 71
          <td align="left" background="images/bg_lght_gray.gif">
5357 dpurdie 72
            <!-- TABS ------------------------------------------->
73
            <%
74
			If IsEmpty( Request("pv_id") ) Then
75
				Call Generate_Tab_Menu ( TABarray5D, Empty, "blue" )
76
			Else
77
				Call Generate_Tab_Menu ( TABarray5, "Patches", "blue" )
78
			End If
79
			%>
80
            <!------------------------------------------------------------->
81
          </td>
82
        </tr>
83
        <tr>
84
          <td background="images/lbox_bg_blue.gif">&nbsp;</td>
85
        </tr>
86
      </table>
87
	  <!----------------------------------------------  DETAILS --------------------------------------------------->
88
	  <%If NOT IsEmpty( Request("pv_id") ) Then%>
89
      <table width="100%" border="0" cellspacing="0" cellpadding="10">
90
        <tr>
91
          <td>
92
		  <div id="LayerDetails" style="height: 350px; overflow: auto;" name="LayerDetails"> 
6790 dpurdie 93
              <table width="100%" border="0" cellspacing="1" cellpadding="2"  class='stdGrey'>
94
                  <thead>
95
                    <tr> 
96
                      <th nowrap width="1%"></th>
97
                      <th nowrap width="1%">Patch Version</th>
98
                      <th nowrap width="100%">Reason for this version</th>
99
                      <th nowrap width="1%">Release Date</th>
100
                    </tr>
101
                  </thead>
5357 dpurdie 102
				<%Set rsSQL = OraDatabase.DbCreateDynaset( DBGet_Patches ( parPv_id ), cint(0))%>
103
				<%If rsSQL.RecordCount < 1 Then%>
104
				<tr> 
6790 dpurdie 105
				  <td>&nbsp;</td>
106
				  <td>&nbsp;</td>
107
                  <td nowrap>&nbsp;</td>
108
                  <td nowrap>&nbsp;</td>
5357 dpurdie 109
                </tr>
110
				<%End If%>
111
				<%While (NOT rsSQL.BOF) AND (NOT rsSQL.EOF)%>
112
				<%
113
				' Because this is a patch link, make sure it is transfered to release notes tab
5933 dpurdie 114
				URLstring = "_wform_versions_history_release_notes.asp?"& Persists_Query_String( "pv_id="& rsSQL("pv_id") &"&filter_reset=true" )
5357 dpurdie 115
				%>
116
                <tr> 
6790 dpurdie 117
				  <td><%If rsSQL("dlocked") = "Y" Then%><%=IMG_OFFICIAL%><%Else%><%=IMG_NOT_OFFICIAL%><%End If%></td>
118
                  <td nowrap><a href="<%=URLstring%>" class="txt_linked"><%=rsSQL("pkg_version")%></a></td>
119
				  <td valign="top"><%=NewLine_To_BR ( To_HTML( rsSQL("comments") ) )%></td>
120
                  <td nowrap valign="top"><%If rsSQL("dlocked") = "Y" Then%><%=DisplayDateTime ( rsSQL("modified_stamp") )%> by <%=emailField(rsSQL("full_name"),rsSQL("user_email"))%><%End If%></td>
5357 dpurdie 121
                </tr>
122
				<%rsSQL.MoveNext
123
				  WEnd%>
124
              </table>
125
            </div>
126
		  </td>
127
        </tr>
128
      </table>
129
	  <%End If%>
130
	  <!----------------------------------------------  END DETAILS --------------------------------------------------->
131
	  </td>
132
  </tr>
133
  <tr> 
134
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
135
    <td background="images/lbox_bg_blue.gif"><img src="images/h_trsp_dot.gif" width="1" height="10"></td>
136
  </tr>
137
</table>
138
</body>
139
</html>
140
<!-- DESTRUCTOR ------->
119 ghuddy 141
<!--#include file="common/destructor.asp"-->