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 - 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"-->
6610 dpurdie 59
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
5357 dpurdie 60
</head>
5933 dpurdie 61
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();setLayerHeight();scrollToPvId();">
5357 dpurdie 62
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
63
  <tr> 
64
    <td width="1%" background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
65
    <td width="100%" valign="top" background="images/bg_lght_gray.gif">
66
	  <!--#include file="_version_browser.asp"-->
67
    </td>
68
  </tr>
69
  <tr> 
70
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="300"></td>
71
    <td valign="top"> 
72
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
73
        <tr> 
6977 dpurdie 74
          <td align="left" background="images/bg_lght_gray.gif">
5357 dpurdie 75
            <!-- TABS ------------------------------------------->
76
            <%
77
			If IsEmpty( Request("pv_id") ) Then
78
				Call Generate_Tab_Menu ( TABarray5D, Empty, "blue" )
79
			Else
80
				Call Generate_Tab_Menu ( TABarray5, "Documentation", "blue" )
81
			End If
82
			%>
83
            <!------------------------------------------------------------->
84
          </td>
85
        </tr>
86
        <tr>
87
          <td background="images/lbox_bg_blue.gif">&nbsp;</td>
88
        </tr>
89
      </table>
90
	  <!----------------------------------------------  DETAILS --------------------------------------------------->
91
	  <%If NOT IsEmpty( Request("pv_id") ) Then%>
92
      <table width="100%" border="0" cellspacing="0" cellpadding="10">
93
        <tr>
94
          <td>
95
		  <div id="LayerDetails" style="height: 350px; overflow: auto;" name="LayerDetails"> 
6790 dpurdie 96
              <table width="100%" border="0" cellspacing="1" cellpadding="2" class='stdGrey'>
97
                  <thead>
98
                              <tr> 
99
                                <th nowrap width="1%">Download</th>
100
                                <th nowrap width="1%">Title</th>
101
                                <th nowrap width="1%">Document Number</th>
102
                                <th nowrap width="1%">Version</th>
103
                                <th nowrap width="100%">Created</th>
104
                              </tr>
105
                  </thead>
5357 dpurdie 106
                          <%
107
						  Dim sDocTitle, sDoc_version, dDoc_created
108
						  OraDatabase.Parameters.Add "PV_ID", parPv_id, 	ORAPARM_INPUT, ORATYPE_NUMBER 
109
 
110
						  Set rsSQL = OraDatabase.DbCreateDynaset( GetQuery("PackageDocumentation.sql"), cint(0))
111
						  %>
112
                          <%If rsSQL.RecordCount < 1 Then%>
113
                          <tr> 
6790 dpurdie 114
                            <td nowrap>&nbsp;</td>
115
                            <td>&nbsp;</td>
116
                            <td>&nbsp;</td>
117
							<td>&nbsp;</td>
118
							<td>&nbsp;</td>
5357 dpurdie 119
                          </tr>
120
                          <%End If%>
121
                          <%Do While ((NOT rsSQL.BOF) AND (NOT rsSQL.EOF))%>
122
						  	<%
123
							If IsNull(rsSQL("is_latest")) Then
124
								retVal =  Short_Document_Details ( rsSQL("doc_id"), sDocTitle, sDoc_version, dDoc_created  )
125
							Else
126
								retVal =  Lookup_Document ( rsSQL("doc_num"), sDocTitle, NULL, NULL, dDoc_created  )
127
								sDoc_version = "Latest"
128
							End If
129
 
130
							If retVal <> 0 Then Exit Do
131
							%>
132
                          <tr>
6790 dpurdie 133
							<td align="center" 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>
134
                            <td nowrap valign="top"><a href="<%=DocRepositiryLink%><%=rsSQL("doc_num")%>" class="txt_linked" target="_blank"><%=sDocTitle%></a>&nbsp;&nbsp;</td>
135
                            <td nowrap valign="top"><%=rsSQL("doc_num")%></td>
136
							<td nowrap valign="top"><%=FormatVersion( sDoc_version )%></td>
137
							<td nowrap valign="top"><%=DisplayDateTime ( dDoc_created ) %></td>
5357 dpurdie 138
                          </tr>
139
                          <%rsSQL.MoveNext
140
						  Loop
141
						  rsSQL.Close
142
						  Set rsSQL = nothing
143
						  OraDatabase.Parameters.Remove "PV_ID"
144
 
145
						  %>
146
                        </table>
147
						<%If retVal <> 0 Then Response.write enumMSSQL_ERROR%>
148
            </div>
149
		  </td>
150
        </tr>
151
      </table>
152
	  <%End If%>
153
	  <!----------------------------------------------  END DETAILS --------------------------------------------------->
154
	  </td>
155
  </tr>
156
  <tr> 
157
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
158
    <td background="images/lbox_bg_blue.gif"><img src="images/h_trsp_dot.gif" width="1" height="10"></td>
159
  </tr>
160
</table>
161
</body>
162
</html>
163
<!-- DESTRUCTOR ------->
119 ghuddy 164
<!--#include file="common/destructor.asp"-->