source: sandbox/3.0/calendar/templates/default/edit.tpl @ 2802

Revision 2802, 2.0 KB checked in by rodsouza, 14 years ago (diff)

Ticket #1058 - Permitindo o envio de formulário por requisição background

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<!-- BEGIN edit_entry -->
2<style type="text/css">
3div#tipDiv {
4  position:absolute; visibility:hidden; left:0; top:0; z-index:10000;
5  background-color:#EFEFEF; border:1px solid #337;
6  width:220px; padding:3px;
7  color:#000; font-size:11px; line-height:1.2;
8  cursor: default;
9}
10</style>
11<script language="JavaScript">
12        self.name="first_Window";
13        function accounts_popup()
14        {
15                Window1=window.open('{accounts_link}',"Search","width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes");
16        }
17        function send_form( )
18        {
19                var participants;
20
21                if ( ( participants = document.getElementById( 'user_list_in' ) ) )
22                        for ( var i = 0; i < participants.length; i++ )
23                                participants.options[ i ].selected = false;
24
25                if ( ( participants = document.getElementById( 'user_list' ) ) )
26                        for ( var i = 0; i < participants.length; i++ )
27                                participants.options[ i ].selected = true;
28
29                return ExpressoLivre.form( arguments[ 0 ].parentNode.removeChild( arguments[ 0 ] ) );
30        }
31</script>
32<center>
33<font color="#000000" face="{font}">
34
35<form action="{action_url}" method="post" name="app_form" onsubmit="return send_form( this );">
36{common_hidden}
37<table id="editFormTable" border="0" width="90%"   class="prefTable">
38 <tr>
39  <td colspan="2">
40   <center><font size="+1"><b id="formStatus">{errormsg}</b></font></center>
41  </td>
42 </tr>
43{row}
44 <tr>
45  <td>
46  <table><tr valign="top">
47  <td>
48  <div style="padding-top:15px; padding-right: 2px">
49        <script language="JavaScript">
50                var alert_field = '{alert_msg}';
51        </script>
52        <input id="submit_button" style="font-size:10px" type="submit" value="{submit_button}" onClick="return submitValues(alert_field);"></div></form>
53  </td>
54  <td>{cancel_button}</td>
55  </tr></table>
56  </td>
57  <td align="right">{delete_button}</td>
58 </tr>
59</table>
60</font>
61</center>
62<!-- END edit_entry -->
63<!-- BEGIN list -->
64 <tr bgcolor="{tr_color}">
65  <td valign="top" width="25%">&nbsp;<b>{field}:</b></td>
66  <td valign="top" width="75%">{data}</td>
67 </tr>
68<!-- END list -->
69<!-- BEGIN hr -->
70 <tr bgcolor="{tr_color}">
71  <td colspan="2">
72   {hr_text}
73  </td>
74 </tr>
75<!-- END hr -->
Note: See TracBrowser for help on using the repository browser.