Subversion Repositories DevTools

Rev

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