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