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
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> 
71
          <td align="right" background="images/bg_lght_gray.gif"><br> 
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"> 
93
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
94
                <tr> 
95
				  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field"></td>
96
				  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Patch Version&nbsp;&nbsp;</td>
97
                  <td width="100%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Reason for this version&nbsp;&nbsp;</td>
98
                  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Release Date</td>
99
                </tr>
100
				<%Set rsSQL = OraDatabase.DbCreateDynaset( DBGet_Patches ( parPv_id ), cint(0))%>
101
				<%If rsSQL.RecordCount < 1 Then%>
102
				<tr> 
103
				  <td background="images/bg_form_lightgray.gif">&nbsp;</td>
104
				  <td background="images/bg_form_lightgray.gif">&nbsp;</td>
105
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
106
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
107
                </tr>
108
				<%End If%>
109
				<%While (NOT rsSQL.BOF) AND (NOT rsSQL.EOF)%>
110
				<%
111
				' Because this is a patch link, make sure it is transfered to release notes tab
5933 dpurdie 112
				URLstring = "_wform_versions_history_release_notes.asp?"& Persists_Query_String( "pv_id="& rsSQL("pv_id") &"&filter_reset=true" )
5357 dpurdie 113
				%>
114
                <tr> 
115
				  <td background="images/bg_form_lightgray.gif"><%If rsSQL("dlocked") = "Y" Then%><%=IMG_OFFICIAL%><%Else%><%=IMG_NOT_OFFICIAL%><%End If%></td>
116
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item"><a href="<%=URLstring%>" class="txt_linked"><%=rsSQL("pkg_version")%></a></td>
117
				  <td background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=NewLine_To_BR ( To_HTML( rsSQL("comments") ) )%></td>
6612 dpurdie 118
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%If rsSQL("dlocked") = "Y" Then%><%=DisplayDateTime ( rsSQL("modified_stamp") )%> by <%=emailField(rsSQL("full_name"),rsSQL("user_email"))%><%End If%></td>
5357 dpurdie 119
                </tr>
120
				<%rsSQL.MoveNext
121
				  WEnd%>
122
              </table>
123
            </div>
124
		  </td>
125
        </tr>
126
      </table>
127
	  <%End If%>
128
	  <!----------------------------------------------  END DETAILS --------------------------------------------------->
129
	  </td>
130
  </tr>
131
  <tr> 
132
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
133
    <td background="images/lbox_bg_blue.gif"><img src="images/h_trsp_dot.gif" width="1" height="10"></td>
134
  </tr>
135
</table>
136
</body>
137
</html>
138
<!-- DESTRUCTOR ------->
119 ghuddy 139
<!--#include file="common/destructor.asp"-->