phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: fax/templates/default cover_preview.tpl,1.1,1.2


From: Marco Andriolo-Stagno (MAS!) <address@hidden>
Subject: [Phpgroupware-cvs] CVS: fax/templates/default cover_preview.tpl,1.1,1.2 sendfax.tpl,1.4,1.5
Date: Thu, 05 Dec 2002 10:08:30 -0500

Update of /cvsroot/phpgroupware/fax/templates/default
In directory subversions:/tmp/cvs-serv28240/templates/default

Modified Files:
        cover_preview.tpl sendfax.tpl 
Log Message:
changed the fax attachment preview scheme (to keep compatibility even with
older browser)



Index: cover_preview.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/fax/templates/default/cover_preview.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** cover_preview.tpl   27 Nov 2002 15:50:40 -0000      1.1
--- cover_preview.tpl   5 Dec 2002 15:08:27 -0000       1.2
***************
*** 4,8 ****
  <br>
  <img src="{img_src}" border="1">
- 
  <!-- END image -->
  
--- 4,7 ----

Index: sendfax.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/fax/templates/default/sendfax.tpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** sendfax.tpl 2 Dec 2002 16:48:36 -0000       1.4
--- sendfax.tpl 5 Dec 2002 15:08:27 -0000       1.5
***************
*** 3,7 ****
  
  <!-- BEGIN header -->
- 
  <br>
  <center><h2>{fax}</h2></center>
--- 3,6 ----
***************
*** 37,43 ****
   function submit_if(vv)
      {
!      box = document.fax_filter.selected_file; 
!      if (box.options[box.selectedIndex].selected == true && box.selectedIndex 
!=0 )
         {
          document.fax_filter.attach_options.value=vv;
          document.fax_filter.submit();
--- 36,45 ----
   function submit_if(vv)
      {
!      box = document.fax_filter.selected_file;
!        lgth = box.options.length ; 
!      if (box.options[box.selectedIndex].selected == true && box.selectedIndex 
!=0)
         {
+               if (vv=='file_show')
+               { document.fax_filter.action = '{show_url}' }
          document.fax_filter.attach_options.value=vv;
          document.fax_filter.submit();
***************
*** 48,52 ****
  
  
- 
  <!-- BEGIN categories_header -->
  <form enctype='multipart/form-data' name='fax_filter' action='{url_view}' 
method='post'>
--- 50,53 ----
***************
*** 62,71 ****
  
  
! <!-- WARNING: categories bodies are writen from fax/class.manager.inc.php -->
  
  
  <!-- BEGIN categories_footer -->
    </select></th>
- 
   <th  align=right>{l_filter}</th>
   <th  align=left>
--- 63,71 ----
  
  
! <!-- WARNING!: categories bodies are writen from fax/class.manager.inc.php -->
  
  
  <!-- BEGIN categories_footer -->
    </select></th>
   <th  align=right>{l_filter}</th>
   <th  align=left>
***************
*** 76,80 ****
   </select></th>
  </tr>
- 
  <input type='hidden' name='old_query' value='{old_query}'>
  <input type='hidden' name='old_cat' value='{old_cat}'>
--- 76,79 ----
***************
*** 83,87 ****
  
  
- 
  <!-- BEGIN contacts_header -->
  <br>
--- 82,85 ----
***************
*** 93,97 ****
  
  
- 
  <!-- BEGIN contacts_body -->
  <tr bgcolor={bgcolor}>
--- 91,94 ----
***************
*** 104,108 ****
  
  
- 
  <!-- BEGIN contacts_footer -->
  <tr bgcolor={td_color}>
--- 101,104 ----
***************
*** 137,141 ****
  
  
- 
  <!-- BEGIN faxdata_add -->
  <tr>
--- 133,136 ----
***************
*** 163,167 ****
   <th  align=left> <input type='text' value='{comments}' name='comments'></th>
  </tr>
- 
  <tr>
   <th  align=right>{l_mnotify}:</th>
--- 158,161 ----
***************
*** 218,224 ****
  <td align=center colspan=2 bgcolor={bg02}> {l_att_descr}</td>
  </tr>
- 
  <tr>
!  <!-- fare upload solo se c'e' scritto qualcosa nel campo upload? -->
   <td bgcolor={bg01} align=right> <input type='file' name='userfile' > <input 
type='submit' name='add_file' value='{l_addfile}' ></td> 
   <td bgcolor={bg02} rowspan=3 align=center>  <select name='selected_file' 
size=10> <option value='FAKE'>{l_fake}
--- 212,217 ----
  <td align=center colspan=2 bgcolor={bg02}> {l_att_descr}</td>
  </tr>
  <tr>
!  <!-- ToDo: upload if and only if there is something in the text field? -->
   <td bgcolor={bg01} align=right> <input type='file' name='userfile' > <input 
type='submit' name='add_file' value='{l_addfile}' ></td> 
   <td bgcolor={bg02} rowspan=3 align=center>  <select name='selected_file' 
size=10> <option value='FAKE'>{l_fake}
***************
*** 240,251 ****
   <td bgcolor={bg02}> <input type='button' value='{l_d}' 
onclick='javascript:submit_if("file_down")'> &nbsp;</td>
  </tr>
- 
- 
  <tr>
   <td bgcolor={bg03} align=center><textarea name='faxtext' rows='6' 
cols='60'>{l_msg}</textarea></td>
  <td bgcolor={bg02}> &nbsp; </td>
-  
  <tr>
- 
  <tr>
   <td bgcolor={bg03} align=right> <input type='submit' name='add_text' 
value='{l_addtext}'></td>
--- 233,240 ----
***************
*** 253,257 ****
   <td bgcolor={bg02} > &nbsp; </td> 
  </tr>
- 
  <input type='hidden' name="MAX_FILE_SIZE" value='5000000'>
  <input type='hidden' name='filename_data' value='{filename_data}'>
--- 242,245 ----
***************
*** 262,276 ****
  
  
- 
  <!-- BEGIN submit_button -->
  <tr>
   <th  colspan=3>&nbsp;</th>
  </tr>
- 
  <tr>
   <th  align=right><input type='submit' name='action' value='{l_send}'></th>
   <th  colspan=2> &nbsp;</th>
  </tr>
- 
  </table>
  </form>
--- 250,261 ----
***************
*** 280,293 ****
  <!-- BEGIN show_preview -->
  
  <script language=javascript>
     function openwindowlink() 
      {
!      newwin =
! window.open("{show_link}","{show_win_name}",'width=400,height=400')
      }
      openwindowlink();
  </script>
  
! <!-- <a href='{show_link}' target='new'>provo</a> -->
  <!-- END show_preview -->
  
--- 265,281 ----
  <!-- BEGIN show_preview -->
  
+ <!-- 
  <script language=javascript>
     function openwindowlink() 
      {
!      newwin = 
window.open("{show_link}","{show_win_name}",'width=400,height=400')
      }
      openwindowlink();
  </script>
+ -->
  
! <a href='{show_link}'> <img src='{dl_pic}' border=0></a>
! <br>
! <a href="javascript:history.go(-1)" 
onMouseOver="self.status=document.referrer;return true">{l_goback}</a>
  <!-- END show_preview -->
  





reply via email to

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