Subversion Repositories DevTools

Rev

Rev 5933 | Rev 6048 | Go to most recent revision | 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
%>
22
<!--#include file="_access_control_general.asp"-->
23
<%
24
'------------ Variable Definition -------------
25
Dim rsSQL
26
'------------ Constants Declaration -----------
27
'------------ Variable Init -------------------
28
'----------------------------------------------
29
%>
30
<%
31
'-----------------------------------------------------------------------------------------------------------------------------------
32
Function DBGet_Patches ( nPv_id )
33
	DBGet_Patches = _
34
	"   SELECT pv.pkg_version, pv.dlocked, pv.modified_stamp, usr.full_name,"&_
35
	"	       usr.user_email, pv.pv_id, pv.comments"&_
36
	"	  FROM PACKAGE_PATCHES pp, PACKAGE_VERSIONS pv, USERS usr"&_
37
	"	 WHERE pp.patch_id = pv.pv_id"&_
38
	"	   AND pv.modifier_id = usr.user_id"&_
39
	"	   AND pp.pv_id = "& nPv_id &_
40
	"	ORDER BY pv.modified_stamp"
41
End Function
42
'-----------------------------------------------------------------------------------------------------------------------------------
43
%>
44
<!--#include file="_menu_def.asp"-->
45
<html>
46
<head>
47
<title>Release Manager</title>
48
<link rel="shortcut icon" href="<%=FavIcon%>"/>
49
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
50
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
51
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
52
<link rel="stylesheet" href="images/navigation.css" type="text/css">
53
<script language="JavaScript" src="images/common.js"></script>
54
<!--#include file="_jquery_includes.asp"-->
55
</head>
5933 dpurdie 56
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();setLayerHeight();scrollToPvId();">
5357 dpurdie 57
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
58
  <tr> 
59
    <td width="1%" background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
60
    <td width="100%" valign="top" background="images/bg_lght_gray.gif">
61
	  <!--#include file="_version_browser.asp"-->
62
    </td>
63
  </tr>
64
  <tr> 
65
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="300"></td>
66
    <td valign="top"> 
67
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
68
        <tr> 
69
          <td align="right" background="images/bg_lght_gray.gif"><br> 
70
            <!-- TABS ------------------------------------------->
71
            <%
72
			If IsEmpty( Request("pv_id") ) Then
73
				Call Generate_Tab_Menu ( TABarray5D, Empty, "blue" )
74
			Else
75
				Call Generate_Tab_Menu ( TABarray5, "Patches", "blue" )
76
			End If
77
			%>
78
            <!------------------------------------------------------------->
79
          </td>
80
        </tr>
81
        <tr>
82
          <td background="images/lbox_bg_blue.gif">&nbsp;</td>
83
        </tr>
84
      </table>
85
	  <!----------------------------------------------  DETAILS --------------------------------------------------->
86
	  <%If NOT IsEmpty( Request("pv_id") ) Then%>
87
      <table width="100%" border="0" cellspacing="0" cellpadding="10">
88
        <tr>
89
          <td>
90
		  <div id="LayerDetails" style="height: 350px; overflow: auto;" name="LayerDetails"> 
91
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
92
                <tr> 
93
				  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field"></td>
94
				  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Patch Version&nbsp;&nbsp;</td>
95
                  <td width="100%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Reason for this version&nbsp;&nbsp;</td>
96
                  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Release Date</td>
97
                </tr>
98
				<%Set rsSQL = OraDatabase.DbCreateDynaset( DBGet_Patches ( parPv_id ), cint(0))%>
99
				<%If rsSQL.RecordCount < 1 Then%>
100
				<tr> 
101
				  <td background="images/bg_form_lightgray.gif">&nbsp;</td>
102
				  <td background="images/bg_form_lightgray.gif">&nbsp;</td>
103
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
104
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
105
                </tr>
106
				<%End If%>
107
				<%While (NOT rsSQL.BOF) AND (NOT rsSQL.EOF)%>
108
				<%
109
				' Because this is a patch link, make sure it is transfered to release notes tab
5933 dpurdie 110
				URLstring = "_wform_versions_history_release_notes.asp?"& Persists_Query_String( "pv_id="& rsSQL("pv_id") &"&filter_reset=true" )
5357 dpurdie 111
				%>
112
                <tr> 
113
				  <td background="images/bg_form_lightgray.gif"><%If rsSQL("dlocked") = "Y" Then%><%=IMG_OFFICIAL%><%Else%><%=IMG_NOT_OFFICIAL%><%End If%></td>
114
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item"><a href="<%=URLstring%>" class="txt_linked"><%=rsSQL("pkg_version")%></a></td>
115
				  <td background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=NewLine_To_BR ( To_HTML( rsSQL("comments") ) )%></td>
5632 dpurdie 116
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%If rsSQL("dlocked") = "Y" Then%><%=DisplayDateTime ( rsSQL("modified_stamp") )%> by <a href="mailto:<%=rsSQL("user_email")%>" class="txt_linked"><%=rsSQL("full_name")%></a><%End If%></td>
5357 dpurdie 117
                </tr>
118
				<%rsSQL.MoveNext
119
				  WEnd%>
120
              </table>
121
            </div>
122
		  </td>
123
        </tr>
124
      </table>
125
	  <%End If%>
126
	  <!----------------------------------------------  END DETAILS --------------------------------------------------->
127
	  </td>
128
  </tr>
129
  <tr> 
130
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
131
    <td background="images/lbox_bg_blue.gif"><img src="images/h_trsp_dot.gif" width="1" height="10"></td>
132
  </tr>
133
</table>
134
</body>
135
</html>
136
<!-- DESTRUCTOR ------->
119 ghuddy 137
<!--#include file="common/destructor.asp"-->