Subversion Repositories DevTools

Rev

Rev 5506 | Rev 5635 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5506 Rev 5590
Line 4... Line 4...
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
'               EDIT MEMO Note
8
'               EDIT MEMO Note
-
 
9
'               _wform_memo_edit.asp
9
'=====================================================
10
'=====================================================
10
%>
11
%>
11
<!--#include file="common/conf.asp"-->
12
<!--#include file="common/conf.asp"-->
12
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/qstr.asp"-->
14
<!--#include file="common/qstr.asp"-->
Line 59... Line 60...
59
%>
60
%>
60
<%
61
<%
61
'Process submition
62
'Process submition
62
If CBool(QStrPar("action")) AND QStrPar("btn") = "Update" Then
63
If CBool(QStrPar("action")) AND QStrPar("btn") = "Update" Then
63
   Call Update_Memo_Message ( QStrPar("FRmsg_id"), QStrPar("FRmsg"), QStrPar("FRexpdate") )
64
   Call Update_Memo_Message ( QStrPar("FRmsg_id"), QStrPar("FRmsg"), QStrPar("FRexpdate") )
64
   %>
-
 
65
   <script language="JavaScript" type="text/javascript">
-
 
66
   opener.location='index.asp?refresh=true<%=QSTR%>';
65
      ReloadParentWindow()
67
   </script>
-
 
68
   <%
-
 
69
   Call CloseWindow
66
      Response.End
70
ElseIf CBool(QStrPar("action")) AND QStrPar("btn") = "Delete" Then
67
ElseIf CBool(QStrPar("action")) AND QStrPar("btn") = "Delete" Then
71
   Call Delete_Memo_Message ( QStrPar("FRmsg_id") )
68
   Call Delete_Memo_Message ( QStrPar("FRmsg_id") )
72
   %>
-
 
73
   <script language="JavaScript" type="text/javascript">
-
 
74
   opener.location='index.asp?refresh=true<%=QSTR%>';
69
      ReloadParentWindow()
75
   </script>
-
 
76
   <%
-
 
77
   Call CloseWindow
70
      Response.End
78
End If
71
End If
79
%>
72
%>
80
<html>
73
<html>
81
<head>
74
<head>
82
<title>Release Manager</title>
75
<title>Release Manager</title>
Line 88... Line 81...
88
<script language="JavaScript" src="images/common.js"></script>
81
<script language="JavaScript" src="images/common.js"></script>
89
<script language="JavaScript" src="images/calendar.js"></script>
82
<script language="JavaScript" src="images/calendar.js"></script>
90
</head>
83
</head>
91
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();document.memo.FRmsg.focus();">
84
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();document.memo.FRmsg.focus();">
92
<%Set rsTemp = OraDatabase.DbCreateDynaset( Get_Message_Details (QStrPar("FRmsg_id")), cint(0))%>
85
<%Set rsTemp = OraDatabase.DbCreateDynaset( Get_Message_Details (QStrPar("FRmsg_id")), cint(0))%>
93
<form name="memo" method="post" action="<%=scriptName%>?done=done<%=QSTR_All%>" onSubmit="return check();">
86
<form class="form_tight" name="memo" method="post" action="<%=scriptName%>?done=done<%=QSTR_All%>" onSubmit="return check();">
94
  <table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
87
  <table border="0" cellspacing="0" cellpadding="2">
95
    <tr>
88
    <tr>
96
      <td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/h_trsp_dot.gif" width="22" height="1"></td>
-
 
97
      <td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl">&nbsp;EDIT Memo</td>
-
 
98
      <td background="images/lbox_bg_blue.gif" align="right" width="50%">
-
 
99
        <input type="submit" name="btn" value="Update" class="form_btn_comp" onClick="clickedButton=true;MM_validateForm('FRduedate','Due Date','R','FRmsg','Message details','R');return document.MM_returnValue">
-
 
100
      <input type="submit" name="btn" value="Delete" class="form_btn_comp" onClick="clickedButton=true;">
-
 
