phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: email/templates/default compose.tpl, 1.5, 1.5.2.


From: Alejandro Borges (lex) <address@hidden>
Subject: [Phpgroupware-cvs] CVS: email/templates/default compose.tpl, 1.5, 1.5.2.1
Date: Sat, 13 Sep 2003 02:27:46 -0400

Update of /cvsroot/phpgroupware/email/templates/default
In directory subversions:/tmp/cvs-serv21871/templates/default

Modified Files:
      Tag: Version-0_9_16-branch
        compose.tpl 
Log Message:
Fix the js addressbook


Index: compose.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/email/templates/default/compose.tpl,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -C2 -r1.5 -r1.5.2.1
*** compose.tpl 14 Mar 2003 04:02:56 -0000      1.5
--- compose.tpl 13 Sep 2003 06:27:44 -0000      1.5.2.1
***************
*** 1,145 ****
! <!-- begin compose.tpl -->
! <script type="text/javascript">
! <!--
!       self.name="first_Window";
!       function addybook(extraparm)
!       {
!               
Window1=window.open('{js_addylink}'+extraparm,"Search","width={jsaddybook_width},height={jsaddybook_height},toolbar=no,scrollbars=yes,resizable=yes");
!       }
!       function attach_window(url)
!       {
!               document.{form1_name}.attached_filenames.value="";
!               awin = 
window.open(url,"attach","width=500,height=400,toolbar=no,resizable=yes");
!       }
!       function spellcheck()
!       {
!               document.doit.btn_spellcheck.value = "'Spell Check*'";
!               document.doit.submit() ;
!       }
!       function send()
!       {
!               if (document.doit.to.value == "") {
!                       alert('Please enter a email address in the To box');
!               } else {
!                       document.doit.submit();
!               }
!       }
! -->
! </script>
! 
! {widget_toolbar}
! 
! <table border="0" cellpadding="1" cellspacing="1" width="100%" align="center">
! <!--  <form enctype="multipart/form-data" name="{ form1_name }" 
action="{form1_action}" method="{ form1_method }"> -->
! <form enctype="application/x-www-form-urlencoded" name="{form1_name}" 
action="{form1_action}" method="{form1_method}">
! <tr bgcolor="{buttons_bgcolor}" class="{buttons_bgcolor_class}">
!       <td colspan="2">
!               <table border="0" cellpadding="1" cellspacing="1" width="100%">
!               <tr bgcolor="{buttons_bgcolor}" class="{buttons_bgcolor_class}">
!                       <td width="20%" align="left">
!                               <font face="{toolbar_font}">
!                                       {addressbook_button}
!                               </font>
!                       </td>
!                       <td width="20%" align="center">
!                               <font face="{toolbar_font}">
!                                       {spellcheck_button}
!                               </font>
!                       </td>
!                       <td width="*" align="right">
!                               &nbsp;
!                       </td>
!                       <td width="20%" align="right">
!                               <font face="{toolbar_font}">
!                                       {send_button}
!                               </font>
!                       </td>
!                       <td width="50">
!                               &nbsp;
!                       </td>
!                       
!               </tr>
!               </table>
!       </td>
! </tr>
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td width="20%" align="left">
!               <font size="2" 
face="{to_boxs_font}"><strong>&nbsp;{to_box_desc}</strong></font>
!       </td>
!       <td width="80%" align="left">
!               <input type="text" name="{to_box_name}" size="80" 
value="{to_box_value}">
!       </td>
! </tr>
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td>
!               <font size="2" 
face="{to_boxs_font}"><strong>&nbsp;{cc_box_desc}</strong></font>
!       </td>
!       <td>
!               <input type="text" name="{cc_box_name}" size="80" 
value="{cc_box_value}">
!       </td>
! </tr>
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td>
!               <font size="2" 
face="{to_boxs_font}"><strong>&nbsp;{bcc_box_desc}</strong></font>
!       </td>
!       <td>
!               <input type="text" name="{bcc_box_name}" size="80" 
value="{bcc_box_value}">
!       </td>
! </tr>
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td>
!               <font size="2" face="{to_boxs_font}">
!               <strong>&nbsp;{subj_box_desc}</strong></font>
!       </td>
!       <td>
!               <input type="text" name="{subj_box_name}" size="80" 
value="{subj_box_value}">
!       </td>
! </tr>
! 
! <!-- BEGIN B_checkbox_sig -->
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td colspan="1">
!               <font size="2" 
face="{to_boxs_font}"><strong>&nbsp;{checkbox_sig_desc}</strong></font>
!       </td>
!       <td colspan="1">
!               <input type="checkbox" name="{checkbox_sig_name}" 
value="{checkbox_sig_value}" {ischecked_checkbox_sig}>
!       </td>
! </tr>
! <!-- END B_checkbox_sig -->
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td colspan="1">
!               <font size="2" 
face="{to_boxs_font}"><strong>&nbsp;{checkbox_req_notify_desc}</strong></font>
!       </td>
!       <td colspan="1">
!       <input type="checkbox" name="{checkbox_req_notify_name}" 
value="{checkbox_req_notify_value}" {ischecked_checkbox_req_notify}>
!       </td>
! </tr>
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!        <td>
!                <font size="2" face="{to_boxs_font}">
!                {attachfile_js_button}
!                </font>
!        </td>
!        <td>
!               <input type="text" size="80" name="attached_filenames" 
onClick="javascript:{attachfile_js_onclick}">
!       <td>
!  </tr>
!  </table>
! <!-- this textarea should be 78 chars each line to conform with RFC822 old 
line length standard 78+CR+LF= 80 char line -->
! <!-- when used with enctype multipart/form-data and wrap=hard this will add 
the hard wrap CRLF to the end of each line -->
!  <table border="0" cellpadding="1" cellspacing="1" width="100%" 
align="center">
! <tr align="center">
!       <td>
!               <textarea name="{body_box_name}" cols="84" rows="15" 
wrap="hard">{body_box_value}</textarea>
!               <!-- <textarea name="{body_box_name}" cols="78" rows="20" 
wrap="hard">{body_box_value}</textarea> -->
!       </td>
! </tr>
! </table>
! </form>
! 
! <script type="text/javascript">
!   document.doit.body.focus();
!   if(document.doit.subject.value == "") document.doit.subject.focus();
!   if(document.doit.to.value == "") document.doit.to.focus();
! </script>
! <!-- end compose.tpl -->
--- 1,149 ----
! <!-- begin compose.tpl -->
! <script type="text/javascript">
! <!--
!       self.name="first_Window";
!       function addybook(extraparm)
!       {
!               
Window1=window.open('{js_addylink}'+extraparm,"Search","width={jsaddybook_width},height={jsaddybook_height},toolbar=no,scrollbars=yes,resizable=yes");
!       }
!       function attach_window(url)
!       {
!               document.{form1_name}.attached_filenames.value="";
!               awin = 
window.open(url,"attach","width=500,height=400,toolbar=no,resizable=yes");
!       }
!       function spellcheck()
!       {
!               document.doit.btn_spellcheck.value = "'Spell Check*'";
!               document.doit.submit() ;
!       }
!       function send()
!       {
!               if (document.doit.to.value == "") {
!                       alert('Please enter a email address in the To box');
!               } else {
!                       document.doit.submit();
!               }
!       }
!       function jsaddybook_closing(contact_ids)
!       {
!               //alert('OPENER GOT -> '+contact_ids);
!       }
! -->
! </script>
! 
! {widget_toolbar}
! 
! <table border="0" cellpadding="1" cellspacing="1" width="100%" align="center">
! <!--  <form enctype="multipart/form-data" name="{ form1_name }" 
action="{form1_action}" method="{ form1_method }"> -->
! <form enctype="application/x-www-form-urlencoded" name="{form1_name}" 
action="{form1_action}" method="{form1_method}">
! <tr bgcolor="{buttons_bgcolor}" class="{buttons_bgcolor_class}">
!       <td colspan="2">
!               <table border="0" cellpadding="1" cellspacing="1" width="100%">
!               <tr bgcolor="{buttons_bgcolor}" class="{buttons_bgcolor_class}">
!                       <td width="20%" align="left">
!                               <font face="{toolbar_font}">
!                                       {addressbook_button}
!                               </font>
!                       </td>
!                       <td width="20%" align="center">
!                               <font face="{toolbar_font}">
!                                       {spellcheck_button}
!                               </font>
!                       </td>
!                       <td width="*" align="right">
!                               &nbsp;
!                       </td>
!                       <td width="20%" align="right">
!                               <font face="{toolbar_font}">
!                                       {send_button}
!                               </font>
!                       </td>
!                       <td width="50">
!                               &nbsp;
!                       </td>
!                       
!               </tr>
!               </table>
!       </td>
! </tr>
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td width="20%" align="left">
!               <font size="2" 
face="{to_boxs_font}"><strong>&nbsp;{to_box_desc}</strong></font>
!       </td>
!       <td width="80%" align="left">
!               <input type="text" name="{to_box_name}" size="80" 
value="{to_box_value}">
!       </td>
! </tr>
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td>
!               <font size="2" 
face="{to_boxs_font}"><strong>&nbsp;{cc_box_desc}</strong></font>
!       </td>
!       <td>
!               <input type="text" name="{cc_box_name}" size="80" 
value="{cc_box_value}">
!       </td>
! </tr>
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td>
!               <font size="2" 
face="{to_boxs_font}"><strong>&nbsp;{bcc_box_desc}</strong></font>
!       </td>
!       <td>
!               <input type="text" name="{bcc_box_name}" size="80" 
value="{bcc_box_value}">
!       </td>
! </tr>
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td>
!               <font size="2" face="{to_boxs_font}">
!               <strong>&nbsp;{subj_box_desc}</strong></font>
!       </td>
!       <td>
!               <input type="text" name="{subj_box_name}" size="80" 
value="{subj_box_value}">
!       </td>
! </tr>
! 
! <!-- BEGIN B_checkbox_sig -->
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td colspan="1">
!               <font size="2" 
face="{to_boxs_font}"><strong>&nbsp;{checkbox_sig_desc}</strong></font>
!       </td>
!       <td colspan="1">
!               <input type="checkbox" name="{checkbox_sig_name}" 
value="{checkbox_sig_value}" {ischecked_checkbox_sig}>
!       </td>
! </tr>
! <!-- END B_checkbox_sig -->
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!       <td colspan="1">
!               <font size="2" 
face="{to_boxs_font}"><strong>&nbsp;{checkbox_req_notify_desc}</strong></font>
!       </td>
!       <td colspan="1">
!       <input type="checkbox" name="{checkbox_req_notify_name}" 
value="{checkbox_req_notify_value}" {ischecked_checkbox_req_notify}>
!       </td>
! </tr>
! <tr bgcolor="{to_boxs_bgcolor}" class="{to_boxs_bgcolor_class}">
!        <td>
!                <font size="2" face="{to_boxs_font}">
!                {attachfile_js_button}
!                </font>
!        </td>
!        <td>
!               <input type="text" size="80" name="attached_filenames" 
onClick="javascript:{attachfile_js_onclick}">
!       <td>
!  </tr>
!  </table>
! <!-- this textarea should be 78 chars each line to conform with RFC822 old 
line length standard 78+CR+LF= 80 char line -->
! <!-- when used with enctype multipart/form-data and wrap=hard this will add 
the hard wrap CRLF to the end of each line -->
!  <table border="0" cellpadding="1" cellspacing="1" width="100%" 
align="center">
! <tr align="center">
!       <td>
!               <textarea name="{body_box_name}" cols="84" rows="15" 
wrap="hard">{body_box_value}</textarea>
!               <!-- <textarea name="{body_box_name}" cols="78" rows="20" 
wrap="hard">{body_box_value}</textarea> -->
!       </td>
! </tr>
! </table>
! </form>
! 
! <script type="text/javascript">
!   document.doit.body.focus();
!   if(document.doit.subject.value == "") document.doit.subject.focus();
!   if(document.doit.to.value == "") document.doit.to.focus();
! </script>
! <!-- end compose.tpl -->





reply via email to

[Prev in Thread] Current Thread [Next in Thread]