Subversion Repositories DevTools

Rev

Rev 5506 | Rev 6371 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@LANGUAGE="VBSCRIPT"%>
<%
Option explicit
Response.Expires = 0    ' always load the page, dont store
%>
<%
'=====================================================
'                                       New Personal View
'=====================================================
%>
<!--#include file="common/conf.asp"-->
<!--#include file="common/globals.asp"-->
<!--#include file="common/qstr.asp"-->
<!--#include file="common/common_subs.asp"-->
<!--#include file="common/common_dbedit.asp"-->
<!--#include file="common/_popup_window_common.asp"-->
<%
'------------ ACCESS CONTROL ------------------
%>
<!--#include file="_access_control_login.asp"-->
<!--#include file="_access_control_general.asp"-->
<%
'------------ Variable Definition -------------
Dim rsTemp
'------------ Constants Declaration -----------
'------------ Variable Init -------------------
'----------------------------------------------
%>
<%
Function Get_All_Pkg_Names
        Get_All_Pkg_Names = " SELECT * FROM packages WHERE pkg_id > 0 ORDER BY UPPER(pkg_name) ASC"
End Function
%>
<%
'Process submition
If CBool(QStrPar("action"))  Then
        Call OpenInParentWindow("_add_new_personal_view.asp?FRviewname=" & QStrPar("FRviewname") & "&FRpkginc=" & Request("FRpkginc") & "&FRpubread=" & QStrPar("FRpubread"))
    Response.End
End If
%>
<html>
<head>
<title>Release Manager</title>
<link rel="shortcut icon" href="<%=FavIcon%>"/>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
<link rel="stylesheet" href="images/navigation.css" type="text/css">
<script language="JavaScript" src="images/common.js"></script>
<!-- TIPS -->
<script language="JavaScript" src="images/tipster.js"></script>
<script language="JavaScript" src="images/_help_tips.js"></script>

</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="document.newview.FRviewname.focus()">
<!-- TIPS LAYERS -------------------------------------->
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
<!----------------------------------------------------->
<form class="form_tight" name="newview" method="post" action="<%=scriptName%>?done=done<%=QSTR_FullQuery%>" onSubmit="return check();">
  <table width="100%" border="0" cellspacing="0" cellpadding="2">
    <tr>
      <td valign="top" nowrap colspan="3" class="wform_ttl">
        <table width="100%" border="0" cellspacing="1" cellpadding="2">
          <tr>
            <td width="1%" nowrap class="form_group" valign="bottom"></td>
            <td nowrap width="100%" align="right" class="form_step">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="2" width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">
              View Name</td>
          </tr>
          <tr>
            <td colspan="2" width="1%" nowrap background="images/bg_form_lightgray.gif">
              <input type="text" name="FRviewname" maxlength="30" class="form_item">&nbsp;
              <input type="checkbox" name="FRpubread" value="Y"><span class="form_item">public read</span><%=Quick_Help("pubread")%>
            </td>
          </tr>
          <tr>
            <td width="1%" nowrap class="form_group" valign="bottom"></td>
            <td nowrap width="100%" align="right" class="form_step"></td>
          </tr>
          <tr>
            <td colspan="2" width="1%" nowrap class="form_field">
              <div style="min-height:300px;max-height:500px;overflow:auto;">
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
                <tr>
                  <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">&nbsp;</td>
                  <td background="images/bg_form_lightbluedark.gif" nowrap width="100%" class="form_field">Package Name</td>
                </tr>
                <%Set rsTemp = OraDatabase.DbCreateDynaset( Get_All_Pkg_Names, cint(0))
                                While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
                <tr>
                  <td background="images/bg_form_lightgray.gif" nowrap class="form_item">
                    <input type="checkbox" name="FRpkginc" value="<%=rsTemp.Fields("pkg_id")%>">
                  </td>
                  <td background="images/bg_form_lightgray.gif" class="form_item"><%=rsTemp.Fields("pkg_name")%></td>
                </tr>
                <%rsTemp.MoveNext
                                WEnd%>
                                <%If rsTemp.RecordCount < 1 Then%>
                                <tr>
                  <td background="images/bg_form_lightgray.gif" nowrap class="form_item"></td>
                  <td background="images/bg_form_lightgray.gif" class="err_alert">NO PACKAGES FOUND!</td>
                </tr>
                                <%End If%>
              </table>
              </div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td align="right">
                <input type="hidden" name="action" value="true">
        <input type="submit" name="btn" value="Create" class="form_btn_comp" onClick="clickedButton=true;MM_validateForm('FRviewname','View Name','R');return document.MM_returnValue">
        <input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="parent.closeIFrame()">
      </td>
    </tr>
  </table>
</form>
</body>
</html>
<%
Call Destroy_All_Objects
%>