[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: fax/templates/default cover_preview.tpl,NONE,1.1
From: |
Marco Andriolo-Stagno (MAS!) <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: fax/templates/default cover_preview.tpl,NONE,1.1 admin.tpl,1.1.1.1,1.2 preferences.tpl,1.1.1.1,1.2 sendfax.tpl,1.1.1.1,1.2 |
Date: |
Wed, 27 Nov 2002 10:50:42 -0500 |
Update of /cvsroot/phpgroupware/fax/templates/default
In directory subversions:/tmp/cvs-serv11399/fax/templates/default
Modified Files:
admin.tpl preferences.tpl sendfax.tpl
Added Files:
cover_preview.tpl
Log Message:
sync to latest version.
--- NEW FILE ---
<!-- BEGIN cover_preview -->
<!-- BEGIN image -->
<br>
<img src="{img_src}" border="1">
<!-- END image -->
<!-- END cover_preview -->
Index: admin.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/fax/templates/default/admin.tpl,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** admin.tpl 26 Nov 2002 17:57:16 -0000 1.1.1.1
--- admin.tpl 27 Nov 2002 15:50:40 -0000 1.2
***************
*** 4,8 ****
<table border='0' cellspacing='0'>
<form name='faxadmin' action='{submit_url}' method='post'>
! <tr><th>{l_cover_pref}:</th><th> <input type='text' value='{cover_path}'
name='cover_path'><input type='submit' value='{l_update}'></th></tr>
</form>
</table>
--- 4,11 ----
<table border='0' cellspacing='0'>
<form name='faxadmin' action='{submit_url}' method='post'>
! <tr><th>{l_cover_pref}:</th><th> <input type='text' value='{cover_path}'
name='cover_path'>
! </th></tr>
! <tr><th>{l_domain}:</th><th><input type='text' value='{domain}'
name='domain'></th></tr>
! <tr colspan=2><td align=center><input type='submit'
value='{l_update}'></td>
</form>
</table>
Index: preferences.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/fax/templates/default/preferences.tpl,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** preferences.tpl 26 Nov 2002 17:57:16 -0000 1.1.1.1
--- preferences.tpl 27 Nov 2002 15:50:40 -0000 1.2
***************
*** 3,40 ****
<!-- BEGIN message -->
! <p>
<center>{msg}</center>
! </p>
<!-- END message -->
! <!-- BEGIN cover_header -->
<form name='notify' action='{submit_url}' method='post'>
! {l_cover}: <select name='cover' onChange='this.form.submit()'>
! <!-- END cover_header -->
<!-- BEGIN cover_row -->
<option value='{cover_path}' {sel}>{cover_name}
- <!-- END cover_row -->
<!-- BEGIN cover_footer -->
! </select> <br> <img src='{img_src}'>
! <!-- END cover_footer -->
!
!
! <!-- BEGIN notify -->
! <table border='0' cellspacing='0'>
! <tr><th> {l_mnotify}: </th><th><input type='radio' name='notify' value='N'
{def_no}>{l_no}<input type='radio' name='notify' value='Y'
{def_yes}>{l_yes}</th></tr>
! <tr><th> </th><th><input name='action' type='submit' value='OK'><input
type='hidden' value='{user_login}' name='user_login'></th></tr>
! </form>
! </table>
! <!-- END notify -->
--- 3,52 ----
<!-- BEGIN message -->
! <p>
<center>{msg}</center>
! </p>
<!-- END message -->
! <!-- BEGIN notify -->
<form name='notify' action='{submit_url}' method='post'>
! <table border='0' cellspacing='0'>
! <tr>
! <th align=right> {l_mnotify}: </th>
! <td><input type='radio' name='notify' value='N' {def_no}>{l_no}<input
! type='radio' name='notify' value='Y' {def_yes}>{l_yes}</td>
! </tr>
!
! <!-- END notify -->
+ <!-- BEGIN cover_header -->
+ <tr>
+ <th align=right>
+ {l_cover}:</th>
+ <td>
+ <select name='cover' onChange='this.form.submit()'>
+ <!-- END cover_header -->
+
<!-- BEGIN cover_row -->
<option value='{cover_path}' {sel}>{cover_name}
+ <!-- END cover_row -->
<!-- BEGIN cover_footer -->
! </select> </td>
! </tr>
! <tr>
! <td colspan=2 align=center><input type='hidden' value='{user_login}'
name='user_login'>
! <input name='action' type='submit' value='OK'> </td></tr>
+ </table></form>
+ <br> <img src='{img_src}' border=1>
! <!-- END cover_footer -->
!
Index: sendfax.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/fax/templates/default/sendfax.tpl,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** sendfax.tpl 26 Nov 2002 17:57:16 -0000 1.1.1.1
--- sendfax.tpl 27 Nov 2002 15:50:40 -0000 1.2
***************
*** 3,12 ****
<!-- BEGIN header -->
! <br><center><h2> FAX </h2></center>
! <script language=javascript>
! function fc()
! {document.fax_filter.action = '{fc_url}';
! document.fax_filter.submit();}
! </script>
<!-- END header -->
--- 3,48 ----
<!-- BEGIN header -->
!
! <br>
! <center><h2>{fax}</h2></center>
! <script language=javascript>
!
! function fc()
! {
! document.fax_filter.action = '{fc_url}';
! document.fax_filter.submit();
! }
!
! function preview()
! {
! document.fax_filter.action = '{preview_url}';
! document.fax_filter.submit();
! }
!
! tst = 0 ;
! function check_all()
! {
! if (tst == 1)
! {for (i = 0; i <document.fax_filter.elements.length; i++)
! { document.fax_filter.elements[i].checked = false; }
! tst = 0;
! }
! else
! {for (i = 0; i<document.fax_filter.elements.length; i++)
! { document.fax_filter.elements[i].checked = true;}
! tst = 1;
! }
! }
!
! 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();
! }
! }
! </script>
<!-- END header -->
***************
*** 15,34 ****
<!-- BEGIN categories_header -->
<form enctype='multipart/form-data' name='fax_filter' action='{url_view}'
method='post'>
! <select name='cat_id' onChange='this.form.submit()'>
! <option value='none' {none}> </option>
! <option value="all" {all}>{l_all_cat}</option>
<!-- END categories_header -->
<!-- BEGIN categories_footer -->
! </select>
! <select name='filter' onChange='this.form.submit()'>
! <option value='all' {show_all}>{l_all_add}</option>
! <option value="private" {private}>{l_private}</option>
! <option value="personal" {personal}>{l_mine}</option>
! </select>
! <input type='submit' name='change' value='{l_change}'>
! <input type='submit' name='newquery' value='{l_new_query}'>
<input type='hidden' value='{query}' name='query'>
<input type='hidden' name='old_query' value='{old_query}'>
--- 51,80 ----
<!-- BEGIN categories_header -->
<form enctype='multipart/form-data' name='fax_filter' action='{url_view}'
method='post'>
! <input type='hidden' name='user_login' value='{user_login}'>
! <table border='0' cellspacing=1>
! <tr>
! <th width='200' align=right>{l_cat}</th>
! <th align=left>
! <select name='cat_id' onChange='this.form.submit()'>
! <option value='none' {none}> </option>
! <option value="all" {all}>{l_all_cat}</option>
<!-- END categories_header -->
+ <!-- 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>
! <select name='filter' onChange='this.form.submit()'>
! <option value='all' {show_all}>{l_all_add}</option>
! <option value="private" {private}>{l_private}</option>
! <option value="personal" {personal}>{l_mine}</option>
! </select></th>
! </tr>
!
<input type='hidden' value='{query}' name='query'>
<input type='hidden' name='old_query' value='{old_query}'>
***************
*** 41,46 ****
<!-- BEGIN contacts_header -->
<br>
! <table border='0' width="85%">
! <tr
bgcolor={td_color}><td>{l_contact}</td><td>{l_company}</td><td>{l_city}</td><td>{l_faxnumber}</td><td>{type}</td><tr>
<!-- END contacts_header -->
--- 87,94 ----
<!-- BEGIN contacts_header -->
<br>
! <tr bgcolor={td_color}>
!
<td>{l_contact}</td><td>{l_company}</td><td>{l_city}</td><td>{l_faxnumber}</td>
! <td><input type='checkbox' onClick='javascript:check_all();' name='ca'>
{type}</td>
! <tr>
<!-- END contacts_header -->
***************
*** 48,55 ****
<!-- BEGIN contacts_body -->
! <tr bgcolor={bgcolor}><td>{fn}</td><td>{org_name}</td>
<td>{adr_one_locality}</td><td>{tel_fax}</td><td>
! <input type='checkbox' name='item_{id}' {it_sel}></tr>
! <input type='hidden' name='operand' value='{operand}'>
<!-- END contacts_body -->
--- 96,105 ----
<!-- BEGIN contacts_body -->
! <tr bgcolor={bgcolor}>
! <td>{fn}</td><td>{org_name}</td>
<td>{adr_one_locality}</td><td>{tel_fax}</td><td>
! <input type='checkbox' name='item_{id}' {it_sel}>
! </tr>
! <input type='hidden' name='operand' value='{operand}'>
<!-- END contacts_body -->
***************
*** 57,192 ****
<!-- BEGIN contacts_footer -->
<input type='hidden' value='{contacts}' name='contacts'>
- <!-- <tr><a href="javascript:check_all()">provami</a></tr> -->
- </table>
- <br>
<!-- END contacts_footer -->
-
- <!-- BEGIN faxdata_header -->
- <table border='0' >
- <!-- END faxdata_header -->
-
-
-
<!-- BEGIN faxdata_search -->
! <tr><th><input type='text' name='query' value='{query}'></th><th>
! <input type='submit' name='search' value='{l_search}'></th></tr>
<!-- END faxdata_search -->
<!-- BEGIN faxdata_add -->
! <tr><th>{l_faxnumber}:</th><th> <input type='text' value='{faxnumber}'
name='faxnumber'></th></tr>
! <tr><th>{l_recipient}:</th><th> <input type='text' value='{recipient}'
name='recipient'></th></tr>
! <tr><th>{l_company}:</th><th> <input type='text' value='{company}'
name='company'></th></tr>
! <tr><th>{l_location}:</th><th> <input type='text' value='{location}'
name='location'></th></tr>
<!-- END faxdata_add -->
! <!-- BEGIN faxdata_body1 -->
! <tr><th>{l_regarding}:</th><th> <input type='text' value='{regarding}'
name='regarding'></th></tr>
! <tr><th>{l_comment}:</th><th> <input type='text' value='{comments1}'
name='comments1'></th></tr>
! <tr><th>{l_comment}:</th><th> <input type='text' value='{comments2}'
name='comments2'></th></tr>
! <tr><th>{l_comment}:</th><th> <input type='text' value='{comments3}'
name='comments3'></th></tr>
! <tr><th>{l_mnotify}:</th><th>
! <select name='notify'>
! <option value='N' {mnot_check_no}>{l_no}
! <option value='Y' {mnot_check_yes}>{l_yes}
! </select>
! </th></tr>
! <!-- END faxdata_body1 -->
!
<!-- BEGIN add_cover -->
! <tr><th>{l_ucover}:</th><th>
<select name='addcover' onChange='this.form.submit()'>
<option value='N' {cover_sel_no}>{l_no}
<option value='Y' {cover_sel_yes}>{l_yes}
! </select> </th></tr>
! <!-- aggiungere bottone se non javascriopt -->
<!-- END add_cover -->
-
- <!-- BEGIN faxdata_body2 -->
- <tr><th>{l_choose}:</th><th>
- <select name='type' onChange='this.form.submit()'>
- <option value='file' {tp_file}>{l_file}
- <option value='text' {tp_txt}>{l_text}
- </select>
- </th></tr>
- <!-- END faxdata_body2 -->
-
-
-
- <!-- BEGIN faxdata_text -->
- <tr><th>{l_text}:</th><th><textarea name='faxtext' rows='10'
cols='50'>{l_msg}</textarea></th></tr>
- <!-- END faxdata_text -->
-
-
-
- <!-- BEGIN submit_button -->
- <br>
- <tr><th> </th><th><input type='submit' name='action'
value='{l_send}'></th></tr>
- <!-- END submit_button -->
-
-
-
<!-- BEGIN faxdata_cover_header -->
! <tr><th>{l_cover}:</th><th> <select name='cover'
onChange='this.form.submit()'>
! <!-- aggiungere bottone per no javascripp -->
<!-- END faxdata_cover_header -->
-
<!-- BEGIN faxdata_cover_row -->
! <option value='{cover_path}' {sel}>{cover_name}
<!-- END faxdata_cover_row -->
-
<!-- BEGIN faxdata_cover_footer -->
! </select> </th><tr>
! <th colspan=2><img src='{img_src}'></th></tr>
<!-- END faxdata_cover_footer -->
! <!-- BEGIN faxdata_file -->
! <tr><th>{l_file}:</th><th> {filename}
! <input type='hidden' name='filename' value='{filename}'>
! <input type='hidden' name='filename_real' value='{filename_real}'>
! </th></tr>
! <!-- END faxdata_file -->
- <!-- BEGIN faxdata_file_upload -->
- <input type='hidden' name="MAX_FILE_SIZE" value='10000000'>
<tr>
! <th> </th><th><input type='file' name='userfile' value='Upload'>
</th></tr>
! <!-- END faxdata_file_upload -->
! <!-- BEGIN faxdata_file_chooser -->
! <tr><th> </th><th><input type='button' name='bottone'
value='{l_storage}' onclick='javascript:fc()'></th></tr>
! <!-- END faxdata_file_chooser -->
! <!-- BEGIN faxdata_footer -->
! </table>
! </form>
! <!-- END faxdata_footer -->
<!-- BEGIN no_data -->
! <br>{l_sorry}<br>
<!-- END no_data -->
--- 107,297 ----
<!-- BEGIN contacts_footer -->
+ <tr bgcolor={td_color}>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ </tr>
<input type='hidden' value='{contacts}' name='contacts'>
<!-- END contacts_footer -->
<!-- BEGIN faxdata_search -->
! <tr>
! <th align=right>{l_faxnumber}:</th>
! <th align=left> <input type='text' value='{faxnumber}'
name='faxnumber'></th>
! <th align=right><input type='submit' name='search' value='{l_search}'></th>
! <th align=left><input type='text' name='query' value=''></th> <!-- value =
'{query}' -->
! </tr>
<!-- END faxdata_search -->
+ <!-- BEGIN faxdata_searchonly -->
+ <tr>
+ <th> </th>
+ <th> </th>
+ <th align=right><input type='submit' name='search' value='{l_search}'></th>
+ <th align=left><input type='text' name='query' value=''></th>
+ </tr>
+ <!-- END faxdata_searchonly -->
+
+
<!-- BEGIN faxdata_add -->
! <tr>
! <th align=right>{l_recipient}:</th>
! <th align=left> <input type='text' value='{recipient}'
name='recipient'></th>
! </tr>
! <tr>
! <th align=right>{l_company}:</th>
! <th align=left> <input type='text' value='{company}' name='company'></th>
! </tr>
! <tr>
! <th align=right>{l_location}:</th>
! <th align=left> <input type='text' value='{location}' name='location'></th>
! </tr>
<!-- END faxdata_add -->
+ <!-- BEGIN faxdata_body -->
+ <tr>
+ <th align=right>{l_regarding}:</th>
+ <th align=left> <input type='text' value='{regarding}'
name='regarding'></th>
+ </tr>
+ <tr>
+ <th align=right>{l_comment}:</th>
+ <th align=left> <input type='text' value='{comments}' name='comments'></th>
+ </tr>
! <tr>
! <th align=right>{l_mnotify}:</th>
! <th align=left>
! <select name='notify'>
! <option value='N' {mnot_check_no}>{l_no}
! <option value='Y' {mnot_check_yes}>{l_yes}
! </select>
! </th>
! </tr>
! <!-- END faxdata_body -->
<!-- BEGIN add_cover -->
! <tr>
! <th align=right>{l_ucover}:</th>
! <th align=left>
<select name='addcover' onChange='this.form.submit()'>
<option value='N' {cover_sel_no}>{l_no}
<option value='Y' {cover_sel_yes}>{l_yes}
! </select></th>
! </tr>
<!-- END add_cover -->
<!-- BEGIN faxdata_cover_header -->
! <tr>
! <th align=right>{l_cover}:</th>
! <th align=left>
! <select name='cover' >
<!-- END faxdata_cover_header -->
<!-- BEGIN faxdata_cover_row -->
! <option value='{cover_path}' {sel}>{cover_name}
<!-- END faxdata_cover_row -->
<!-- BEGIN faxdata_cover_footer -->
! </select>
! <input type=submit value={l_preview} onclick='javascript:preview()'>
! </th>
! </tr>
<!-- END faxdata_cover_footer -->
+ <!-- BEGIN attachment_header -->
+ </table>
+ <br>
+ <table border=0 cellspacing=0 cellpadding=2>
+ <tr>
+ <td bgcolor={bg01}> </td>
+ <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}
! <!-- END attachment_header -->
!
!
! <!-- BEGIN attachment_row -->
! <option value='{fn_fp}'>{fn_n}
! </option>
! <!-- END attachment_row -->
!
!
! <!-- BEGIN attachment_footer -->
! </select></td>
! <td bgcolor={bg02}> <input width='100' type='button' value='{l_u}'
onclick='javascript:submit_if("file_up")'> </td>
! </tr>
! <tr>
! <td bgcolor={bg01} align=right > <input type='submit' name='bottone'
value='{l_storage}' onclick='javascript:fc()'></td>
! <td bgcolor={bg02}> <input type='button' value='{l_d}'
onclick='javascript:submit_if("file_down")'> </td>
! </tr>
+ <tr>
+ <td bgcolor={bg03} align=center><textarea name='faxtext' rows='6'
cols='60'>{l_msg}</textarea></td>
+ <td bgcolor={bg02}> </td>
+
+ <tr>
<tr>
! <td bgcolor={bg03} align=right> <input type='submit' name='add_text'
value='{l_addtext}'></td>
! <td bgcolor={bg02} align=center> <input type='button' value='{l_show}'
onclick='javascript:submit_if("file_show")'><input type='button'
value='{l_delete}' onclick='javascript:submit_if("file_del")'></td></td>
! <td bgcolor={bg02} > </td>
! </tr>
!
! <input type='hidden' name="MAX_FILE_SIZE" value='5000000'>
! <input type='hidden' name='filename_data' value='{filename_data}'>
! <input type='hidden' name='filename' value='{filename}'>
! <input type='hidden' name='filename_real' value='{filename_real}'>
! <input type='hidden' name='attach_options' value=''>
! <!-- END attachment_footer -->
!
!
+ <!-- BEGIN submit_button -->
+ <tr>
+ <th colspan=3> </th>
+ </tr>
+ <tr>
+ <th align=right><input type='submit' name='action' value='{l_send}'></th>
+ <th colspan=2> </th>
+ </tr>
! </table>
! </form>
! <!-- END submit_button -->
+ <!-- BEGIN show_preview -->
! <script language=javascript>
! function openwindowlink()
! {
! newwin = window.open("{show_link}","{show_win_name}"
! }
! openwindowlink();
! </script>
+ <!-- <a href='{show_link}' target='new'>provo</a> -->
+ <!-- END show_preview -->
<!-- BEGIN no_data -->
! <br><center><b>{l_sorry}</b></center><br>
<!-- END no_data -->
***************
*** 206,210 ****
-
<!-- BEGIN fax_sent -->
<center> {msg_ok} </center>
--- 311,314 ----
***************
*** 214,218 ****
</center>
<!-- END fax_sent -->
-
--- 318,321 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: fax/templates/default cover_preview.tpl,NONE,1.1 admin.tpl,1.1.1.1,1.2 preferences.tpl,1.1.1.1,1.2 sendfax.tpl,1.1.1.1,1.2,
Marco Andriolo-Stagno (MAS!) <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: fax/doc README,1.1.1.1,1.2 changelog,1.1.1.1,1.2
- Next by Date:
[Phpgroupware-cvs] CVS: fax/inc class.manager.inc.php,1.1.1.1,1.2 hook_about.inc.php,1.1.1.1,1.2 hook_admin.inc.php,1.1.1.1,1.2 hook_manual.inc.php,1.1.1.1,1.2 hook_preferences.inc.php,1.1.1.1,1.2
- Previous by thread:
[Phpgroupware-cvs] CVS: fax/doc README,1.1.1.1,1.2 changelog,1.1.1.1,1.2
- Next by thread:
[Phpgroupware-cvs] CVS: fax/inc class.manager.inc.php,1.1.1.1,1.2 hook_about.inc.php,1.1.1.1,1.2 hook_admin.inc.php,1.1.1.1,1.2 hook_manual.inc.php,1.1.1.1,1.2 hook_preferences.inc.php,1.1.1.1,1.2
- Index(es):