Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

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