101
        <input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
-
 
102
      </td>
-
 
103
      <td background="images/lbox_bg_blue.gif" align="right" width="1%%" nowrap>
-
 
104
        <img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
-
 
105
    </tr>
-
 
106
    <tr>
-
 
107
      <td height="100%" width="1%">&nbsp;</td>
-
 
108
      <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
89
      <td valign="top" nowrap colspan="2" class="wform_ttl" background="images/bg_form_lightgray.gif">
109
        <table width="100%" border="0" cellspacing="1" cellpadding="2">
90
        <table border="0" cellspacing="1" cellpadding="2">
110
          <tr>
-
 
111
            <td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
-
 
112
            <td width="1%" nowrap class="form_group" valign="bottom"></td>
-
 
113
            <td nowrap width="100%">&nbsp; </td>
-
 
114
          </tr>
-
 
115
          <tr>
91
          <tr>
116
            <td width="1%">&nbsp;</td>
-
 
117
            <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Expiry Date </td>
92
            <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Expiry Date </td>
118
            <td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="form_txt">
93
            <td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
119
              <input type="text" name="FRexpdate" maxlength="10" size="10" class="form_item" value="<%=EuroDate (rsTemp.Fields("expiry_date"))%>">
94
              <input type="text" name="FRexpdate" maxlength="10" size="10" class="form_item" value="<%=EuroDate(Date+7)%>">
120
              <A onmouseover="window.status='Select a date';return true;" onmouseout="window.status='';return true;" href="javascript:show_calendar('memo.FRexpdate',null,null,null);"><img src="images/i_calendar.gif" width="16" height="16" border="0"></a>
95
              <a href="javascript:show_calendar('memo.FRexpdate',null,null,null);"><img src="images/i_calendar.gif" width="16" height="16" border="0"></a>
121
            </td>
96
            </td>
122
          </tr>
97
          </tr>
123
          <tr>
98
          <tr>
124
            <td width="1%">&nbsp;</td>
-
 
125
            <td colspan="2" nowrap class="form_field" background="images/bg_form_lightbluedark.gif" valign="top">
99
            <td colspan="2" nowrap class="form_field" background="images/bg_form_lightbluedark.gif" valign="top">
126
              <textarea name="FRmsg" cols="40" rows="10" class="form_item"><%=rsTemp.Fields("msg_details")%></textarea>
100
              <textarea name="FRmsg" cols="80" rows="10" class="form_item"><%=rsTemp.Fields("msg_details")%></textarea>
127
           <input type="hidden" name="FRmsg_id" value="<%=QStrPar("FRmsg_id")%>">
101
              <input type="hidden" name="FRmsg_id" value="<%=QStrPar("FRmsg_id")%>">
128
              <input type="hidden" name="action" value="true">
102
              <input type="hidden" name="action" value="true">
129
            </td>
103
            </td>
130
          </tr>
104
          </tr>
131
          <tr>
-
 
132
            <td width="1%">&nbsp;</td>
-
 
133
            <td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
-
 
134
            <td nowrap width="100%">
-
 
135
              <p>&nbsp;</p>
-
 
136
            </td>
-
 
137
          </tr>
-
 
138
        </table>
105
        </table>
139
      </td>
106
      </td>
140
    </tr>
107
    </tr>
141
    <tr>
108
    <tr>
-
 
109
      <td align="right">
-
 
110
        <input type="submit" name="btn" value="Update" class="form_btn_comp" onClick="clickedButton=true;MM_validateForm('FRduedate','Due Date','R','FRmsg','Message details','R');return document.MM_returnValue">
142
      <td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td>
111
        <input type="submit" name="btn" value="Delete" class="form_btn_comp" onClick="clickedButton=true;">
143
      <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/lbox_bg_blue.gif"></td>
112
        <input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="parent.closeIFrame();">
-
 
113
      </td>
144
    </tr>
114
    </tr>
145
  </table>
115
  </table>
146
</form>
116
</form>
147
</body>
117
</body>
148
</html>
118
</html>