[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] email/templates/probusiness filters.tpl, 1.2 filters_
From: |
skwashd |
Subject: |
[Phpgroupware-cvs] email/templates/probusiness filters.tpl, 1.2 filters_list.tpl, 1.2 folder.tpl, 1.2 compose.tpl, 1.2 class_prefs_ui.tpl, 1.2 class_prefs_blocks.tpl, 1.2 class_prefs_ex_accounts.tpl, 1.2 index_blocks.tpl, 1.2 index_main_b0_l1.tpl, 1.2 widget_toolbar.tpl, 1.2 search_results_js.tpl, 1.2 search_form.tpl, 1.2 index_main_b0_l2.tpl, 1.2 index_mlist.tpl, 1.2 search_results.tpl, 1.2 |
Date: |
Thu, 24 Feb 2005 12:51:54 -0000 |
Update of email/templates/probusiness
Added Files:
Branch: MAIN
filters.tpl lines: +92 -0
filters_list.tpl lines: +43 -0
folder.tpl lines: +40 -0
compose.tpl lines: +143 -0
class_prefs_ui.tpl lines: +13 -0
class_prefs_blocks.tpl lines: +68 -0
class_prefs_ex_accounts.tpl lines: +30 -0
index_blocks.tpl lines: +95 -0
index_main_b0_l1.tpl lines: +168 -0
widget_toolbar.tpl lines: +60 -0
search_results_js.tpl lines: +48 -0
search_form.tpl lines: +164 -0
index_main_b0_l2.tpl lines: +112 -0
index_mlist.tpl lines: +170 -0
search_results.tpl lines: +42 -0
Log Message:
merge from 16
====================================================
Index: filters.tpl
<!-- BEGIN Sieve Mail Filters -->
<form action="{form_edit_filter_action}" method="post">
<input type="hidden" name="filter_num" value="{filter_num}" />
<table class="basic" align="center">
<tr><td colspan="4" class="header"
align="center">{lang_email_filters}</td></tr>
<tr class="bg_color2">
<td colspan="4" class="left">
{lang_filter_number}: <strong>[{filter_num}]</strong>
{lang_filter_name}: <input size="30"
name="{filter_name_box_name}" value="{filter_name_box_value}" />
</td>
</tr>
<tr><td colspan="4"> </td></tr>
<tr class="bg_color2"><td
colspan="4"><strong>{lang_if_messages_match}</strong></td></tr>
<!-- BEGIN B_matches_row -->
<tr class="bg_view">
<td class="center">{V_match_left_td}</td>
<td class="center">
<select name="{examine_selectbox_name}">
<option value="from" {from_selected}>{lang_from}</option>
<option value="to" {to_selected}>{lang_to}</option>
<option value="cc" {cc_selected}>{lang_cc}</option>
<!-- <option value="bcc" {bcc_selected}>{lang_bcc}</option> -->
<option value="recipient"
{recipient_selected}>{lang_recipient}</option>
<option value="sender" {sender_selected}>{lang_sender}</option>
<option value="subject" {subject_selected}>{lang_subject}</option>
<option value="received"
{received_selected}>{lang_received_headers}</option>
<!-- <option value="header">{lang_header}</option> -->
<!-- <option value="size_larger">{lang_size_larger}</option> -->
<!-- <option value="size_smaller">{lang_size_smaller}</option> -->
<!-- <option value="allmessages">{lang_allmessages}</option> -->
<!-- <option value="body">{lang_body}</option> -->
</select>
</td>
<td class="center">
<select
name="{comparator_selectbox_name}">
<option value="contains"
{contains_selected}>{lang_contains}</option>
<option value="notcontains"
{notcontains_selected}>{lang_notcontains}</option>
</select>
</td>
<td class="center"><input size="20"
name="{matchthis_textbox_name}" value="{match_textbox_txt}" /></td>
</tr>
<!-- END B_matches_row -->
</table>
<br />
<table class="basic" align="center">
<tr class="bg_color2"><td
colspan="5"><strong>{lang_take_actions}</strong></td></tr>
<!-- BEGIN B_actions_row -->
<tr class="bg_view">
<td class="center">{V_action_widget}</td>
<td class="center">{folder_listbox}</td>
<td class="center">
{lang_or_enter_text} <br />
<input size="20" name="{action_textbox_name}"
value="{action_textbox_txt}" />
</td>
<td class="center">
<input type="checkbox"
name="{stop_filtering_checkbox_name}" value="True"
{stop_filtering_checkbox_checked} />
{lang_stop_if_matched}
</td>
</tr>
<!-- END B_actions_row -->
</table>
<br />
<table class="padding" align="center">
<tr>
<td class="center"><input type="submit" name="submit"
value="{lang_submit}" /></td>
<td class="center"><input type="reset" name="reset"
value="{lang_clear}" /></td>
</form>
<td class="center"><form action="{form_cancel_action}"
method="post"><br /><input type="submit" name="cancel" value="{lang_cancel}"
/></form></td>
</tr>
</table>
<br />
<hr />
<br />
<table class="padding" align="center">
<tr class="header">
<td colspan="2" class="center">
<!-- <em>Under Development</em> -->
<!-- this text reminds the user to submit the filter first so AM
knows about it -->
Submit the filter data to the database by clicking submit,<br />
then you may test or apply the filter.
</td>
</tr>
<tr class="center">
<td class="bg_color1">{test_this_filter_href}</td>
<td class="bg_color2">{apply_this_filter_href}</td>
</tr>
</table>
<p> </p>
{debugdata}
<!-- END Sieve Mail Filters -->
====================================================
Index: filters_list.tpl
<!-- begin filter_list.tpl -->
{widget_toolbar}
<p align="center">
<b class="header">{page_title}</b>
</p>
<hr />
<table class="basic" align="center">
<tr class="header">
<td class="left">{filter_name_header}</td>
<td class="center">{lang_move_up}</td>
<td class="center">{lang_move_down}</td>
<td class="center">{lang_edit}</td>
<td class="center">{lang_delete}</td>
</tr>
<!-- BEGIN B_filter_list_row -->
<tr class="bg_view">
<td class="left">{filter_identity}</td>
<td class="center">{move_up_href}</td>
<td class="center">{move_down_href}</td>
<td class="center">{edit_href}</td>
<td class="center">{delete_href}</td>
</tr>
<!-- END B_filter_list_row -->
<tr><td colspan="5"> </td></tr>
<tr class="center"><td colspan="5"
class="bg_color2">{add_new_filter_href} {done_href}</td></tr>
</table>
<br />
<hr />
<br />
<table class="padding" align="center">
<tr class="center">
<td class="header" colspan="2">
{lang_test_or_apply}
</td>
</tr>
<tr class="center">
<td class="bg_color1">{test_all_filters_href}</td>
<td class="bg_color2">{run_all_filters_href}</td>
</tr>
</table>
<p> </p>
<!-- end filter_list.tpl -->
====================================================
Index: folder.tpl
<!-- begin folder.tpl -->
{widget_toolbar}
<form action="{form_action}" method="post">
<table class="basic" align="center">
<tr><td colspan="3"
class="bg_color2"> <strong>{title_text}<strong></td></tr>
<tr class="header">
<td><strong>{label_name_text}</strong> <a
href="{view_lnk}">({view_txt})</a></td>
<td id="7" class="right">{label_new_text}</td>
<td id="7" class="right">{label_total_text}</td>
</tr>
<!-- BEGIN B_folder_list -->
<tr class="bg_color1">
<td><a href="{folder_link}">{folder_name}</a></td>
<td class="right">{msgs_unseen}</td>
<td class="right">{msgs_total}</td>
</tr>
<!-- END B_folder_list -->
<tr class="th">
<td colspan="3" class="right" class="header">
{all_folders_listbox}
<select name="action">
<option value="create">{form_create_txt}</option>
<option value="delete">{form_delete_txt}</option>
<option value="rename">{form_rename_txt}</option>
<option value="create_expert">{form_create_expert_txt}</option>
<option value="delete_expert">{form_delete_expert_txt}</option>
<option value="rename_expert">{form_rename_expert_txt}</option>
</select>
<input type="text" name="{target_fldball_boxname}" />
<input type="hidden" name="{hiddenvar_target_acctnum_name}"
value="{hiddenvar_target_acctnum_value}" />
<input type="submit" value="{form_submit_txt}" />
</td>
</tr>
</table>
</form>
{debugdata}
<br />
<!-- end folder.tpl -->
====================================================
Index: compose.tpl
<!-- 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 class="basic" 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>
<td colspan="2">
<table width="100%" class="noCollapse" align="center">
<tr class="header">
<td align="left">
{addressbook_button}
</td>
<td align="center">
{spellcheck_button}
</td>
<td align="right">
</td>
<td align="right">
{send_button}
</td>
<td>
</td>
</tr>
</table>
</td>
</tr>
<tr class="bg_color1">
<td width="20%" align="left">
<strong> {to_box_desc}</strong>
</td>
<td width="80%" align="left">
<input type="text" name="{to_box_name}" size="80"
value="{to_box_value}" />
</td>
</tr>
<tr class="bg_color2">
<td>
<strong> {cc_box_desc}</strong>
</td>
<td>
<input type="text" name="{cc_box_name}" size="80"
value="{cc_box_value}" />
</td>
</tr>
<tr class="bg_color1">
<td>
<strong> {bcc_box_desc}</strong>
</td>
<td>
<input type="text" name="{bcc_box_name}" size="80"
value="{bcc_box_value}" />
</td>
</tr>
<tr class="bg_color2">
<td>
<strong> {subj_box_desc}</strong>
</td>
<td>
<input type="text" name="{subj_box_name}" size="80"
value="{subj_box_value}" />
</td>
</tr>
<!-- BEGIN B_checkbox_sig -->
<tr class="bg_color1">
<td colspan="1">
<strong> {checkbox_sig_desc}</strong>
</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 class="bg_color2">
<td colspan="1">
<strong> {checkbox_req_notify_desc}</strong>
</td>
<td colspan="1">
<input type="checkbox" name="{checkbox_req_notify_name}"
value="{checkbox_req_notify_value}" {ischecked_checkbox_req_notify}>
</td>
</tr>
<tr class="bg_color1">
<td>
{attachfile_js_button}
</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 -->
<!-- NEW we no longer wrap=hard here, wordwrap line lengths taken care of in
code now -->
<table align="center" class="basic_noCollapse">
<tr class="bg_color2" align="center">
<td>
<!-- <textarea name="_body_box_name_" cols="84" rows="15"
wrap="hard">_body_box_value_</textarea> -->
<textarea name="{body_box_name}" cols="88"
rows="15">{body_box_value}</textarea>
<!-- <textarea name="_body_box_name_" cols="78" rows="20"
wrap="hard">_body_box_value_</textarea> -->
</td>
</tr>
<tr><td> </td></tr>
<tr><td>{send_button}</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 -->
====================================================
Index: class_prefs_ui.tpl
<!-- begin class_prefs_ui.tpl -->
{pref_errors}
<p><b class="header">{page_title}</b></p>
<hr />
<form method="post" action="{form_action}">
<table class="basic" align="center">
{prefs_ui_rows}
{submit_btn_row}
</table>
</form>
{debugdata}
<!-- end class_prefs_ui.tpl -->
====================================================
Index: class_prefs_blocks.tpl
<!-- BEGIN B_tr_blank -->
<tr><td colspan="2"> <br /></td></tr>
<!-- END B_tr_blank -->
<!-- BEGIN B_tr_sec_title -->
<tr class="header">
<td class="EmailNowrap">{section_title}</td>
<td class="right">{show_help_lnk}</td>
</tr>
<!-- END B_tr_sec_title -->
<!-- BEGIN B_tr_long_desc -->
<tr class="bg_view"><td colspan="2" class="center"
valign="middle"><strong>{lang_blurb}</strong>: <p>{long_desc}</p> <br
/></td></tr>
<!-- END B_tr_long_desc -->
<!-- BEGIN B_tr_textarea -->
<tr class="bg_view">
<td class="left">{lang_blurb}</td>
<td class="center" valign="middle"><textarea name="{pref_id}" rows="6"
cols="50">{pref_value}</textarea></td>
</tr>
<!-- END B_tr_textarea -->
<!-- BEGIN B_tr_textbox -->
<tr class="bg_view">
<td class="left">{lang_blurb}</td>
<td class="center" valign="middle" width="{right_col_width}"><input
type="text" name="{pref_id}" value="{pref_value}" /></td>
</tr>
<!-- END B_tr_textbox -->
<!-- BEGIN B_tr_passwordbox -->
<tr class="bg_view">
<td class="left">{lang_blurb}</td>
<td class="center" valign="middle"><input type="password" name="{pref_id}"
value="{pref_value}" /></td>
</tr>
<!-- END B_tr_passwordbox -->
<!-- BEGIN B_tr_combobox -->
<tr class="bg_view">
<td class="left">{lang_blurb}</td>
<td align="center" valign="middle">
<select name="{pref_id}">
{pref_value}
</select>
</td>
</tr>
<!-- END B_tr_combobox -->
<!-- BEGIN B_tr_checkbox -->
<tr class="bg_view">
<td class="left">{lang_blurb}</td>
<td class="center" valign="middle"><input type="checkbox" name="{pref_id}"
value="{checked_flag}" {pref_value} /></td>
</tr>
<!-- END B_tr_checkbox -->
<!-- BEGIN B_submit_btn_only -->
<tr><td colspan="2" class="center"><input type="submit"
name="{btn_submit_name}" value="{btn_submit_value}" /></td></tr>
<!-- END B_submit_btn_only -->
<!-- BEGIN B_submit_and_cancel_btns -->
<tr>
<td class="center">
<input type="hidden" name="{ex_acctnum_varname}" value="{ex_acctnum_value}"
/>
<input type="submit" name="{btn_submit_name}" value="{btn_submit_value}" />
</td>
<td class="center"><input type="button" name="{btn_cancel_name}"
value="{btn_cancel_value}" onClick="parent.location='{btn_cancel_url}'" /></td>
</tr>
<!-- END B_submit_and_cancel_btns -->
====================================================
Index: class_prefs_ex_accounts.tpl
<!-- begin class_prefs_ex_accounts.tpl -->
{pref_errors}
<p>
<b class="header">{page_title}</b>
<hr>
</p>
<table class="padding" align="center">
<tr class="header">
<td class="left">{account_name_header}</td>
<td class="center">{lang_status}</td>
<td class="center">{lang_go_there}</td>
<td class="center">{lang_edit}</td>
<td class="center">{lang_delete}</td>
</tr>
<!-- BEGIN B_accts_list -->
<tr class="bg_view">
<td class="left">{indentity}</td>
<td class="center">{status}</td>
<td class="center">{go_there_href}</td>
<td class="center">{edit_href}</td>
<td class="center">{delete_href}</td>
</tr>
<!-- END B_accts_list -->
<tr><td colspan="4" class="center"> </td></tr>
<tr><td colspan="4"
class="center">{add_new_acct_href} {done_href}</td></tr>
</table>
<p> </p>
{debugdata}
<!-- end class_prefs_ex_accounts.tpl -->
====================================================
Index: index_blocks.tpl
<!-- BEGIN B_mlist_form_init -->
<form name="{frm_delmov_name}" action="{frm_delmov_action}" method="post">
<input type="hidden" name="what" value="delall" />
<!-- input type="hidden" name="folder" value=" { current_folder } " -->
<input type="hidden" name="sort" value="{current_sort}" />
<input type="hidden" name="order" value="{current_order}" />
<input type="hidden" name="start" value="{current_start}" />
<!-- END B_mlist_form_init -->
<!-- BEGIN B_arrows_form_table -->
<table class="basic" align="center">
<tr>
<td>
{first_page}
<td>
{prev_page}
</td>
<td class="right">
{next_page}
</td>
<td class="right">
{last_page}
</td>
</tr>
</table>
<!-- END B_arrows_form_table -->
<!-- BEGIN B_stats_layout2 -->
<table class="basic" align="center" style="text-align: center; font-style:
bold">
<tr class="header">
<td>{stats_folder}</td>
<td>{stats_new} {lang_new}</td>
<td>{stats_saved} {lang_total}</td>
{form_get_size_opentag}
<td>{stats_size_or_button} {lang_size}</td>
{form_get_size_closetag}
<td>{stats_first} {stats_to_txt} {stats_last}</td>
</tr>
</table>
<!-- END B_stats_layout2 -->
<!-- BEGIN B_stats_layout1 -->
<table class="basic">
<tr class="header">
<td>
<table>
<tr>
{form_get_size_opentag}
<td>
<strong>{stats_folder}</strong><br />
{stats_new} : {lang_new2}<br />
{stats_saved} : {lang_total2}<br />
{stats_size_or_button} {lang_size2}
</td>
{form_get_size_closetag}
<td align="right">
<table>
<tr>
{form_folder_switch_opentag}
<td>{folder_switch_combobox}</td>
<td> {folders_btn}</td>
{form_folder_switch_closetag}
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END B_stats_layout1 -->
<!-- BEGIN B_mlist_block -->
<tr class="bg_color1">
<td align="center">
{V_mlist_form_init}
<input type="checkbox" name="delmov_list[]" value="{mlist_msg_num}" />
</td>
<td align="center">{mlist_attach}</td>
<td align="left" class="no_wrap">{open_newbold}{mlist_from}
{mlist_from_extra}{close_newbold}</td>
<td align="left">{open_newbold}<a
href="{mlist_subject_link}">{mlist_subject}</a>{close_newbold}</td>
<td align="center">{mlist_date}</td>
<td align="center">{mlist_size}</td>
</tr>
<!-- END B_mlist_block -->
<!-- BEGIN B_mlist_submit_form -->
<form action="{mlist_submit_form_action}" method="post">
{mlist_hidden_vars}
<p>Pass off to mlist class <input type="submit" name="submit" value="Submit
to mlist" /> to navigate all results.</p>
</form>
<!-- END B_mlist_submit_form -->
====================================================
Index: index_main_b0_l1.tpl
<!-- begin index_main_b0_l1.tpl -->
<script type="text/javascript">
function do_action(act)
{
flag = 0;
for (i=0; i<document.delmov.elements.length; i++) {
//alert(document.delmov.elements[i].type);
if (document.delmov.elements[i].type == "checkbox") {
if (document.delmov.elements[i].checked) {
flag = 1;
}
}
}
if (flag != 0) {
document.delmov.what.value = act;
document.delmov.submit();
} else {
alert("{select_msg}");
document.delmov.tofolder.selectedIndex = 0;
}
}
function check_all()
{
for (i=0; i<document.delmov.elements.length; i++) {
if (document.delmov.elements[i].type == "checkbox") {
if (document.delmov.elements[i].checked) {
document.delmov.elements[i].checked = false;
} else {
document.delmov.elements[i].checked = true;
}
}
}
}
</script>
<!-- BEGIN B_action_report -->
<table class="basic" align="center">
<tr>
<td colspan="7" class="center">
{report_this}
</td>
</tr>
</table>
<!-- END B_action_report -->
<table class="basic" align="center">
<tr class="bg_color1" align="center">
<td> </td>
{prev_arrows}
<td> </td>
{next_arrows}
<td> </td>
</tr>
</table>
{stats_data_display}
<table class="basic" align="center">
<tr class="header">
<td width="3%" align="center">
</td>
<td width="2%">
</td>
<td width="34%">
<b>{hdr_subject}</b>
</td>
<td width="23%">
<b>{hdr_from}</b>
</td>
<td width="12%">
<b>{hdr_date}</b>
</td>
<td width="4%">
<b>{hdr_size}</b>
</td>
</tr>
<!-- BEGIN B_no_messages -->
<tr class="header">
<td colspan="6" align="center">
<!-- form delmove init here is just a formality, need an opening form tag but
form does noting -->
{V_mlist_form_init}
{report_no_msgs}
</td>
</tr>
<!-- END B_no_messages -->
<!--- LAME BLOCK SEP -->
<!-- BEGIN B_msg_list -->
<tr>
<td class="center">
<!-- INIT FORM ONCE -->{V_mlist_form_init}
<input type="checkbox" name="delmov_list[]"
value="{mlist_embedded_uri}" />
</td>
<td align="center">
<div align="right">
{mlist_new_msg}
{mlist_attach}
</div>
{all_flags_images}
</td>
<td>
{open_strikethru}
<a
href="{mlist_subject_link}">{mlist_subject}</a>
{close_strikethru}
</td>
<td>
{open_strikethru}
<a href="{mlist_reply_link}">{mlist_from}</a>
{mlist_from_extra}
{close_strikethru}
</td>
<td align="center">
{mlist_date}
</td>
<td align="center">
{mlist_size}
</td>
</tr>
<!-- END B_msg_list -->
<tr class="header">
<td class="center">
<a href="javascript:check_all()"><img
src="{check_image}" border="0"></a>
</td>
<td colspan="5">
<table width="100%" border="0" cellpadding="1"
cellspacing="1">
<tr class="header">
<td width="10%" align="left">
{delmov_button}
</td>
<td width="10%" align="left">
{compose_clickme}
</td>
<td width="80%" align="right">
{delmov_listbox}
</td>
</form>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table class="basic" align="center">
<tr>
<td class="left">
{mlist_newmsg_char} {mlist_newmsg_txt}
</td>
</tr>
</table>
{debugdata}
<!-- end index_main_b0_l1.tpl -->
====================================================
Index: widget_toolbar.tpl
<!-- BEGIN B_toolbar_row_one -->
<table class="basic" align="center">
<tr class="header" style="text-align: center; vertical-align: middle;">
<td style="padding-top: 4px; padding-bottom: 4px">
{compose_img_link}<br>
{compose_txt_link}
</td>
<td>
{folders_img_link}<br>
{folders_txt_link}
</td>
<td>
{search_img_link}<br>
{search_txt_link}
</td>
<td>
{filters_img_link}<br>
{filters_txt_link}
</td>
<td>
{accounts_img_link}<br>
{accounts_txt_link}
</td>
<td>
{settings_img_link}<br>
{settings_txt_link}
</td>
</tr>
</table>
<!-- END B_toolbar_row_one -->
<!-- BEGIN B_toolbar_row_two -->
<table class="basic" align="center" style="vertical-align: middle;
border-style: none; border-collapse: collapse">
<tr class="bg_color1">
{form_folders_cbox_opentag}
<td> {folders_combobox}</td>
{form_folders_cbox_closetag}
{form_acctbox_opentag}
<td class="right">{acctbox_combobox} </td>
</form>
</tr>
<tr>
<td colspan="2" class="center">
{toolbar_report_msg}
</td>
</tr>
</table>
<!-- END B_toolbar_row_two -->
====================================================
Index: search_results_js.tpl
<script language="JavaScript1.1" type="text/javascript"><!--
function check_all(form_name)
{
for (i=0; i < document.forms[form_name].elements.length; ++i)
{
if (document.forms[form_name].elements[i].type == "checkbox")
{
if (document.forms[form_name].elements[i].checked)
{
document.forms[form_name].elements[i].checked = false;
}
else
{
document.forms[form_name].elements[i].checked = true;
}
}
}
}
function do_action(form_name, act)
{
flag = 0;
for (i=0; i < document.forms[form_name].elements.length; ++i)
{
// alert(document.forms[form_name].elements[i].type);
if (document.forms[form_name].elements[i].type == "checkbox")
{
if (document.forms[form_name].elements[i].checked)
{
flag = 1;
}
}
}
if (flag != 0)
{
document.forms[form_name].what.value = act;
document.forms[form_name].submit();
}
else
{
alert("Please select a message first");
document.forms[form_name].tofolder.selectedIndex = 0;
}
}
// -->
</script>
====================================================
Index: search_form.tpl
<form name="search_frm" action="{form_action}" method="post">
<table align="center">
<tbody>
<tr>
<td colspan="2">
<table>
<tbody>
<tr>
<td colspan="2" class="header">
<div class="center"><b>{lang_search_string}</b></div>
<table align="center" width="100%">
<tbody>
<tr class="bg_color1">
<td class="left" valign="middle">{lang_subject}</td>
<td><input size="30" name="search_subject"
maxlength="50" /></td>
</tr>
<tr class="bg_color2">
<td class="left" valign="middle">{lang_from}<br
/></td>
<td><input size="30" name="search_from"
maxlength="50" /></td>
</tr>
<tr class="bg_color1">
<td class="left" valign="middle">Body</td>
<td><input size="30" name="search_body"
maxlength="50" /></td>
</tr>
<tr class="bg_color2">
<td class="left" valign="middle">{lang_to}<br /></td>
<td><input size="30" name="search_to" maxlength="50"
/></td>
</tr>
<tr class="bg_color1">
<td class="left" valign="middle">{lang_cc}<br /></td>
<td><input size="30" name="search_cc" maxlength="50"
/></td>
</tr>
<tr class="bg_color2">
<td class="left" valign="middle">{lang_bcc}<br /></td>
<td><input size="30" name="search_bcc" maxlength="50"
/></td>
</tr>
<tr class="bg_color1">
<td class="left" valign="middle">{lang_keyword}<br
/></td>
<td><input size="30" name="search_keyword"
maxlength="50" /></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%">
<tr><td class="header"><b>{lang_search}</b></td></tr>
<!-- BEGIN folder -->
<tr><td class="bg_color1"><input type="checkbox"
name="folder_list[]" value="{fld_value}" {fld_checked}
/> {fld_value}</td></tr>
<!-- END folder -->
</table>
</td>
</tr>
<tr>
<td>
<table>
<tbody>
<tr>
<td>
<table width="100%">
<tbody>
<tr class="header"><td valign="top" colspan="2"
class="center"><b>{lang_return_mails_during}<b><br /></td></tr>
<tr>
<td valign="top" class="bg_color2"><input
type="checkbox" name="date_on" /> {lang_on}</td>
<td valign="top" class="bg_color2">
<select name="date_on_month">
<!-- BEGIN month_on -->
<option value="{month_value}"
{selected}>{month_option}</option>
<!-- END month_on -->
</select>
<select name="date_on_day">
<!-- BEGIN day_on -->
<option value="{day_option}"
{selected}>{day_option}</option>
<!-- END day_on -->
</select>
<select name="date_on_year">
<!-- BEGIN year_on -->
<option value="{year_option}"
{selected}>{year_option}</option>
<!-- END year_on -->
</select>
</td>
</tr>
<tr>
<td valign="top" class="bg_color2"><input
type="checkbox" name="date_before" /> {lang_before}</td>
<td valign="top" class="bg_color2">
<select name="date_before_month">
<!-- BEGIN month_before -->
<option value="{month_value}"
{selected}>{month_option}</option>
<!-- END month_before -->
</select>
<select name="date_before_day">
<!-- BEGIN day_before -->
<option value="{day_option}"
{selected}>{day_option}</option>
<!-- END day_before -->
</select>
<select name="date_before_year">
<!-- BEGIN year_before -->
<option value="{year_option}"
{selected}>{year_option}</option>
<!-- END year_before -->
</select>
</td>
</tr>
<tr>
<td valign="top" class="bg_color2"><input
type="checkbox" name="date_after"> {lang_after}</td>
<td class="bg_color2" valign="top">
<select name="date_after_month">
<!-- BEGIN month_after -->
<option value="{month_value}"
{selected}>{month_option}</option>
<!-- END month_after -->
</select>
<select name="date_after_day">
<!-- BEGIN day_after -->
<option value="{day_option}"
{selected}>{day_option}</option>
<!-- END day_after -->
</select>
<select name="date_after_year">
<!-- BEGIN year_after -->
<option value="{year_option}"
{selected}>{year_option}</option>
<!-- END year_after -->
</select>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td width="30%" valign="top">
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr><td class="header"><div
class="center"><b>{lang_check_flags}</b></div></td></tr>
<!-- BEGIN flag -->
<tr><td class="bg_color1"><input type="checkbox"
name="{flg_name}" /> {flg_value}</td></tr>
<!-- END flag -->
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br />
</td>
</tr>
<tr>
<td class="left" id="5"><input type="submit"
value="{lang_search_button}" /></td>
<td class="left"><input type="reset" value="{lang_clear_form_button}"
/></td>
<td> </td>
</tr>
</tbody>
</table>
<br />
</form>
====================================================
Index: index_main_b0_l2.tpl
<script language="javascript" type="text/javascript"><!--
function do_action(act)
{
flag = 0;
for (i=0; i < document.delmov.elements.length; ++i)
{
// alert(document.delmov.elements[i].type);
if (document.delmov.elements[i].type == "checkbox")
{
if (document.delmov.elements[i].checked)
{
flag = 1;
}
}
}
if (flag != 0)
{
document.delmov.what.value = act;
document.delmov.submit();
}
else
{
alert("{select_msg}");
document.delmov.tofolder.selectedIndex = 0;
}
}
function check_all()
{
for (i=0; i < document.delmov.elements.length; ++i)
{
if (document.delmov.elements[i].type == "checkbox")
{
if (document.delmov.elements[i].checked)
{
document.delmov.elements[i].checked = false;
}
else
{
document.delmov.elements[i].checked = true;
}
}
}
}
// -->
</script>
{auto_refresh_widget}
{widget_toolbar}
{V_arrows_form_table}
{stats_data_display}
<table class="basic" align="center" style="table-layout: fixed;">
<tr class="bg_color1" style="font-weight: bold;">
<td style="width: 44px" colspan="2"></td>
<td style="width: 40%">{hdr_from}</td>
<td style="width: 60%">{hdr_subject}</td>
<td style="width: 100px; text-align: center">{hdr_date}</td>
<td style="width: 100px; text-align: center">{hdr_size}</td>
</tr>
<!-- BEGIN B_no_messages -->
<tr class="bg_color2">
<td colspan="6" class="center">
{V_mlist_form_init}
{report_no_msgs}
</td>
</tr>
<!-- END B_no_messages -->
<!-- BEGIN B_msg_list -->
<tr class="bg_color2">
<td class="center">
{V_mlist_form_init}
<input type="checkbox" name="{mlist_checkbox_name}"
value="{mlist_embedded_uri}" />
</td>
<td class="center">
{mlist_attach}
{all_flags_images}
</td>
<td style="overflow: hidden; white-space: nowrap;">
{open_strikethru}
{open_newbold}
{mlist_from} {mlist_from_extra}
{close_newbold}
{close_strikethru}
</td>
<td style="overflow: hidden; white-space: nowrap;">
{open_strikethru}
{open_newbold}
<a
href="{mlist_subject_link}">{mlist_subject}</a>
{close_newbold}
{close_strikethru}
</td>
<td class="center">{mlist_date}</td>
<td class="center">{mlist_size}</td>
</tr>
<!-- END B_msg_list -->
<tr class="header">
<td>
<a href="javascript:check_all()"><img
src="{check_image}"></a>
</td>
<td colspan="2"> {delmov_button}</td>
<td colspan="3" class="right">{delmov_listbox} </td>
</form>
</tr>
</table>
{geek_bar}
{debugdata}
<br />
====================================================
Index: index_mlist.tpl
<!-- begin email_index.tpl -->
<script type="text/javascript">
function do_action(act)
{
flag = 0;
for (i=0; i<document.delmov.elements.length; i++) {
//alert(document.delmov.elements[i].type);
if (document.delmov.elements[i].type == "checkbox") {
if (document.delmov.elements[i].checked) {
flag = 1;
}
}
}
if (flag != 0) {
document.delmov.what.value = act;
document.delmov.submit();
} else {
alert("{select_msg}");
document.delmov.tofolder.selectedIndex = 0;
}
}
function check_all()
{
for (i=0; i<document.delmov.elements.length; i++) {
if (document.delmov.elements[i].type == "checkbox") {
if (document.delmov.elements[i].checked) {
document.delmov.elements[i].checked = false;
} else {
document.delmov.elements[i].checked = true;
}
}
}
}
</script>
<table class="basic" align="center">
<tr>
<td class="bg_color1" width="25%" align="center">
<a href="{compose_link}">{compose_txt}</a>
</td>
<td width="25%" align="center">
{folders_href}
</td>
<td width="25%" align="center">
{filters_href}
</td>
<td width="25%" align="center">
<a href="{email_prefs_link}">{email_prefs_txt}</a>
</td>
</tr>
</table>
<table class="basic" align="center">
<tr>
<td colspan="2" align="center">
<!-- BEGIN B_action_report -->
{report_this}
<!-- END B_action_report -->
</td>
</tr>
</table>
{V_arrows_form_table}
<table class="basic" align="center">
<tr>
<td class="bg_color1" align="center">
<strong>{stats_folder}</strong>
</td>
<td class="bg_color1" align="center">
{stats_new} {lang_new}
</td>
<td class="bg_color1" align="center">
{stats_saved} {lang_total}
</td>
<!-- BEGIN B_show_size -->
<td class="bg_color1" align="center">
{stats_size} {lang_size}
</td>
<!-- END B_show_size -->
<!-- Lame Seperator -->
<!-- BEGIN B_get_size -->
<form name="{frm_get_size_name}" action="{frm_get_size_action}"
method="post">
<input type="hidden" name="what" value="delete" />
<input type="hidden" name="folder" value="{current_folder}" />
<input type="hidden" name="sort" value="{current_sort}" />
<input type="hidden" name="order" value="{current_order}" />
<input type="hidden" name="start" value="{current_start}" />
<input type="hidden" name="{get_size_flag}" value="1" />
<td class="bg_color1" align="center">
<input type="submit"
value="{lang_get_size}" />
</td>
</form>
<!-- END B_get_size -->
<td class="bg_color1" align="center">
{stats_first} {stats_to_txt} {stats_last}
</td>
</tr>
</table>
<table class="basic" align="center">
<tr>
<td class="bg_color2" width="3%" align="center">
</td>
<td class="bg_color2" width="2%">
</td>
<td class="bg_color2" idth="20%">
<strong>{hdr_from}</strong>
</td>
<td class="bg_color2" width="39%">
<strong>{hdr_subject}</strong>
</td>
<td class="bg_color2" width="10%" align="center">
<strong>{hdr_date}</strong>
</td>
<td class="bg_color2" width="4%" align="center">
<strong>{hdr_size}</strong>
</td>
</tr>
<!-- BEGIN B_no_messages -->
<tr>
<td class="bg_color2" colspan="6" align="center">
<!-- form delmove init here is just a formality, need an
opening form tag but form does noting -->
{V_mlist_form_init}
{report_no_msgs}
</td>
</tr>
<!-- END B_no_messages -->
<!--- LAME BLOCK SEP -->
<!-- BEGIN B_msg_list -->
<tr>
<td class="bg_view" align="center">
<!-- INIT FORM ONCE -->{V_mlist_form_init}
<input type="checkbox" name="msglist[]" value="{mlist_msg_num}">
</td>
<td class="bg_view" align="center">
{mlist_attach}
</td>
<td class="bg_view" align="left">
{open_newbold}
{mlist_from} {mlist_from_extra}{close_newbold}
</td>
<td class="bg_view" align="left">
{open_newbold}
<a
href="{mlist_subject_link}">{mlist_subject}</a>{close_newbold}
</td>
<td class="bg_view" align="center">
{mlist_date}
</td>
<td class="bg_view" align="center">
{mlist_size}
</td>
</tr>
<!-- END B_msg_list -->
<tr>
<td class="bg_color1" colspan="6">
</td>
</tr>
</table>
<br>
<!-- end email_index.tpl -->
====================================================
Index: search_results.tpl
<table class="basic" align="center">
<tr><td class="header"><b>{num_msg} {lang_messages_found_in_folder}
"{folder}"</b></td></tr>
</table>
<form name="{form_name}" action="{delmov_action}" method="post">
<input type="hidden" name="what" value="delete" />
<input type="hidden" name="folder" value="{folder_short}" />
<table class="basic" align="center">
<tr class="header">
<td class="center"> </td>
<td> </td>
<td><strong>{lang_from}</strong></td>
<td><strong>{lang_subject}</strong></td>
<td class="center"><strong>{lang_date}</strong></td>
<td class="center"><strong>{lang_size}</strong></td>
</tr>
<!-- BEGIN search_result -->
<tr class="bg_view">
<td class="center"><input type="checkbox" name="delmov_list[]"
value="{checkbox_val}" /></td>
<td class="center"> </td>
<td class="left">{from}</td>
<td class="left"><a href="{msg_link}">{subject}</a></td>
<td class="center">{date}</td>
<td class="center">{size}</td>
</tr>
<!-- END search_result -->
<tr>
<td colspan="3" class="left">
<a href="javascript:check_all('{form_name}')"><img
src="/phpgroupware/email/templates/default/images/check.gif" border="0"
height="16" width="21" /></a>
<a href="javascript:do_action('{form_name}', 'delall')"><img
src="/phpgroupware/email/templates/default/images/evo-trash-24.gif" border="0"
alt="[image]" /> Delete</a>
</td>
<td colspan="3" class="right">
<select name="to_fldball_fake_uri" onChange="do_action('{form_name}',
'move')">
<option value="">{lang_move_selected_messages_into}</option>
<!-- BEGIN folder_list -->
<option value="{fld_link}">{fld_value}</option>
<!-- END folder_list -->
</select>
</td>
</tr>
</table>
</form>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] email/templates/probusiness filters.tpl, 1.2 filters_list.tpl, 1.2 folder.tpl, 1.2 compose.tpl, 1.2 class_prefs_ui.tpl, 1.2 class_prefs_blocks.tpl, 1.2 class_prefs_ex_accounts.tpl, 1.2 index_blocks.tpl, 1.2 index_main_b0_l1.tpl, 1.2 widget_toolbar.tpl, 1.2 search_results_js.tpl, 1.2 search_form.tpl, 1.2 index_main_b0_l2.tpl, 1.2 index_mlist.tpl, 1.2 search_results.tpl, 1.2,
skwashd <=
- Prev by Date:
[Phpgroupware-cvs] email/templates/default/images/idots arrow-left-no-24.png, 1.2 arrow-right-16.png, 1.2 arrow-left-no-16.png, 1.2 arrow-right-24.png, 1.2 arrow-2right-no-16.png, 1.2 arrow-right-no-16.png, 1.2 arrow-2right-no-24.png, 1.2 arrow-left-16.png, 1.2 arrow-left-24.png, 1.2 delete-message-16.png, 1.2 arrow-2right-24.png, 1.2 delete-message.png, 1.2 filter-24.png, 1.2 customize-24.png, 1.2 customize-16.png, 1.2 compose-message-16.png, 1.2 compose-message-24.png, 1.2 arrow-right-no-24.png, 1.2 address-conduit-16.png, 1.2 accounts-16.png, 1.2 accounts-24.png, 1.2 add-attachment-16.png, 1.2 arrow-2left-24.png, 1.2 arrow-2left-no-16.png, 1.2 arrow-2left-no-24.png, 1.2 arrow-2left-16.png, 1.2 address-conduit-24.png, 1.2 add-attachment-24.png, 1.2 filters-24.png, 1.2 arrow-2right-16.png, 1.2 reply-all.png, 1.2 reply.png, 1.2 search-16.png, 1.2 reply-all-16.png, 1.2 forward.png, 1.2 folder-24.png, 1.2 forward-16.png, 1.2 search-24.png, 1.2 send-16.png, 1.2 trash-24.png, 1.2 trash-16.png, 1.2 spellcheck-24.png, 1.2 send-24.pn g,1.2 spellcheck-16.png,1.2 folder-16.png,1.2
- Next by Date:
[Phpgroupware-cvs] email/templates/default/images/evo search-16.png, 1.2 search-24.png, 1.2
- Previous by thread:
[Phpgroupware-cvs] email/templates/default/images/idots arrow-left-no-24.png, 1.2 arrow-right-16.png, 1.2 arrow-left-no-16.png, 1.2 arrow-right-24.png, 1.2 arrow-2right-no-16.png, 1.2 arrow-right-no-16.png, 1.2 arrow-2right-no-24.png, 1.2 arrow-left-16.png, 1.2 arrow-left-24.png, 1.2 delete-message-16.png, 1.2 arrow-2right-24.png, 1.2 delete-message.png, 1.2 filter-24.png, 1.2 customize-24.png, 1.2 customize-16.png, 1.2 compose-message-16.png, 1.2 compose-message-24.png, 1.2 arrow-right-no-24.png, 1.2 address-conduit-16.png, 1.2 accounts-16.png, 1.2 accounts-24.png, 1.2 add-attachment-16.png, 1.2 arrow-2left-24.png, 1.2 arrow-2left-no-16.png, 1.2 arrow-2left-no-24.png, 1.2 arrow-2left-16.png, 1.2 address-conduit-24.png, 1.2 add-attachment-24.png, 1.2 filters-24.png, 1.2 arrow-2right-16.png, 1.2 reply-all.png, 1.2 reply.png, 1.2 search-16.png, 1.2 reply-all-16.png, 1.2 forward.png, 1.2 folder-24.png, 1.2 forward-16.png, 1.2 search-24.png, 1.2 send-16.png, 1.2 trash-24.png, 1.2 trash-16.png, 1.2 spellcheck-24.png, 1.2 send-24.pn g,1.2 spellcheck-16.png,1.2 folder-16.png,1.2
- Next by thread:
[Phpgroupware-cvs] email/templates/default/images/evo search-16.png, 1.2 search-24.png, 1.2
- Index(es):