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 - RUNTIME
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="common/common_dbedit.asp"-->
17
<!--#include file="_tabs.asp"-->
18
<!--#include file="_wform_versions_history_main.asp"-->
19
<!--#include file="common/_popup_window_common.asp"-->
20
<%
21
'------------ ACCESS CONTROL ------------------
22
%>
23
<!--#include file="_access_control_general.asp"-->
24
<%
25
'------------ Variable Definition -------------
26
Dim rsSQL
27
Dim retVal
28
'------------ Constants Declaration -----------
29
'------------ Variable Init -------------------
30
'----------------------------------------------
31
%>
32
<%
33
'-----------------------------------------------------------------------------------------------------------------------------------
34
Function DBGet_Runtime_Dependencies ( nPv_id )
35
	DBGet_Runtime_Dependencies = _
36
	"   SELECT pv.pv_id, pv.pkg_id, pkg.pkg_name, pv.pkg_version, rtd.rtd_comments,"&_
37
	"	       rtd.rtd_url, rtd.mod_date, usr.full_name, usr.user_email"&_
38
	"	  FROM RUNTIME_DEPENDENCIES rtd, PACKAGES pkg, PACKAGE_VERSIONS pv, USERS usr"&_
39
	"	 WHERE rtd.rtd_id = pv.pv_id"&_
40
	"	   AND pv.pkg_id = pkg.pkg_id"&_
41
	"	   AND rtd.mod_user = usr.user_id"&_
42
	"	   AND rtd.pv_id = "& nPv_id &_
43
	"	ORDER BY UPPER(pkg.pkg_name)"
44
End Function
45
'-----------------------------------------------------------------------------------------------------------------------------------
46
%>
47
<!--#include file="_menu_def.asp"-->
48
<html>
49
<head>
50
<title>Release Manager</title>
51
<link rel="shortcut icon" href="<%=FavIcon%>"/>
52
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
53
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
54
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
55
<link rel="stylesheet" href="images/navigation.css" type="text/css">
56
<script language="JavaScript" src="images/common.js"></script>
57
<!--#include file="_jquery_includes.asp"-->
58
</head>
5933 dpurdie 59
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();setLayerHeight();scrollToPvId();">
5357 dpurdie 60
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
61
  <tr> 
62
    <td width="1%" background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
63
    <td width="100%" valign="top" background="images/bg_lght_gray.gif">
64
	  <!--#include file="_version_browser.asp"-->
65
    </td>
66
  </tr>
67
  <tr> 
68
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="300"></td>
69
    <td valign="top"> 
70
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
71
        <tr> 
72
          <td align="right" background="images/bg_lght_gray.gif"><br> 
73
            <!-- TABS ------------------------------------------->
74
            <%
75
			If IsEmpty( Request("pv_id") ) Then
76
				Call Generate_Tab_Menu ( TABarray5D, Empty, "blue" )
77
			Else
78
				Call Generate_Tab_Menu ( TABarray5, "Documentation", "blue" )
79
			End If
80
			%>
81
            <!------------------------------------------------------------->
82
          </td>
83
        </tr>
84
        <tr>
85
          <td background="images/lbox_bg_blue.gif">&nbsp;</td>
86
        </tr>
87
      </table>
88
	  <!----------------------------------------------  DETAILS --------------------------------------------------->
89
	  <%If NOT IsEmpty( Request("pv_id") ) Then%>
90
      <table width="100%" border="0" cellspacing="0" cellpadding="10">
91
        <tr>
92
          <td>
93
		  <div id="LayerDetails" style="height: 350px; overflow: auto;" name="LayerDetails"> 
94
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
95
                          <tr> 
96
							<td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">&nbsp;Download&nbsp;</td>
97
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">Title&nbsp;&nbsp;</td>
98
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">Document Number&nbsp;&nbsp;</td>
99
							<td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">Version&nbsp;&nbsp;</td>
100
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="100%" class="form_field">Created&nbsp;&nbsp;</td>
101
                          </tr>
102
                          <%
103
						  Dim sDocTitle, sDoc_version, dDoc_created
104
						  OraDatabase.Parameters.Add "PV_ID", parPv_id, 	ORAPARM_INPUT, ORATYPE_NUMBER 
105
 
106
						  Set rsSQL = OraDatabase.DbCreateDynaset( GetQuery("PackageDocumentation.sql"), cint(0))
107
						  %>
108
                          <%If rsSQL.RecordCount < 1 Then%>
109
                          <tr> 
110
                            <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
111
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
112
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
113
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
114
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
115
                          </tr>
116
                          <%End If%>
117
                          <%Do While ((NOT rsSQL.BOF) AND (NOT rsSQL.EOF))%>
118
						  	<%
119
							If IsNull(rsSQL("is_latest")) Then
120
								retVal =  Short_Document_Details ( rsSQL("doc_id"), sDocTitle, sDoc_version, dDoc_created  )
121
							Else
122
								retVal =  Lookup_Document ( rsSQL("doc_num"), sDocTitle, NULL, NULL, dDoc_created  )
123
								sDoc_version = "Latest"
124
							End If
125
 
126
							If retVal <> 0 Then Exit Do
127
							%>
128
                          <tr>
129
							<td align="center" background="images/bg_form_lightgray.gif" class="form_item" valign="top"><a href="<%=DocRepositiryLink%><%=rsSQL("doc_num")%>" target="_blank"><img src="images/i_download_small.gif" width="16" height="16" border="0" title="Download document from repository"></a></td>
130
                            <td nowrap background="images/bg_form_lightgray.gif" valign="top" class="form_item"><a href="<%=DocRepositiryLink%><%=rsSQL("doc_num")%>" class="txt_linked" target="_blank"><%=sDocTitle%></a>&nbsp;&nbsp;</td>
131
                            <td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsSQL("doc_num")%></td>
132
							<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=FormatVersion( sDoc_version )%></td>
5632 dpurdie 133
							<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=DisplayDateTime ( dDoc_created ) %></td>
5357 dpurdie 134
                          </tr>
135
                          <%rsSQL.MoveNext
136
						  Loop
137
						  rsSQL.Close
138
						  Set rsSQL = nothing
139
						  OraDatabase.Parameters.Remove "PV_ID"
140
 
141
						  %>
142
                        </table>
143
						<%If retVal <> 0 Then Response.write enumMSSQL_ERROR%>
144
            </div>
145
		  </td>
146
        </tr>
147
      </table>
148
	  <%End If%>
149
	  <!----------------------------------------------  END DETAILS --------------------------------------------------->
150
	  </td>
151
  </tr>
152
  <tr> 
153
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
154
    <td background="images/lbox_bg_blue.gif"><img src="images/h_trsp_dot.gif" width="1" height="10"></td>
155
  </tr>
156
</table>
157
</body>
158
</html>
159
<!-- DESTRUCTOR ------->
119 ghuddy 160
<!--#include file="common/destructor.asp"-->