| Line 1... |
Line 1... |
| 1 |
<%@LANGUAGE="VBSCRIPT"%>
|
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
| 2 |
<%
|
2 |
<%
|
| 3 |
Option explicit
|
3 |
Option explicit
|
| 4 |
Response.Expires = 0 ' always load the page, dont store
|
4 |
Response.Expires = 0 ' always load the page, dont store
|
| 5 |
%>
|
5 |
%>
|
| 6 |
<%
|
6 |
<%
|
| 7 |
'=====================================================
|
7 |
'=====================================================
|
| 8 |
' New Personal View
|
8 |
' New Personal View
|
| 9 |
'=====================================================
|
9 |
'=====================================================
|
| 10 |
%>
|
10 |
%>
|
| 11 |
<!--#include file="common/conf.asp"-->
|
11 |
<!--#include file="common/conf.asp"-->
|
| 12 |
<!--#include file="common/globals.asp"-->
|
12 |
<!--#include file="common/globals.asp"-->
|
| 13 |
<!--#include file="common/qstr.asp"-->
|
13 |
<!--#include file="common/qstr.asp"-->
|
| 14 |
<!--#include file="common/common_subs.asp"-->
|
14 |
<!--#include file="common/common_subs.asp"-->
|
| 15 |
<!--#include file="common/common_dbedit.asp"-->
|
15 |
<!--#include file="common/common_dbedit.asp"-->
|
| 16 |
<!--#include file="common/_popup_window_common.asp"-->
|
16 |
<!--#include file="common/_popup_window_common.asp"-->
|
| 17 |
<%
|
17 |
<%
|
| 18 |
'------------ ACCESS CONTROL ------------------
|
18 |
'------------ ACCESS CONTROL ------------------
|
| 19 |
%>
|
19 |
%>
|
| 20 |
<!--#include file="_access_control_login.asp"-->
|
20 |
<!--#include file="_access_control_login.asp"-->
|
| 21 |
<!--#include file="_access_control_general.asp"-->
|
21 |
<!--#include file="_access_control_general.asp"-->
|
| 22 |
<%
|
22 |
<%
|
| 23 |
'------------ Variable Definition -------------
|
23 |
'------------ Variable Definition -------------
|
| 24 |
Dim rsTemp
|
24 |
Dim rsTemp
|
| 25 |
'------------ Constants Declaration -----------
|
25 |
'------------ Constants Declaration -----------
|
| 26 |
'------------ Variable Init -------------------
|
26 |
'------------ Variable Init -------------------
|
| 27 |
'----------------------------------------------
|
27 |
'----------------------------------------------
|
| 28 |
%>
|
28 |
%>
|
| 29 |
<%
|
29 |
<%
|
| 30 |
Function Get_All_Pkg_Names
|
30 |
Function Get_All_Pkg_Names
|
| 31 |
Get_All_Pkg_Names = " SELECT * FROM packages WHERE pkg_id > 0 ORDER BY pkg_name ASC"
|
31 |
Get_All_Pkg_Names = " SELECT * FROM packages WHERE pkg_id > 0 ORDER BY pkg_name ASC"
|
| 32 |
End Function
|
32 |
End Function
|
| 33 |
%>
|
33 |
%>
|
| 34 |
<%
|
34 |
<%
|
| 35 |
'Process submition
|
35 |
'Process submition
|
| 36 |
If CBool(QStrPar("action")) Then
|
36 |
If CBool(QStrPar("action")) Then
|
| 37 |
|
37 |
|
| 38 |
%>
|
38 |
%>
|
| 39 |
<script language="JavaScript" type="text/javascript">
|
39 |
<script language="JavaScript" type="text/javascript">
|
| 40 |
window.opener.document.location='_add_new_personal_view.asp?FRviewname=<%=QStrPar("FRviewname")%>&FRpkginc=<%=Request("FRpkginc")%>&FRpubread=<%=QStrPar("FRpubread")%>';
|
40 |
window.opener.document.location='_add_new_personal_view.asp?FRviewname=<%=QStrPar("FRviewname")%>&FRpkginc=<%=Request("FRpkginc")%>&FRpubread=<%=QStrPar("FRpubread")%>';
|
| 41 |
</script>
|
41 |
</script>
|
| 42 |
<%
|
42 |
<%
|
| 43 |
Call CloseWindow
|
43 |
Call CloseWindow
|
| 44 |
End If
|
44 |
End If
|
| 45 |
%>
|
45 |
%>
|
| 46 |
<html>
|
46 |
<html>
|
| 47 |
<head>
|
47 |
<head>
|
| 48 |
<title>Release Manager</title>
|
48 |
<title>Release Manager</title>
|
| 49 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
49 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
| 50 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
50 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
| 51 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
51 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 52 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
52 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
| 53 |
<script language="JavaScript" src="images/common.js"></script>
|
53 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
| 54 |
<!-- TIPS -->
|
54 |
<script language="JavaScript" src="images/common.js"></script>
|
| 55 |
<script language="JavaScript" src="images/tipster.js"></script>
|
55 |
<!-- TIPS -->
|
| 56 |
<script language="JavaScript" src="images/_help_tips.js"></script>
|
56 |
<script language="JavaScript" src="images/tipster.js"></script>
|
| 57 |
|
57 |
<script language="JavaScript" src="images/_help_tips.js"></script>
|
| 58 |
</head>
|
58 |
|
| 59 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="document.newview.FRviewname.focus()">
|
59 |
</head>
|
| 60 |
<!-- TIPS LAYERS -------------------------------------->
|
60 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="document.newview.FRviewname.focus()">
|
| 61 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
61 |
<!-- TIPS LAYERS -------------------------------------->
|
| 62 |
<!----------------------------------------------------->
|
62 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
| 63 |
<form name="newview" method="post" action="<%=scriptName%>?done=done<%=QSTR_FullQuery%>" onSubmit="return check();">
|
63 |
<!----------------------------------------------------->
|
| 64 |
<table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
|
64 |
<form name="newview" method="post" action="<%=scriptName%>?done=done<%=QSTR_FullQuery%>" onSubmit="return check();">
|
| 65 |
<tr>
|
65 |
<table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
|
| 66 |
<td background="images/bg_member_dark.gif" width="1%" height="1%"><img src="images/bt_view.gif" width="31" height="18" hspace="5"></td>
|
66 |
<tr>
|
| 67 |
<td background="images/bg_member_dark.gif" nowrap width="50%" class="wform_ttl"> Create
|
67 |
<td background="images/bg_member_dark.gif" width="1%" height="1%"><img src="images/bt_view.gif" width="31" height="18" hspace="5"></td>
|
| 68 |
NEW Personal View</td>
|
68 |
<td background="images/bg_member_dark.gif" nowrap width="50%" class="wform_ttl"> Create
|
| 69 |
<td background="images/bg_member_dark.gif" align="right" width="50%">
|
69 |
NEW Personal View</td>
|
| 70 |
<input type="hidden" name="action" value="true">
|
70 |
<td background="images/bg_member_dark.gif" align="right" width="50%">
|
| 71 |
<input type="submit" name="btn" value="Create" class="form_btn_comp" onClick="clickedButton=true;MM_validateForm('FRviewname','View Name','R');return document.MM_returnValue">
|
71 |
<input type="hidden" name="action" value="true">
|
| 72 |
<input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
|
72 |
<input type="submit" name="btn" value="Create" class="form_btn_comp" onClick="clickedButton=true;MM_validateForm('FRviewname','View Name','R');return document.MM_returnValue">
|
| 73 |
</td>
|
73 |
<input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
|
| 74 |
<td background="images/bg_member_dark.gif" align="right" width="1%%" nowrap>
|
74 |
</td>
|
| 75 |
<img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
|
75 |
<td background="images/bg_member_dark.gif" align="right" width="1%%" nowrap>
|
| 76 |
</tr>
|
76 |
<img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
|
| 77 |
<tr>
|
77 |
</tr>
|
| 78 |
<td height="100%" width="1%"> </td>
|
78 |
<tr>
|
| 79 |
<td valign="top" nowrap colspan="3" class="wform_ttl">
|
79 |
<td height="100%" width="1%"> </td>
|
| 80 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
80 |
<td valign="top" nowrap colspan="3" class="wform_ttl">
|
| 81 |
<tr>
|
81 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 82 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
82 |
<tr>
|
| 83 |
<td width="1%" nowrap class="form_group" valign="bottom"></td>
|
83 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
| 84 |
<td nowrap width="100%" align="right" class="form_step"> </td>
|
84 |
<td width="1%" nowrap class="form_group" valign="bottom"></td>
|
| 85 |
</tr>
|
85 |
<td nowrap width="100%" align="right" class="form_step"> </td>
|
| 86 |
<tr>
|
86 |
</tr>
|
| 87 |
<td width="1%"> </td>
|
87 |
<tr>
|
| 88 |
<td colspan="2" width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">
|
88 |
<td width="1%"> </td>
|
| 89 |
View Name</td>
|
89 |
<td colspan="2" width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">
|
| 90 |
</tr>
|
90 |
View Name</td>
|
| 91 |
<tr>
|
91 |
</tr>
|
| 92 |
<td width="1%"> </td>
|
92 |
<tr>
|
| 93 |
<td colspan="2" width="1%" nowrap background="images/bg_form_lightgray.gif">
|
93 |
<td width="1%"> </td>
|
| 94 |
<input type="text" name="FRviewname" maxlength="30" class="form_item">
|
94 |
<td colspan="2" width="1%" nowrap background="images/bg_form_lightgray.gif">
|
| 95 |
<input type="checkbox" name="FRpubread" value="Y"><span class="form_item">public read</span><%=Quick_Help("pubread")%></td>
|
95 |
<input type="text" name="FRviewname" maxlength="30" class="form_item">
|
| 96 |
</tr>
|
96 |
<input type="checkbox" name="FRpubread" value="Y"><span class="form_item">public read</span><%=Quick_Help("pubread")%></td>
|
| 97 |
<tr>
|
97 |
</tr>
|
| 98 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="10"></td>
|
98 |
<tr>
|
| 99 |
<td width="1%" nowrap class="form_group" valign="bottom"></td>
|
99 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="10"></td>
|
| 100 |
<td nowrap width="100%" align="right" class="form_step"></td>
|
100 |
<td width="1%" nowrap class="form_group" valign="bottom"></td>
|
| 101 |
</tr>
|
101 |
<td nowrap width="100%" align="right" class="form_step"></td>
|
| 102 |
<tr>
|
102 |
</tr>
|
| 103 |
<td width="1%"> </td>
|
103 |
<tr>
|
| 104 |
<td colspan="2" width="1%" nowrap class="form_field">
|
104 |
<td width="1%"> </td>
|
| 105 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
105 |
<td colspan="2" width="1%" nowrap class="form_field">
|
| 106 |
<tr>
|
106 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 107 |
<td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field"> </td>
|
107 |
<tr>
|
| 108 |
<td background="images/bg_form_lightbluedark.gif" nowrap width="100%" class="form_field">Package Name</td>
|
108 |
<td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field"> </td>
|
| 109 |
</tr>
|
109 |
<td background="images/bg_form_lightbluedark.gif" nowrap width="100%" class="form_field">Package Name</td>
|
| 110 |
<%Set rsTemp = OraDatabase.DbCreateDynaset( Get_All_Pkg_Names, cint(0))
|
110 |
</tr>
|
| 111 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
|
111 |
<%Set rsTemp = OraDatabase.DbCreateDynaset( Get_All_Pkg_Names, cint(0))
|
| 112 |
<tr>
|
112 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
|
| 113 |
<td background="images/bg_form_lightgray.gif" nowrap class="form_item">
|
113 |
<tr>
|
| 114 |
<input type="checkbox" name="FRpkginc" value="<%=rsTemp.Fields("pkg_id")%>">
|
114 |
<td background="images/bg_form_lightgray.gif" nowrap class="form_item">
|
| 115 |
</td>
|
115 |
<input type="checkbox" name="FRpkginc" value="<%=rsTemp.Fields("pkg_id")%>">
|
| 116 |
<td background="images/bg_form_lightgray.gif" class="form_item"><%=rsTemp.Fields("pkg_name")%></td>
|
116 |
</td>
|
| 117 |
</tr>
|
117 |
<td background="images/bg_form_lightgray.gif" class="form_item"><%=rsTemp.Fields("pkg_name")%></td>
|
| 118 |
<%rsTemp.MoveNext
|
118 |
</tr>
|
| 119 |
WEnd%>
|
119 |
<%rsTemp.MoveNext
|
| 120 |
<%If rsTemp.RecordCount < 1 Then%>
|
120 |
WEnd%>
|
| 121 |
<tr>
|
121 |
<%If rsTemp.RecordCount < 1 Then%>
|
| 122 |
<td background="images/bg_form_lightgray.gif" nowrap class="form_item"></td>
|
122 |
<tr>
|
| 123 |
<td background="images/bg_form_lightgray.gif" class="err_alert">NO PACKAGES FOUND!</td>
|
123 |
<td background="images/bg_form_lightgray.gif" nowrap class="form_item"></td>
|
| 124 |
</tr>
|
124 |
<td background="images/bg_form_lightgray.gif" class="err_alert">NO PACKAGES FOUND!</td>
|
| 125 |
<%End If%>
|
125 |
</tr>
|
| 126 |
</table>
|
126 |
<%End If%>
|
| 127 |
</td>
|
127 |
</table>
|
| 128 |
</tr>
|
128 |
</td>
|
| 129 |
</table>
|
129 |
</tr>
|
| 130 |
</td>
|
130 |
</table>
|
| 131 |
</tr>
|
131 |
</td>
|
| 132 |
<tr>
|
132 |
</tr>
|
| 133 |
<td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td>
|
133 |
<tr>
|
| 134 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_member_dark.gif"></td>
|
134 |
<td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td>
|
| 135 |
</tr>
|
135 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_member_dark.gif"></td>
|
| 136 |
</table>
|
136 |
</tr>
|
| 137 |
</form>
|
137 |
</table>
|
| 138 |
</body>
|
138 |
</form>
|
| 139 |
</html>
|
139 |
</body>
|
| 140 |
<%
|
140 |
</html>
|
| 141 |
Call Destroy_All_Objects
|
141 |
<%
|
| 142 |
%>
|
142 |
Call Destroy_All_Objects
|
| - |
|
143 |
%>
|