Subversion Repositories DevTools

Rev

Rev 6579 | Rev 6612 | 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 - DEPENDENCIES
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="_tabs.asp"-->
17
<!--#include file="_wform_versions_history_main.asp"-->
18
<!--#include file="common/_popup_window_common.asp"-->
19
<%
20
'------------ ACCESS CONTROL ------------------
21
%>
6181 dpurdie 22
<!--#include file="_access_control_login_optional.asp"-->
5357 dpurdie 23
<!--#include file="_access_control_general.asp"-->
24
<%
25
'------------ Variable Definition -------------
26
Dim rsSQL
27
'------------ Constants Declaration -----------
28
'------------ Variable Init -------------------
29
'----------------------------------------------
30
%>
31
<%
32
'-----------------------------------------------------------------------------------------------------------------------------------
33
Function DBGet_Build_Dependencies ( nPv_id )
34
	DBGet_Build_Dependencies = _
35
	"   SELECT pv.pv_id, pv.pkg_id, pkg.pkg_name, pv.pkg_version, pv.dlocked,"&_
36
	"	       pv.modified_stamp, usr.full_name, usr.user_email"&_
37
	"	  FROM PACKAGE_VERSIONS pv, PACKAGE_DEPENDENCIES dep, PACKAGES pkg, USERS usr"&_
38
	"	 WHERE dep.dpv_id = pv.pv_id"&_
39
	"	   AND pv.pkg_id = pkg.pkg_id"&_
40
	"	   AND pv.modifier_id = usr.user_id"&_
41
	"	   AND dep.pv_id = "& nPv_id &_
42
	"	ORDER BY UPPER(pkg.pkg_name)"
43
End Function
44
'-----------------------------------------------------------------------------------------------------------------------------------
45
%>
46
<!--#include file="_menu_def.asp"-->
47
<html>
48
<head>
49
<title>Release Manager</title>
50
<link rel="shortcut icon" href="<%=FavIcon%>"/>
51
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
52
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6579 dpurdie 53
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
54
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
55
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
5357 dpurdie 56
<!--#include file="_jquery_includes.asp"-->
6610 dpurdie 57
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
5357 dpurdie 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, "Dependencies", "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 width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field"></td>
97
                  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Name&nbsp;&nbsp;</td>
98
                  <td width="100%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Versions&nbsp;&nbsp;</td>
99
                  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Last Modified</td>
100
                </tr>
101
				<%Set rsSQL = OraDatabase.DbCreateDynaset( DBGet_Build_Dependencies ( parPv_id ), cint(0))%>
102
				<%If rsSQL.RecordCount < 1 Then%>
103
				<tr> 
104
				  <td background="images/bg_form_lightgray.gif">&nbsp;</td>
105
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
106
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
107
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
108
                </tr>
109
				<%End If%>
110
				<%While (NOT rsSQL.BOF) AND (NOT rsSQL.EOF)%>
111
				<%
5933 dpurdie 112
				URLstring = scriptName &"?"& Persists_Query_String( "pv_id="& rsSQL("pv_id") &"&pkg_id="& rsSQL("pkg_id") &"&filter_reset=true" )
5357 dpurdie 113
				%>
114
                <tr> 
115
				  <td background="images/bg_form_lightgray.gif"><%If rsSQL("dlocked") = "Y" Then%><%=IMG_OFFICIAL%><%Else%><%=IMG_NOT_OFFICIAL%><%End If%></td>
116
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item"><a href="<%=URLstring%>" class="txt_linked"><%=rsSQL("pkg_name")%></a></td>
117
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item"><%=rsSQL("pkg_version")%></td>
6610 dpurdie 118
                  <td nowrap background="images/bg_form_lightgray.gif" class="form_item"><%=DisplayShortDateTime ( rsSQL("modified_stamp") )%> by <span data-email='<%=rsSQL("user_email")%>' class="mailto txt_linked"><%=enum_imgUser%><%=rsSQL("full_name")%></span></td>
5357 dpurdie 119
                </tr>
120
				<%rsSQL.MoveNext
121
				  WEnd%>
122
              </table>
123
            </div>
124
		  </td>
125
        </tr>
126
      </table>
127
	  <%End If%>
128
	  <!----------------------------------------------  END DETAILS --------------------------------------------------->
129
	  </td>
130
  </tr>
131
  <tr> 
132
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
133
    <td background="images/lbox_bg_blue.gif"><img src="images/h_trsp_dot.gif" width="1" height="10"></td>
134
  </tr>
135
</table>
136
</body>
137
</html>
138
<!-- DESTRUCTOR ------->
119 ghuddy 139
<!--#include file="common/destructor.asp"-->