Subversion Repositories DevTools

Rev

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