[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] email/templates/base compose.tpl, 1.1 config.tpl, 1.
From: |
fipsfuchs |
Subject: |
[Phpgroupware-cvs] email/templates/base compose.tpl, 1.1 config.tpl, 1.1 index_main_b0_l2.OLD.tpl, 1.1 error_report.tpl, 1.1 search_results_js.tpl, 1.1 app_data-K.xsl, 1.1 app_data-A.xsl, 1.1 addressbook.tpl-ORIG, 1.1 attach_file.tpl, 1.1 addressbook-js-bits.tpl, 1.1 app_data-F.xsl, 1.1 class_prefs_blocks.tpl, 1.1 filters.tpl, 1.1 message_main.tpl, 1.1 index_main_b0_l1.tpl, 1.1 message_printable.tpl, 1.1 app_data-J.xsl, 1.1 app_data-D.xsl, 1.1 app_data-I.xsl, 1.1 OLD-preferences.tpl, 1.1 app_data.xsl, 1.1 index_mlist.tpl, 1.1 app_data-E.xsl, 1.1 extrabox.xsl, 1.1 addressbook-js-smaller.tpl, 1.1 addressbook.tpl-BAD, 1.1 addressbook-js-frameset.tpl, 1.1 search_results.tpl, 1.1 index_blocks.tpl, 1.1 index_main_b0_l1.OLD.tpl, 1.1 addressbook-js.tpl, 1.1 addressbook.tpl, 1.1 folder.tpl, 1.1 app_data-C.xsl, 1.1 addressbook-real-plain.tpl-UNUSED, 1.1 app_data-G.xsl, 1.1 widget_toolbar.tpl, 1.1 filters_blocks.tpl, 1.1 class_prefs_ui.tpl, 1.1 message_echo_dump.tpl, 1.1 index_main_b0_l2.tpl, 1.1 debug.tpl, 1.1 app_data-H.xsl, 1.1 attach_ file_blocks.tpl, 1.1 search_form.tpl, 1.1 class_prefs_ex_accounts.tpl, 1.1 filters_list.tpl, 1.1 spell_review.tpl, 1.1 app_data-B.xsl, 1.1 |
Date: |
Thu, 24 Feb 2005 14:47:26 -0000 |
Update of email/templates/base
Added Files:
Branch: MAIN
compose.tpl
config.tpl
index_main_b0_l2.OLD.tpl
error_report.tpl
search_results_js.tpl
app_data-K.xsl
app_data-A.xsl
addressbook.tpl-ORIG
attach_file.tpl
addressbook-js-bits.tpl
app_data-F.xsl
class_prefs_blocks.tpl
filters.tpl
message_main.tpl
index_main_b0_l1.tpl
message_printable.tpl
app_data-J.xsl
app_data-D.xsl
app_data-I.xsl
OLD-preferences.tpl
app_data.xsl
index_mlist.tpl
app_data-E.xsl
extrabox.xsl
addressbook-js-smaller.tpl
addressbook.tpl-BAD
addressbook-js-frameset.tpl
search_results.tpl
index_blocks.tpl
index_main_b0_l1.OLD.tpl
addressbook-js.tpl
addressbook.tpl
folder.tpl
app_data-C.xsl
addressbook-real-plain.tpl-UNUSED
app_data-G.xsl
widget_toolbar.tpl
filters_blocks.tpl
class_prefs_ui.tpl
message_echo_dump.tpl
index_main_b0_l2.tpl
debug.tpl
app_data-H.xsl
attach_file_blocks.tpl
search_form.tpl
class_prefs_ex_accounts.tpl
filters_list.tpl
spell_review.tpl
app_data-B.xsl
Log Message:
default moved to base
====================================================
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 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">
</td>
<td width="20%" align="right">
<font face="{toolbar_font}">
{send_button}
</font>
</td>
<td width="50">
</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> {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> {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> {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> {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> {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> {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 -->
<!-- NEW we no longer wrap=hard here, wordwrap line lengths taken care of in
code now -->
<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="88"
rows="15">{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 -->
====================================================
Index: config.tpl
<!-- BEGIN header -->
<form method="POST" action="{action_url}">
<table border="0" align="center">
<tr bgcolor="{th_bg}">
<td colspan="2"><font color="{th_text}"> <b>{title}</b></font></td>
</tr>
<!-- END header -->
<!-- BEGIN body -->
<tr bgcolor="{row_on}">
<td colspan="2"> </td>
</tr>
<tr bgcolor="{row_off}">
<td colspan="2"> <b>{lang_Mail_settings}</b></td>
</tr>
<tr bgcolor="{row_on}">
<td>{lang_Enter_your_POP}/{lang_IMAP_mail_server_hostname_or_IP_address}:</td>
<td><input name="newsettings[mail_server]" value="{value_mail_server}"></td>
</tr>
<tr bgcolor="{row_off}">
<td>{lang_Select_your_mail_server_type}:</td>
<td>
<select name="newsettings[mail_server_type]">
<option value="imap" {selected_mail_server_type_imap}>IMAP</option>
<option value="pop3" {selected_mail_server_type_pop3}>POP-3</option>
<option value="imaps" {selected_mail_server_type_imaps}>IMAPS</option>
<option value="pop3s" {selected_mail_server_type_pop3s}>POP-3S</option>
</select>
</td>
</tr>
<tr bgcolor="{row_on}">
<td>{lang_IMAP_server_type}:</td>
<td>
<select name="newsettings[imap_server_type]">
<option value="Cyrus" {selected_imap_server_type_Cyrus}>Cyrus or
Courier</option>
<option value="UWash" {selected_imap_server_type_UWash}>UWash</option>
<option value="UW-Maildir"
{selected_imap_server_type_UW-Maildir}>UW-Maildir</option>
</select>
</td>
</tr>
<tr bgcolor="{row_off}">
<td>{lang_Enter_your_default_mail_domain_(_From:address@hidden)}:</td>
<td><input name="newsettings[mail_suffix]" value="{value_mail_suffix}"></td>
</tr>
<tr bgcolor="{row_on}">
<td>{lang_Mail_server_login_type}:</td>
<td>
<select name="newsettings[mail_login_type]">
<option value="standard"
{selected_mail_login_type_standard}>standard</option>
<option value="vmailmgr"
{selected_mail_login_type_vmailmgr}>vmailmgr</option>
<option value="ispman" {selected_mail_login_type_ispman}>ispman
(experimental)</option>
</select>
</td>
</tr>
<tr bgcolor="{row_off}">
<td>{lang_Enter_your_SMTP_server_hostname_or_IP_address}:</td>
<td><input name="newsettings[smtp_server]" value="{value_smtp_server}"></td>
</tr>
<tr bgcolor="{row_on}">
<td>{lang_Enter_your_SMTP_server_port}:</td>
<td><input name="newsettings[smtp_port]" value="{value_smtp_port}"></td>
</tr>
<!-- END body -->
<!-- BEGIN footer -->
<tr bgcolor="{th_bg}">
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="{lang_submit}">
<input type="submit" name="cancel" value="{lang_cancel}">
</td>
</tr>
</table>
</form>
<!-- END footer -->
====================================================
Index: index_main_b0_l2.OLD.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>
{widget_toolbar}
{V_arrows_form_table}
{stats_data_display}
<table border="0" cellpadding="4" cellspacing="1" width="95%" align="center">
<tr bgcolor="{hdr_backcolor}">
<td width="3%" align="center">
</td>
<td width="2%">
</td>
<td width="20%">
<font size="{hdr_font_size}" face="{hdr_font}">
<strong>{hdr_from}</strong>
</font>
</td>
<td width="39%">
<font size="{hdr_font_size}" face="{hdr_font}">
<strong>{hdr_subject}</strong>
</font>
</td>
<td width="10%" align="center">
<font size="{hdr_font_size_sm}" face="{hdr_font}">
<strong>{hdr_date}</strong>
</font>
</td>
<td width="4%" align="center">
<font size="{hdr_font_size_sm}" face="{hdr_font}">
<strong>{hdr_size}</strong>
</font>
</td>
</tr>
<!-- BEGIN B_no_messages -->
<tr bgcolor="{mlist_backcolor}">
<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}
<font size="2" face="{mlist_font}">{report_no_msgs}</font>
</td>
</tr>
<!-- END B_no_messages -->
<!--- LAME BLOCK SEP -->
<!-- BEGIN B_msg_list -->
<tr bgcolor="{mlist_backcolor}">
<td align="center">
<!-- INIT FORM ONCE -->{V_mlist_form_init}
<input type="checkbox" name="{mlist_checkbox_name}"
value="{mlist_embedded_uri}">
</td>
<td align="center">
{mlist_attach}
</td>
<td align="left">
{open_newbold}<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_from} {mlist_from_extra}</font>{close_newbold}
</td>
<td align="left">
{open_newbold}<font size="{mlist_font_size}"
face="{mlist_font}"><a
href="{mlist_subject_link}">{mlist_subject}</a></font>{close_newbold}
</td>
<td align="center">
<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_date}</font>
</td>
<td align="center">
<font size="{mlist_font_size_sm}"
face="{mlist_font}">{mlist_size}</font>
</td>
</tr>
<!-- END B_msg_list -->
<tr bgcolor="{ftr_backcolor}">
<td>
<a href="javascript:check_all()"><img
src="{app_images}/check.gif" border="0" height="16" width="21"></a>
</td>
<td colspan="2" align="left">
<input type="button" value="{delmov_button}"
onClick="do_action('delall')">
</td>
<td colspan="3" align="right">
{delmov_listbox}
</td>
</form>
</tr>
</table>
<br>
<!-- end email_index.tpl -->
====================================================
Index: error_report.tpl
<!-- begin error_report.tpl -->
<p>
</p>
<p><center>
<hr width="50%">
</center></p>
<p><center><b>
{error_report_text}
</b></center></p>
<p><center>
<hr width="50%">
</center></p>
<p><center>
{go_somewhere_link}
</center></p>
<p><center>
{go_home_link}
</center></p>
<br>
<!-- end error_report.tpl -->
====================================================
Index: search_results_js.tpl
<script 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: app_data-K.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="index">
<xsl:apply-templates select="index"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="generic_out"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="generic_out">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes" select="email_page"
/>
<!-- optional debug data -->
<xsl:if test="debugdata != ''">
<xsl:call-template name="show_debugdata"/>
</xsl:if>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<!-- javascript that we inject into here via a variable -->
<xsl:value-of disable-output-escaping="yes" select="index_js"/>
<!-- toolbar comes pre made as an html widget -->
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<!-- navigation arrows table -->
<table border="0" cellpadding="0" cellspacing="0" width="100%"
align="center">
<tr class="{arrows_backcolor_class}">
<td width="2%" align="left" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="first_page"/>
</td>
<td width="2%" align="left" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="prev_page"/>
</td>
<td width="2%" align="right" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="next_page"/>
</td>
<td width="2%" align="right" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="last_page"/>
</td>
</tr>
</table>
<!-- stats data is pre made html -->
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<!-- begin the table where the message list will go -->
<table border="0" cellpadding="4" cellspacing="0" width="100%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
disable-output-escaping="yes" select="hdr_size"/></small></strong>
</td>
</tr>
<!-- begin the form that surrounds the message list items -->
<form name="{frm_delmov_name}" action="{frm_delmov_action}"
method="post">
<input type="hidden" name="what" value="delall" />
<input type="hidden" name="sort" value="{current_sort}" />
<input type="hidden" name="order" value="{current_order}" />
<input type="hidden" name="start" value="{current_start}" />
<xsl:choose>
<xsl:when test="folder_info/number_all = 0">
<!-- folder is empty, no messages to display -->
<xsl:call-template name="tlp_report_no_msgs"/>
</xsl:when>
<xsl:otherwise>
<!-- actual message list items -->
<xsl:apply-templates select="msg_list_dsp"/>
</xsl:otherwise>
</xsl:choose>
<tr class="{ftr_backcolor_class}">
<td>
<a href="javascript:check_all()">
<img src="{check_image}" border="0"
alt="check"/>
</a>
</td>
<td colspan="2" align="left">
<xsl:value-of disable-output-escaping="yes"
select="delmov_button"/>
</td>
<td colspan="3" align="right">
<xsl:value-of disable-output-escaping="yes"
select="delmov_listbox"/>
</td>
</tr>
<!-- end the form that surrounds the message list items -->
</form>
<!-- end the table where the message list will go -->
</table>
<!-- optional debug data -->
<xsl:if test="debugdata != ''">
<xsl:call-template name="show_debugdata"/>
</xsl:if>
</xsl:template>
<xsl:template name="tlp_report_no_msgs">
<tr class="row_on">
<td colspan="6" align="center">
<xsl:value-of select="report_no_msgs"/>
</td>
</tr>
</xsl:template>
<xsl:template match="msg_list_dsp">
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<input type="checkbox"
name="{../mlist_checkbox_name}" value="{uri}"/>
</td>
<td align="center">
<div align="right">
<xsl:choose>
<xsl:when test="has_attachment
!= '0'">
<img
src="{../attach_img}" border="0" alt="{../attach_img_alttxt}"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</div>
<xsl:if test="is_flagged != '0'">
<xsl:value-of
disable-output-escaping="yes" select="../flagged_img"/>
</xsl:if>
<xsl:if test="is_answered != '0'">
<xsl:value-of
disable-output-escaping="yes" select="../answered_img"/>
</xsl:if>
<xsl:if test="is_draft != '0'">
<xsl:value-of
disable-output-escaping="yes" select="../draft_img"/>
</xsl:if>
<xsl:if test="is_deleted != '0'">
<xsl:value-of
disable-output-escaping="yes" select="../deleted_img"/>
</xsl:if>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strong>
</xsl:when>
<xsl:when test="is_deleted != '0'">
<em><strike>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strike></em>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strong>
</xsl:when>
<xsl:when test="is_deleted != '0'">
<em><strike>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strike></em>
</xsl:when>
<xsl:otherwise>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="msg_date"/>
</td>
<td align="center">
<small><xsl:value-of select="size"/></small>
</td>
</tr>
</xsl:template>
<xsl:template name="show_debugdata">
<xsl:choose>
<xsl:when test="debugdata/js_another_window != ''">
<xsl:value-of disable-output-escaping="yes"
select="debugdata/js_another_window"/>
</xsl:when>
<xsl:otherwise>
<div style="text-align: left; font-size:
x-small;">
<p>
<code>
<xsl:value-of
disable-output-escaping="yes" select="debugdata"/>
</code>
</p>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
====================================================
Index: app_data-A.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="uimessage">
<xsl:apply-templates select="uimessage"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="index"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="uimessage">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<xsl:value-of disable-output-escaping="yes"
select="V_arrows_form_table"/>
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<table border="0" cellpadding="4" cellspacing="1" width="95%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
select="hdr_size"/></small></strong>
</td>
</tr>
</table>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="msg_list_dsp">
<xsl:variable name="mlist_checkbox_name"><xsl:value-of
select="mlist_checkbox_name"/></xsl:variable>
<xsl:variable name="mlist_embedded_uri"><xsl:value-of
select="mlist_embedded_uri"/></xsl:variable>
<xsl:variable name="mlist_subject_link"><xsl:value-of
select="mlist_subject_link"/></xsl:variable>
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<!-- INIT FORM ONCE --><xsl:value-of
select="V_mlist_form_init"/>
<input type="checkbox"
name="{$mlist_checkbox_name}" value="{$mlist_embedded_uri}">
</td>
<td align="center">
<xsl:value-of select="mlist_attach"/>
</td>
<td align="left">
<xsl:value-of select="open_newbold"/>
<xsl:value-of select="mlist_from"/>
<xsl:value-of select="mlist_from_extra"/>
<xsl:value-of select="close_newbold"/>
</td>
<td align="left">
<xsl:value-of select="open_newbold"/>
<a href="{$mlist_subject_link}"><xsl:value-of
select="mlist_subject"/></a>
<xsl:value-of select="close_newbold"/>
</td>
<td align="center">
<xsl:value-of select="mlist_date"/>
</td>
<td align="center">
<small><xsl:value-of
select="mlist_size"/></small>
</td>
</tr>
</xsl:template>
====================================================
Index: attach_file.tpl
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html"; charset="{charset}">
<meta name="author" content="AngleMail for phpGroupWare
http://www.anglemail.org">
<meta name="description" content="AngleMail for phpGroupWare
http://www.phpgroupware.org">
<meta name="keywords" content="AngleMail for phpGroupWare">
<style type="text/css">
<!--
A:link {text-decoration:none;}
A:visted {text-decoration:none;}
A:active {text-decoration:none;}
body { font-family: "{font_family}"; }
center { text-decoration:none; }
-->
</style>
<script type="text/javascript">
function copyback()
{
for(i=0;i<document.attach_form.elements.length;i++)
{
if(document.attach_form.elements[i].type == "hidden" )
{
if(window.opener.document.{form1_name}.attached_filenames.value)
{
comma=",";
}
else
{
comma="";
}
window.opener.document.{form1_name}.attached_filenames.value=window.opener.document.{form1_name}.attached_filenames.value+comma+document.attach_form.elements[i].value;
}
}
window.close();
}
</script>
<title>{page_title}</title>
</head>
<body {body_tags}>
<form enctype="multipart/form-data" name="attach_form"
method="{form_method}" action="{form_action}">
<table border="0">
{V_alert_msg}
<tr>
<td>
<strong>{text_attachfile}:</strong>
</td>
</tr>
<tr>
<td>
{text_currattached}:
</td>
</tr>
{V_attached_list}
{V_delete_btn}
<!-- either the 2 above vars or this one below -->
{V_attached_none}
<tr>
<td>
{txtbox_upload_desc}: <input type="file"
name="{txtbox_upload_name}">
<input type="submit" name="{btn_attach_name}"
value="{btn_attach_value}">
</td>
</tr>
<tr>
<td align="center">
<input type="button" name="{btn_done_name}"
value="{btn_done_value}" onClick="{btn_done_js}">
</td>
</tr>
</table>
</form>
</body>
</html>
====================================================
Index: addressbook-js-bits.tpl
<!-- begin addressbook-js-bits.tpl -->
<!-- === block seperator == -->
<!-- BEGIN B_hidden_emails_list -->
<input type="hidden" name="{hidden_name}" value="{hidden_value}">
<!-- END B_hidden_emails_list -->
<!-- === block seperator == -->
<!-- BEGIN B_toselectbox -->
<option value="{toselvalue}" {tosel_is_selected}>{toselname}</options>
<!-- END B_toselectbox -->
<!-- === block seperator == -->
<!-- BEGIN B_ccselectbox -->
<option value="{ccselvalue}" {ccsel_is_selected}>{ccselname}</options>
<!-- END B_ccselectbox -->
<!-- === block seperator == -->
<!-- BEGIN B_bccselectbox -->
<option value="{bccselvalue}"
{bccsel_is_selected}>{bccselname}</options>
<!-- END B_bccselectbox -->
<!-- === block seperator == -->
<!-- === block seperator == -->
<!-- BEGIN B_addressbook_record_inner -->
{field_name}{space_to_fit}{field_value}
<!-- END B_addressbook_record_inner -->
<!-- === block seperator == -->
<!-- end addressbook-js-bits.tpl -->
====================================================
Index: app_data-F.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="index">
<xsl:apply-templates select="index"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="generic_out"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="generic_out">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<xsl:variable name="check_image"><xsl:value-of
disable-output-escaping="yes" select="check_image"/></xsl:variable>
<xsl:variable name="ftr_backcolor_class"><xsl:value-of
select="ftr_backcolor_class"/></xsl:variable>
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<xsl:value-of disable-output-escaping="yes"
select="V_arrows_form_table"/>
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<table border="0" cellpadding="4" cellspacing="1" width="100%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
select="hdr_size"/></small></strong>
</td>
</tr>
<xsl:apply-templates select="msg_list_dsp"/>
<tr class="{$ftr_backcolor_class}">
<td>
<a href="javascript:check_all()">
<img src="{$check_image}" border="0"
alt="check"/>
</a>
</td>
<td colspan="2" align="left">
<xsl:value-of disable-output-escaping="yes"
select="delmov_button"/>
</td>
<td colspan="3" align="right">
<xsl:value-of disable-output-escaping="yes"
select="delmov_listbox"/>
</td>
<xsl:value-of disable-output-escaping="yes"
select="form_closetag"/>
</tr>
</table>
</xsl:template>
<xsl:template match="msg_list_dsp">
<xsl:variable name="mlist_checkbox_name"><xsl:value-of
disable-output-escaping="yes" select="../mlist_checkbox_name"/></xsl:variable>
<xsl:variable name="attach_img"><xsl:value-of
select="../attach_img"/></xsl:variable>
<xsl:variable name="attach_img_alttxt"><xsl:value-of
select="../attach_img_alttxt"/></xsl:variable>
<xsl:variable name="uri"><xsl:value-of
disable-output-escaping="yes" select="uri"/></xsl:variable>
<xsl:variable name="subject_link"><xsl:value-of
disable-output-escaping="yes" select="subject_link"/></xsl:variable>
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<xsl:value-of disable-output-escaping="yes"
select="V_mlist_form_init"/>
<input type="checkbox"
name="{$mlist_checkbox_name}" value="{$uri}"/>
</td>
<td align="center">
<xsl:choose>
<xsl:when test="has_attachment != '0'">
<img src="{$attach_img}"
border="0" alt="{$attach_img_alttxt}"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strong>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen">
<strong>
<a
href="{$subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strong>
</xsl:when>
<xsl:otherwise>
<a
href="{$subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="msg_date"/>
</td>
<td align="center">
<small><xsl:value-of select="size"/></small>
</td>
</tr>
</xsl:template>
====================================================
Index: class_prefs_blocks.tpl
<!-- begin class_prefs_blocks.tpl -->
<!-- == block sep == -->
<!-- BEGIN B_tr_blank -->
<tr>
<td colspan="2">
<br>
</td>
</tr>
<!-- END B_tr_blank -->
<!-- == block sep == -->
<!-- BEGIN B_tr_sec_title -->
<tr bgcolor="{th_bg}" class="th">
<td colspan="2" valign="middle">
<strong>{section_title}</strong>
{show_help_lnk}
</td>
</tr>
<!-- END B_tr_sec_title -->
<!-- == block sep == -->
<!-- BEGIN B_tr_long_desc -->
<tr bgcolor="{back_color}" class="{back_color_class}">
<td colspan="2" align="center" valign="middle">
<strong>{lang_blurb}</strong>: <p>{long_desc}</p> <br>
</td>
</tr>
<!-- END B_tr_long_desc -->
<!-- == block sep == -->
<!-- BEGIN B_tr_textarea -->
<tr bgcolor="{back_color}" class="{back_color_class}">
<td align="left" width="{left_col_width}">
{lang_blurb}
</td>
<td align="center" valign="middle" width="{right_col_width}">
<textarea name="{pref_id}" rows="6"
cols="50">{pref_value}</textarea>
</td>
</tr>
<!-- END B_tr_textarea -->
<!-- == block sep == -->
<!-- BEGIN B_tr_textbox -->
<tr bgcolor="{back_color}" class="{back_color_class}">
<td align="left" width="{left_col_width}">
{lang_blurb}
</td>
<td align="center" valign="middle" width="{right_col_width}">
<input type="text" name="{pref_id}" value="{pref_value}">
</td>
</tr>
<!-- END B_tr_textbox -->
<!-- == block sep == -->
<!-- BEGIN B_tr_passwordbox -->
<tr bgcolor="{back_color}" class="{back_color_class}">
<td align="left" width="{left_col_width}">
{lang_blurb}
</td>
<td align="center" valign="middle" width="{right_col_width}">
<input type="password" name="{pref_id}" value="{pref_value}">
</td>
</tr>
<!-- END B_tr_passwordbox -->
<!-- == block sep == -->
<!-- BEGIN B_tr_combobox -->
<tr bgcolor="{back_color}" class="{back_color_class}">
<td align="left" width="{left_col_width}">
{lang_blurb}
</td>
<td align="center" valign="middle" width="{right_col_width}">
<select name="{pref_id}">
{pref_value}
</select>
</td>
</tr>
<!-- END B_tr_combobox -->
<!-- == block sep == -->
<!-- BEGIN B_tr_checkbox -->
<td align="left" width="{left_col_width}" bgcolor="{back_color}"
class="{back_color_class}">
{lang_blurb}
</td>
<td align="center" valign="middle" width="{right_col_width}"
bgcolor="{back_color}" class="{back_color_class}">
<input type="checkbox" name="{pref_id}" value="{checked_flag}"
{pref_value}>
</td>
</tr>
<!-- END B_tr_checkbox -->
<!-- == block sep == -->
<!-- BEGIN B_submit_btn_only -->
<tr>
<td colspan="2" align="center">
<input type="submit" name="{btn_submit_name}"
value="{btn_submit_value}">
</td>
</tr>
<!-- END B_submit_btn_only -->
<!-- == block sep == -->
<!-- BEGIN B_submit_and_cancel_btns -->
<tr>
<td align="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 align="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 -->
<!-- == block sep == -->
<!-- end class_prefs_blocks.tpl -->
====================================================
Index: filters.tpl
<!-- BEGIN Sieve Mail Filters -->
<form action="{form_edit_filter_action}" method="post">
<input type="hidden" name="filter_num" value="{filter_num}">
<h3><center>{lang_email_filters}</center></h3>
<table width="90%" border="0" cellpadding="3" cellspacing="2"
align="center">
<tr bgcolor="{row_off}" class="row_off">
<td colspan="4" align="left">
<font
size="-1">{lang_filter_number}: <strong>[{filter_num}]</strong>
{lang_filter_name}: <input size="30"
name="{filter_name_box_name}" value="{filter_name_box_value}">
</font>
</td>
</tr>
<tr>
<td colspan="4"><font size="-1"> </font></td>
</tr>
<tr bgcolor="{row_on}" class="row_on">
<td colspan="4">
<strong>{lang_if_messages_match}</strong>
</td>
</tr>
<!-- BEGIN B_matches_row -->
<tr bgcolor="{row_off}" class="row_off">
<td align="center">
<font size="-1">{V_match_left_td}</font>
</td>
<td align="center">
<font size="-1">
<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>
</font>
</td>
<td align="center">
<font size="-1">
<select name="{comparator_selectbox_name}">
<option value="contains"
{contains_selected}>{lang_contains}</option>
<option value="notcontains"
{notcontains_selected}>{lang_notcontains}</option>
</select>
</font>
</td>
<td align="center">
<font size="-1">
<input size="20" name="{matchthis_textbox_name}"
value="{match_textbox_txt}">
</font>
</td>
</tr>
<!-- END B_matches_row -->
</table>
<br>
<table width="90%" border="0" cellpadding="3" cellspacing="2"
align="center">
<tr bgcolor="{row_on}" class="row_on">
<td colspan="4">
<strong>{lang_take_actions}</strong>
</td>
</tr>
<!-- BEGIN B_actions_row -->
<tr bgcolor="{row_off}" class="row_off">
<td width="20%" align="center">
<font size="-1">
{V_action_widget}
</font>
</td>
<td width="30%" align="center">
<font size="-1">
{folder_listbox}
</font>
</td>
<td width="30%" align="center">
<font size="-1">
{lang_or_enter_text}
<input size="20" name="{action_textbox_name}"
value="{action_textbox_txt}">
</font>
</td>
<td width="20%" align="center">
<font size="-1">
<input type="checkbox"
name="{stop_filtering_checkbox_name}" value="True"
{stop_filtering_checkbox_checked}>
{lang_stop_if_matched}
</font>
</td>
</tr>
<!-- END B_actions_row -->
</table>
<br>
<table width="50%" border="0" cellPadding="0" cellSpacing="0"
align="center">
<tr>
<td width="33%" align="center">
<input type="submit" name="submit"
value="{lang_submit}">
</td>
<td width="34%" align="center">
<input type="reset" name="reset" value="{lang_clear}">
</td>
</form>
<form action="{form_cancel_action}" method="post">
<td width="33%" align="center">
<input type="submit" name="cancel"
value="{lang_cancel}">
</td>
</form>
</tr>
</table>
<br>
<hr>
<br>
<table width="90%" border="0" cellPadding="4" cellSpacing="4"
align="center">
<tr>
<td colspan="2" align="center">
<!--
<em>Under Development</em>
-->
<!-- this text reminds the user to submit the filter
first so AM knows about it -->
<br>Submit the filter data to the database by clicking
submit,
<br>then you may test or apply the filter.
</td>
</tr>
<tr>
<td width="50%" align="center">
{test_this_filter_href}
</td>
<td width="50%" align="center">
{apply_this_filter_href}
</td>
</tr>
</table>
<p> </p>
{debugdata}
<!-- END Sieve Mail Filters -->
====================================================
Index: message_main.tpl
<!-- begin message_main.tpl -->
<script type="text/javascript">
function do_action(act)
{
document.delmov.what.value = act;
document.delmov.submit();
}
</script>
<!-- BEGIN B_x-phpgw-type -->
<center>
<h1>THIS IS A phpGroupWare-{application} EMAIL</h1>
In the future, this will process a specially formated email msg.<hr>
</center>
<!-- END B_x-phpgw-type -->
{widget_toolbar}
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td align="center" width="20%">
{view_option_ilnk} <font size="2"
face="{theme_font}">{view_option}</font>
</td>
<td align="center" width="20%">
{view_headers_ilnk} <font size="2"
face="{theme_font}">{view_headers_href}</font>
</td>
<td align="center" width="20%">
{view_raw_message_ilnk} <font size="2"
face="{theme_font}">{view_raw_message_href}</font>
</td>
<td align="center" width="20%">
{view_printable_ilnk} <font size="2"
face="{theme_font}">{view_printable_href}</font>
</td>
<form name="{frm_delmov_name}" action="{frm_delmov_action}"
method="post">
<input type="hidden" name="what" value="delete">
<input type="hidden" name="sort" value="{move_current_sort}">
<input type="hidden" name="order" value="{move_current_order}">
<input type="hidden" name="start" value="{move_current_start}">
<input type="hidden" name="{move_postmove_goto_name}"
value="{move_postmove_goto_value}">
<input type="hidden" name="{mlist_checkbox_name}"
value="{mlist_embedded_uri}">
<td width="20%" align="right">
<font face="{ctrl_bar_font}"
size="{ctrl_bar_font_size}">{delmov_listbox} </font>
</td>
</form>
</tr>
</table>
<!-- style specially for the return to FOLDER_LINK to get a better color for
that link using class in that A element -->
<STYLE type="text/css">
<!--
a.c_backto { text-decoration: underline; background: {reply_btns_bkcolor};
color: {reply_btns_text}; }
A.c_backto:link { text-decoration:underline; background:
{reply_btns_bkcolor}; color: {reply_btns_text}; }
A.c_backto:visted { text-decoration:underline; background:
{reply_btns_bkcolor}; color: {reply_btns_text}; }
A.c_backto:active { text-decoration:underline; background:
{reply_btns_bkcolor}; color: {reply_btns_text}; }
a.c_replybar { text-decoration: none; background: {reply_btns_bkcolor};
color: {reply_btns_text}; }
A.c_replybar:link { text-decoration:none; background: {reply_btns_bkcolor};
color: {reply_btns_text}; }
A.c_replybar:visted { text-decoration:none; background: {reply_btns_bkcolor};
color: {reply_btns_text}; }
A.c_replybar:active { text-decoration:none; background: {reply_btns_bkcolor};
color: {reply_btns_text}; }
-->
</STYLE>
<table cellpadding="1" cellspacing="0" width="100%" align="center">
<tr style="spacing-bottom: 1pt;">
<td colspan="2" bgcolor="{reply_btns_bkcolor}" style="spacing-bottom:
1pt;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr class="email_folder">
<td width="30%">
<font size="3" face="{theme_font}"
color="{reply_btns_text}">
<!-- lnk_goback_folder comes here with special
class value refering to backto css above -->
<b>{go_back_to} {lnk_goback_folder}</b>
</font>
</td>
<td align="right" width="50%">
<table border="0" cellpadding="0"
cellspacing="0" width="100%" align="right">
<tr>
<td align="center">
{ilnk_reply}<font size="2"
face="{theme_font}">{href_reply}</font>
</td>
<td align="center">
{ilnk_replyall}<font size="2"
face="{theme_font}">{href_replyall}</font>
</td>
<td align="center">
{ilnk_forward}<font size="2"
face="{theme_font}">{href_forward}</font>
</td>
<td align="center">
{ilnk_delete}<font size="2"
face="{theme_font}">{href_delete}</font>
</td>
</tr>
</table>
</td>
<td align="right" valign="middle" width="20%">
<font size="2" face="{theme_font}"
color="{reply_btns_text}">
{ilnk_prev_msg}{href_prev_msg}
{ilnk_next_msg}{href_next_msg}
</font>
</td>
<!-- meaningless sep line -->
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="{tofrom_labels_bkcolor}" class="{tofrom_labels_class}"
valign="top" width="20%">
<font size="2" face="{theme_font}">
<strong>{lang_from}:</strong></font>
</td>
<td bgcolor="{tofrom_data_bkcolor}" class="{tofrom_data_class}"
width="80%">
<font size="2" face="{theme_font}">
{from_data_final}
</font>
</td>
</tr>
<tr>
<td bgcolor="{tofrom_labels_bkcolor}" class="{tofrom_labels_class}"
valign="top">
<font size="2" face="{theme_font}">
<strong>{lang_to}:</strong></font>
</td>
<td bgcolor="{tofrom_data_bkcolor}" class="{tofrom_data_class}">
<font size="2" face="{theme_font}">
{to_data_final}
</font>
</td>
</tr>
<!-- BEGIN B_cc_data -->
<tr>
<td bgcolor="{tofrom_labels_bkcolor}" class="{tofrom_labels_class}"
valign="top">
<font size="2" face="{theme_font}">
<strong>{lang_cc}:</strong></font>
</td>
<td bgcolor="{tofrom_data_bkcolor}" class="{tofrom_data_class}">
<font size="2" face="{theme_font}">
{cc_data_final}
</font>
</td>
</tr>
<!-- END B_cc_data -->
<tr>
<td bgcolor="{tofrom_labels_bkcolor}" class="{tofrom_labels_class}"
valign="top">
<font size="2" face="{theme_font}">
<strong>{lang_date}:</strong></font>
</td>
<td bgcolor="{tofrom_data_bkcolor}" class="{tofrom_data_class}">
<font size="2" face="{theme_font}">
{message_date}
</font>
</td>
</tr>
<!-- BEGIN B_attach_list -->
<tr>
<td bgcolor="{tofrom_labels_bkcolor}" class="{tofrom_labels_class}"
valign="top">
<font size="2" face="{theme_font}">
<strong>{lang_files}:</strong></font>
</td>
<td bgcolor="{tofrom_data_bkcolor}" class="{tofrom_data_class}">
<font size="2" face="{theme_font}">
{list_of_files}
</font>
</td>
</tr>
<!-- END B_attach_list -->
<tr>
<td bgcolor="{tofrom_labels_bkcolor}" class="{tofrom_labels_class}"
valign="top">
<font size="2" face="{theme_font}">
<strong>{lang_subject}:</strong></font>
</td>
<td bgcolor="{tofrom_data_bkcolor}" class="{tofrom_data_class}">
<font size="2" face="{theme_font}">
{message_subject}
</font>
</td>
</tr>
</table>
<!-- start message display -->
<br>
<table border="0" cellpadding="1" cellspacing="1" width="100%" align="center">
<!-- BEGIN B_debug_parts -->
<tr>
<td align="left">
{msg_body_info}
</td>
</tr>
<!-- END B_debug_parts -->
<!-- BEGIN B_display_part -->
<tr class="row_on">
<td bgcolor="{theme_row_on}" width="100%" colspan="3">
<font size="2" face="{theme_font}">
<strong>{title_text}</strong> {display_str}</font>
</td>
</tr>
<tr>
<td width="1%"> </td>
<td align="left" width="98%">
<br>{message_body}
</td>
<td width="1%"> </td>
</tr>
<!-- END B_display_part -->
</table>
{geek_bar}
<!-- lame sep ##### Lame Sep -->
{debugdata}
<!-- end message_main.tpl -->
====================================================
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 border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td colspan="7" align="center">
<font face="{stats_font}"
size="{stats_font_size}">{report_this}</font>
</td>
</tr>
</table>
<!-- END B_action_report -->
<table border="0" cellpadding="1" cellspacing="0" width="100%" align="center">
<tr bgcolor="{arrows_backcolor}" class="{arrows_backcolor_class}"
align="center">
<td> </td>
{prev_arrows}
<td> </td>
{next_arrows}
<td> </td>
</tr>
</table>
{stats_data_display}
<table border="0" cellpadding="3" cellspacing="0" width="100%" align="center">
<tr bgcolor="{hdr_backcolor}" class="{hdr_backcolor_class}">
<td width="3%" align="center">
</td>
<td width="2%">
</td>
<td width="34%">
<font size="{hdr_font_size}" face="{hdr_font}">
<b>{hdr_subject}</b>
</font>
</td>
<td width="23%">
<font size="{hdr_font_size}" face="{hdr_font}">
<b>{hdr_from}</b>
</font>
</td>
<td width="12%">
<font size="{hdr_font_size}" face="{hdr_font}">
<b>{hdr_date}</b>
</font>
</td>
<td width="4%">
<font size="{hdr_font_size}" face="{hdr_font}">
<b>{hdr_size}</b>
</font>
</td>
</tr>
<!-- BEGIN B_no_messages -->
<tr bgcolor="{mlist_backcolor}" class="{mlist_backcolor_class}">
<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}
<font size="2" face="{mlist_font}">{report_no_msgs}</font>
</td>
</tr>
<!-- END B_no_messages -->
<!--- LAME BLOCK SEP -->
<!-- BEGIN B_msg_list -->
<tr bgcolor="{mlist_backcolor}" class="{mlist_backcolor_class}">
<td align="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">
<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_new_msg}</font>
{mlist_attach}
</div>
{all_flags_images}
</td>
<td>
{open_strikethru}<font size="{mlist_font_size}"
face="{mlist_font}"><a
href="{mlist_subject_link}">{mlist_subject}</a></font>{close_strikethru}
</td>
<td>
{open_strikethru}<font size="{mlist_font_size}"
face="{mlist_font}"><a href="{mlist_reply_link}">{mlist_from}</a>
{mlist_from_extra}</font>{close_strikethru}
</td>
<td align="center">
<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_date}</font>
</td>
<td align="center">
<font size="{mlist_font_size_sm}"
face="{mlist_font}">{mlist_size}</font>
</td>
</tr>
<!-- END B_msg_list -->
<tr bgcolor="{ftr_backcolor}" class="{ftr_backcolor_class}">
<td align="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 bgcolor="{ftr_backcolor}" class="{ftr_backcolor_class}">
<td width="10%" align="left">
<font face="{stats_font}"
size="{stats_font_size}">
{delmov_button}
</font>
</td>
<td width="10%" align="left">
<font face="{stats_font}"
size="{stats_font_size}">
{compose_clickme}
</font>
</td>
<td width="80%" align="right">
{delmov_listbox}
</td>
</form>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table border="0" align="center" width="100%">
<tr>
<td align="left">
<font
color="{mlist_newmsg_color}">{mlist_newmsg_char}</font> {mlist_newmsg_txt}
</td>
</tr>
</table>
{debugdata}
<!-- end index_main_b0_l1.tpl -->
====================================================
Index: message_printable.tpl
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- the above line just began message_printable.tpl -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html"; charset="{charset}">
<meta name="author" content="AngleMail for phpGroupWare
http://www.anglemail.org">
<meta name="description" content="AngleMail for phpGroupWare
http://www.phpgroupware.org">
<meta name="keywords" content="AngleMail for phpGroupWare">
<style type="text/css">
<!--
A:link {text-decoration:none;}
A:visted {text-decoration:none;}
A:active {text-decoration:none;}
body {
margin-top: 0px;
margin-right: 0px;
margin-left: 0px;
margin-bottom: 0px;
font-family: "{font_family}";
background-color: #ffffff;
color: #000000;
}
TD {
text-align: left;
vertical-align: top;
}
TD.fullname {
font-weight: bold;
font-size: 110%;
}
TD.partinfo {
font-size: small;
border: 1px dotted black;
padding: 0px;
}
center { text-decoration:none; }
-->
</style>
<title>{page_title}</title>
</head>
<body bgcolor="#ffffff" color="#000000">
<table border="0" cellpadding="0" cellspacing="0" width="95%" align="center">
<tr>
<td width="100%" align="left" colspan="3" class="fullname">
<strong>{user_fullname}</strong>
</td>
</tr>
<tr>
<td width="100%" align="left" colspan="3">
<hr width="100%">
</td>
</tr>
<tr>
<td width="15%" align="left">
<strong>{lang_from}:</strong>
</td>
<td width="2%" align="left">
</td>
<td width="83%" align="left">
{from_data_final}
</td>
</tr>
<tr>
<td>
<strong>{lang_to}:</strong>
</td>
<td>
</td>
<td>
{to_data_final}
</td>
</tr>
<!-- BEGIN B_cc_data -->
<tr>
<td>
<strong>{lang_cc}:</strong>
</td>
<td>
</td>
<td>
{cc_data_final}
</td>
</tr>
<!-- END B_cc_data -->
<tr>
<td>
<strong>{lang_date}:</strong>
</td>
<td>
</td>
<td>
{message_date}
</td>
</tr>
<!-- BEGIN B_attach_list -->
<tr>
<td>
<strong>{lang_files}:</strong>
</td>
<td>
</td>
<td>
{list_of_files}
</td>
</tr>
<!-- END B_attach_list -->
<tr>
<td>
<strong>{lang_subject}:</strong>
</td>
<td>
</td>
<td>
{message_subject}
</td>
</tr>
</table>
<!-- start message display -->
<br>
<table border="0" cellpadding="0" cellspacing="0" width="95%" align="center">
<!-- BEGIN B_display_part -->
<tr>
<td width="100%" class="partinfo">
{title_text} {display_str}
</td>
</tr>
<tr>
<td align="left">
<br>{message_body}
</td>
</tr>
<!-- END B_display_part -->
</table>
<!-- end message_printable.tpl -->
====================================================
Index: app_data-J.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="index">
<xsl:apply-templates select="index"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="generic_out"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="generic_out">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes" select="email_page"
/>
<!-- optional debug data -->
<xsl:if test="debugdata != ''">
<xsl:call-template name="show_debugdata"/>
</xsl:if>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<!-- javascript that we inject into here via a variable -->
<xsl:value-of disable-output-escaping="yes" select="index_js"/>
<!-- toolbar comes pre made as an html widget -->
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<!-- navigation arrows table -->
<table border="0" cellpadding="0" cellspacing="0" width="100%"
align="center">
<tr class="{arrows_backcolor_class}">
<td width="2%" align="left" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="first_page"/>
</td>
<td width="2%" align="left" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="prev_page"/>
</td>
<td width="2%" align="right" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="next_page"/>
</td>
<td width="2%" align="right" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="last_page"/>
</td>
</tr>
</table>
<!-- stats data is pre made html -->
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<!-- begin the table where the message list will go -->
<table border="0" cellpadding="4" cellspacing="0" width="100%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
disable-output-escaping="yes" select="hdr_size"/></small></strong>
</td>
</tr>
<!-- begin the form that surrounds the message list items -->
<form name="{frm_delmov_name}" action="{frm_delmov_action}"
method="post">
<input type="hidden" name="what" value="delall" />
<input type="hidden" name="sort" value="{current_sort}" />
<input type="hidden" name="order" value="{current_order}" />
<input type="hidden" name="start" value="{current_start}" />
<xsl:choose>
<xsl:when test="folder_info/number_all = 0">
<!-- folder is empty, no messages to display -->
<xsl:call-template name="tlp_report_no_msgs"/>
</xsl:when>
<xsl:otherwise>
<!-- actual message list items -->
<xsl:apply-templates select="msg_list_dsp"/>
</xsl:otherwise>
</xsl:choose>
<tr class="{ftr_backcolor_class}">
<td>
<a href="javascript:check_all()">
<img src="{check_image}" border="0"
alt="check"/>
</a>
</td>
<td colspan="2" align="left">
<xsl:value-of disable-output-escaping="yes"
select="delmov_button"/>
</td>
<td colspan="3" align="right">
<xsl:value-of disable-output-escaping="yes"
select="delmov_listbox"/>
</td>
</tr>
<!-- end the form that surrounds the message list items -->
</form>
<!-- end the table where the message list will go -->
</table>
<!-- optional debug data -->
<xsl:if test="debugdata != ''">
<xsl:call-template name="show_debugdata"/>
</xsl:if>
</xsl:template>
<xsl:template name="tlp_report_no_msgs">
<tr class="row_on">
<td colspan="6" align="center">
<xsl:value-of select="report_no_msgs"/>
</td>
</tr>
</xsl:template>
<xsl:template match="msg_list_dsp">
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<input type="checkbox"
name="{../mlist_checkbox_name}" value="{uri}"/>
</td>
<td align="center">
<xsl:choose>
<xsl:when test="has_attachment != '0'">
<img src="{../attach_img}"
border="0" alt="{../attach_img_alttxt}"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strong>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strong>
</xsl:when>
<xsl:otherwise>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="msg_date"/>
</td>
<td align="center">
<small><xsl:value-of select="size"/></small>
</td>
</tr>
</xsl:template>
<xsl:template name="show_debugdata">
<xsl:choose>
<xsl:when test="debugdata/js_another_window != ''">
<xsl:value-of disable-output-escaping="yes"
select="debugdata/js_another_window"/>
</xsl:when>
<xsl:otherwise>
<div style="text-align: left; font-size:
x-small;">
<p>
<code>
<xsl:value-of
disable-output-escaping="yes" select="debugdata"/>
</code>
</p>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
====================================================
Index: app_data-D.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="uimessage">
<xsl:apply-templates select="uimessage"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="index"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="uimessage">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<xsl:variable name="ftr_backcolor_class"><xsl:value-of
select="ftr_backcolor_class"/></xsl:variable>
<xsl:variable name="check_image"><xsl:value-of
select="check_image"/></xsl:variable>
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<xsl:value-of disable-output-escaping="yes"
select="V_arrows_form_table"/>
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<table border="0" cellpadding="4" cellspacing="1" width="95%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
select="hdr_size"/></small></strong>
</td>
</tr>
<xsl:apply-templates select="msg_list_dsp"/>
<tr class="{$ftr_backcolor_class}">
<td>
<a href="javascript:check_all()">
<xsl:text> check all </xsl:text>
</a>
</td>
<td colspan="2" align="left">
<xsl:value-of select="lang_delete"/>
</td>
<td colspan="3" align="right">
<xsl:value-of disable-output-escaping="yes"
select="delmov_listbox"/>
</td>
</form>
</tr>
</table>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="msg_list_dsp">
<xsl:variable name="uri"><xsl:value-of
disable-output-escaping="yes" select="uri"/></xsl:variable>
<xsl:variable name="subject_link"><xsl:value-of
disable-output-escaping="yes" select="subject_link"/></xsl:variable>
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<xsl:value-of disable-output-escaping="yes"
select="V_mlist_form_init"/>
<input type="checkbox" name="delmov_list[]"
value="{$uri}"/>
</td>
<td align="center">
<xsl:choose>
<xsl:when test="has_attachment != '0'">
<xsl:text>has att</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>no att</xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strong>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen">
<strong>
<a
href="{$subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strong>
</xsl:when>
<xsl:otherwise>
<a
href="{$subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="msg_date"/>
</td>
<td align="center">
<small><xsl:value-of select="size"/></small>
</td>
</tr>
</xsl:template>
====================================================
Index: app_data-I.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="index">
<xsl:apply-templates select="index"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="generic_out"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="generic_out">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<xsl:call-template name="arrows_form_table"/>
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<table border="0" cellpadding="4" cellspacing="1" width="100%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
disable-output-escaping="yes" select="hdr_size"/></small></strong>
</td>
</tr>
<form name="{frm_delmov_name}" action="{frm_delmov_action}"
method="post">
<input type="hidden" name="what" value="delall" />
<input type="hidden" name="sort" value="{current_sort}" />
<input type="hidden" name="order" value="{current_order}" />
<input type="hidden" name="start" value="{current_start}" />
<xsl:choose>
<xsl:when test="folder_info/number_all = 0">
<xsl:call-template name="tlp_report_no_msgs"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="msg_list_dsp"/>
</xsl:otherwise>
</xsl:choose>
<tr class="{ftr_backcolor_class}">
<td>
<a href="javascript:check_all()">
<img src="{check_image}" border="0"
alt="check"/>
</a>
</td>
<td colspan="2" align="left">
<xsl:value-of disable-output-escaping="yes"
select="delmov_button"/>
</td>
<td colspan="3" align="right">
<xsl:value-of disable-output-escaping="yes"
select="delmov_listbox"/>
</td>
</tr>
</form>
</table>
</xsl:template>
<xsl:template name="arrows_form_table">
<table border="0" cellpadding="0" cellspacing="1" width="100%"
align="center">
<tr class="{arrows_backcolor_class}">
<td width="2%" align="left" valign="top">
<table border="0" cellspacing="0"
cellpadding="0">
<tr>
<td align="left">
<xsl:value-of
disable-output-escaping="yes" select="first_page"/>
</td>
</tr>
</table>
</td>
<td width="2%" align="left" valign="top">
<table border="0" cellspacing="0"
cellpadding="0">
<tr>
<td align="left">
<xsl:value-of
disable-output-escaping="yes" select="prev_page"/>
</td>
</tr>
</table>
</td>
<td width="2%" align="right" valign="top">
<table border="0" cellspacing="0"
cellpadding="0">
<tr>
<td align="right">
<xsl:value-of
disable-output-escaping="yes" select="next_page"/>
</td>
</tr>
</table>
</td>
<td width="2%" align="right" valign="top">
<table border="0" cellspacing="0"
cellpadding="0">
<tr>
<td align="right">
<xsl:value-of
disable-output-escaping="yes" select="last_page"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="tlp_report_no_msgs">
<tr class="row_on">
<td colspan="6" align="center">
<xsl:value-of select="report_no_msgs"/>
</td>
</tr>
</xsl:template>
<xsl:template match="msg_list_dsp">
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<input type="checkbox"
name="{../mlist_checkbox_name}" value="{uri}"/>
</td>
<td align="center">
<xsl:choose>
<xsl:when test="has_attachment != '0'">
<img src="{../attach_img}"
border="0" alt="{../attach_img_alttxt}"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strong>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strong>
</xsl:when>
<xsl:otherwise>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="msg_date"/>
</td>
<td align="center">
<small><xsl:value-of select="size"/></small>
</td>
</tr>
</xsl:template>
====================================================
Index: OLD-preferences.tpl
<!-- begin preferences.tpl -->
{pref_errors}
<p>
<b>{page_title}</b>
<hr>
</p>
<form method="POST" action="{form_action}">
<table border="0" align="center" cellspacing="1" cellpadding="1" width="70%">
<tr>
<td colspan="2" bgcolor="{th_bg}">
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row1}">
{email_sig_blurb}
</td>
<td align="center" bgcolor="{bg_row1}">
<textarea name="{email_sig_textarea_name}" rows="6"
cols="60">{email_sig_textarea_content}</textarea>
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row2}">
{sorting_blurb}
</td>
<td align="center" bgcolor="{bg_row2}">
<select name="{sorting_select_name}">
{sorting_select_options}
</select>
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row2A}">
{layout_blurb}
</td>
<td align="center" bgcolor="{bg_row2A}">
<select name="{layout_select_name}">
{layout_select_options}
</select>
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row3}">
{show_addresses_blurb}
</td>
<td align="center" bgcolor="{bg_row3}">
<select name="{show_addresses_select_name}">
{show_addresses_select_options}
</select>
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row4}">
{mainscreen_showmail_blurb}
</td>
<td align="center" bgcolor="{bg_row4}">
<input type="checkbox"
name="{mainscreen_showmail_checkbox_name}"
value="{mainscreen_showmail_checkbox_value}" {mainscreen_showmail_checked}>
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row5}">
<input type="checkbox" name="{use_trash_folder_checkbox_name}"
value="{use_trash_folder_checkbox_value}" {use_trash_folder_checked}>
{use_trash_folder_blurb}
</td>
<td align="center" bgcolor="{bg_row5}">
<input type="text" name="{trashname_text_name}"
value="{trashname_text_value}">
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row5A}">
<input type="checkbox" name="{use_sent_folder_checkbox_name}"
value="{use_sent_folder_checkbox_value}" {use_sent_folder_checked}>
{use_sent_folder_blurb}
</td>
<td align="center" bgcolor="{bg_row5A}">
<input type="text" name="{sentname_text_name}"
value="{sentname_text_value}">
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row5B}">
{enable_utf7_blurb}
</td>
<td align="center" bgcolor="{bg_row5B}">
<input type="checkbox" name="{enable_utf7_checkbox_name}"
value="{enable_utf7_checkbox_value}" {enable_utf7_checked}>
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2" bgcolor="{th_bg}">
{section_title}
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row6}">
{use_custom_settings_blurb}
</td>
<td align="center" bgcolor="{bg_row6}">
<input type="checkbox"
name="{use_custom_settings_checkbox_name}"
value="{use_custom_settings_checkbox_value}" {use_custom_settings_checked}>
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row7}">
{userid_blurb}
</td>
<td align="center" bgcolor="{bg_row7}">
<input type="text" name="{userid_text_name}"
value="{userid_text_value}">
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row8}">
{passwd_blurb}
</td>
<td align="center" bgcolor="{bg_row8}">
<input type="password" name="{passwd_text_name}"
value="{passwd_text_value}">
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row9}">
{address_blurb}
</td>
<td align="center" bgcolor="{bg_row9}">
<input type="text" name="{address_text_name}"
value="{address_text_value}">
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row10}">
{mail_server_blurb}
</td>
<td align="center" bgcolor="{bg_row10}">
<input type="text" name="{mail_server_text_name}"
value="{mail_server_text_value}">
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row11}">
{mail_server_type_blurb}
</td>
<td align="center" bgcolor="{bg_row11}">
<select name="{mail_server_type_select_name}">
{mail_server_type_select_options}
</select>
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row12}">
{imap_server_type_blurb}
</td>
<td align="center" bgcolor="{bg_row12}">
<select name="{imap_server_type_select_name}">
{imap_server_type_select_options}
</select>
</td>
</tr>
<tr>
<td align="left" bgcolor="{bg_row13}">
{mail_folder_blurb}
</td>
<td align="center" bgcolor="{bg_row13}">
<input type="text" name="{mail_folder_text_name}"
value="{mail_folder_text_value}">
</td>
</tr>
<tr>
<td colspan="3" align="center">
<input type="submit" name="{btn_submit_name}"
value="{btn_submit_value}">
</td>
</tr>
</table>
</form>
<!-- end preferences.tpl -->
====================================================
Index: app_data.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="index">
<xsl:apply-templates select="index"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="generic_out"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="generic_out">
<xsl:value-of disable-output-escaping="yes" select="email_page"
/>
<!-- optional debug data -->
<xsl:if test="debugdata != ''">
<xsl:call-template name="show_debugdata"/>
</xsl:if>
</xsl:template>
<xsl:template match="index">
<!-- javascript that we inject into here via a variable -->
<xsl:value-of disable-output-escaping="yes" select="index_js"/>
<!-- toolbar comes pre made as an html widget -->
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<!-- navigation arrows table -->
<table border="0" cellpadding="0" cellspacing="0" width="100%"
align="center">
<tr class="{arrows_backcolor_class}">
<td width="2%" align="left" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="first_page"/>
</td>
<td width="2%" align="left" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="prev_page"/>
</td>
<td width="2%" align="right" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="next_page"/>
</td>
<td width="2%" align="right" valign="middle">
<xsl:value-of disable-output-escaping="yes"
select="last_page"/>
</td>
</tr>
</table>
<!-- stats data is pre made html -->
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<!-- begin the table where the message list will go -->
<table border="0" cellpadding="4" cellspacing="0" width="100%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
disable-output-escaping="yes" select="hdr_size"/></small></strong>
</td>
</tr>
<!-- begin the form that surrounds the message list items -->
<form name="{frm_delmov_name}" action="{frm_delmov_action}"
method="post">
<input type="hidden" name="what" value="delall" />
<input type="hidden" name="sort" value="{current_sort}" />
<input type="hidden" name="order" value="{current_order}" />
<input type="hidden" name="start" value="{current_start}" />
<xsl:choose>
<xsl:when test="folder_info/number_all = 0">
<!-- folder is empty, no messages to display -->
<xsl:call-template name="tlp_report_no_msgs"/>
</xsl:when>
<xsl:otherwise>
<!-- actual message list items -->
<xsl:apply-templates select="msg_list_dsp"/>
</xsl:otherwise>
</xsl:choose>
<tr class="{ftr_backcolor_class}">
<td>
<a href="javascript:check_all()">
<img src="{check_image}" border="0"
alt="check"/>
</a>
</td>
<td colspan="2" align="left">
<xsl:value-of disable-output-escaping="yes"
select="delmov_button"/>
</td>
<td colspan="3" align="right">
<xsl:value-of disable-output-escaping="yes"
select="delmov_listbox"/>
</td>
</tr>
<!-- end the form that surrounds the message list items -->
</form>
<!-- end the table where the message list will go -->
</table>
<!-- optional GeekBar -->
<xsl:if test="geek_bar != ''">
<!-- GeekBar comes pre made as an html widget -->
<br />
<xsl:value-of disable-output-escaping="yes"
select="geek_bar"/>
</xsl:if>
<!-- optional debug data -->
<xsl:if test="debugdata != ''">
<xsl:call-template name="show_debugdata"/>
</xsl:if>
</xsl:template>
<xsl:template name="tlp_report_no_msgs">
<tr class="row_on">
<td colspan="6" align="center">
<xsl:value-of select="report_no_msgs"/>
</td>
</tr>
</xsl:template>
<xsl:template match="msg_list_dsp">
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<input type="checkbox"
name="{../mlist_checkbox_name}" value="{uri}"/>
</td>
<td align="center">
<div align="right">
<xsl:choose>
<xsl:when test="has_attachment
!= '0'">
<img
src="{../attach_img}" border="0" alt="{../attach_img_alttxt}"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</div>
<xsl:if test="is_flagged != '0'">
<xsl:value-of
disable-output-escaping="yes" select="../flagged_img"/>
</xsl:if>
<xsl:if test="is_answered != '0'">
<xsl:value-of
disable-output-escaping="yes" select="../answered_img"/>
</xsl:if>
<xsl:if test="is_draft != '0'">
<xsl:value-of
disable-output-escaping="yes" select="../draft_img"/>
</xsl:if>
<xsl:if test="is_deleted != '0'">
<xsl:value-of
disable-output-escaping="yes" select="../deleted_img"/>
</xsl:if>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strong>
</xsl:when>
<xsl:when test="is_deleted != '0'">
<em><strike>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strike></em>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strong>
</xsl:when>
<xsl:when test="is_deleted != '0'">
<em><strike>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strike></em>
</xsl:when>
<xsl:otherwise>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="msg_date"/>
</td>
<td align="center">
<small><xsl:value-of select="size"/></small>
</td>
</tr>
</xsl:template>
<xsl:template name="show_debugdata">
<xsl:choose>
<xsl:when test="debugdata/js_another_window != ''">
<xsl:value-of disable-output-escaping="yes"
select="debugdata/js_another_window"/>
</xsl:when>
<xsl:otherwise>
<div style="text-align: left; font-size:
x-small;">
<p>
<code>
<xsl:value-of
disable-output-escaping="yes" select="debugdata"/>
</code>
</p>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
====================================================
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 border="0" cellpadding="2" cellspacing="1" width="95%" align="center">
<tr>
<td bgcolor="{ctrl_bar_back2}" width="25%" align="center">
<font face="{ctrl_bar_font}" size="{ctrl_bar_font_size}"><a
href="{compose_link}">{compose_txt}</a></font>
</td>
<td bgcolor="{ctrl_bar_back2}" width="25%" align="center">
<font face="{ctrl_bar_font}"
size="{ctrl_bar_font_size}">{folders_href}</font>
</td>
<td bgcolor="{ctrl_bar_back2}" width="25%" align="center">
<font face="{ctrl_bar_font}"
size="{ctrl_bar_font_size}">{filters_href}</font>
</td>
<td bgcolor="{ctrl_bar_back2}" width="25%" align="center">
<font face="{ctrl_bar_font}" size="{ctrl_bar_font_size}"><a
href="{email_prefs_link}">{email_prefs_txt}</a></font>
</td>
</tr>
</table>
<table border="0" cellpadding="3" cellspacing="1" width="95%" align="center">
<tr>
<td colspan="2" align="center">
<font face="{stats_font}" size="{stats_font_size}">
<!-- BEGIN B_action_report -->
{report_this}
<!-- END B_action_report -->
</font>
</td>
</tr>
</table>
{V_arrows_form_table}
<table border="0" cellpadding="5" cellspacing="1" width="95%" align="center">
<tr>
<td bgcolor="{stats_backcolor}" align="center">
<font face="{stats_font}" size="{stats_font_size}"
color="{stats_color}">
<strong>{stats_folder}</strong>
</font>
</td>
<td bgcolor="{stats_backcolor}" align="center">
<font face="{stats_font}" size="{stats_font_size}"
color="{stats_color}">
{stats_new} {lang_new}
</font>
</td>
<td bgcolor="{stats_backcolor}" align="center">
<font face="{stats_font}" size="{stats_font_size}"
color="{stats_color}">
{stats_saved} {lang_total}
</font>
</td>
<!-- BEGIN B_show_size -->
<td bgcolor="{stats_backcolor}" align="center">
<font face="{stats_font}" size="{stats_font_size}"
color="{stats_color}">
{stats_size} {lang_size}
</font>
</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 bgcolor="{stats_backcolor}" align="center">
<font face="{stats_font}" size="{stats_font_size}"
color="{stats_color}">
<input type="submit"
value="{lang_get_size}">
</font>
</td>
</form>
<!-- END B_get_size -->
<td bgcolor="{stats_backcolor}" align="center">
<font face="{stats_font}" size="{stats_font_size}"
color="{stats_color}">
{stats_first} {stats_to_txt} {stats_last}
</font>
</td>
</tr>
</table>
<table border="0" cellpadding="4" cellspacing="1" width="95%" align="center">
<tr>
<td bgcolor="{hdr_backcolor}" width="3%" align="center">
</td>
<td bgcolor="{hdr_backcolor}" width="2%">
</td>
<td bgcolor="{hdr_backcolor}" width="20%">
<font size="{hdr_font_size}" face="{hdr_font}">
<strong>{hdr_from}</strong>
</font>
</td>
<td bgcolor="{hdr_backcolor}" width="39%">
<font size="{hdr_font_size}" face="{hdr_font}">
<strong>{hdr_subject}</strong>
</font>
</td>
<td bgcolor="{hdr_backcolor}" width="10%" align="center">
<font size="{hdr_font_size_sm}" face="{hdr_font}">
<strong>{hdr_date}</strong>
</font>
</td>
<td bgcolor="{hdr_backcolor}" width="4%" align="center">
<font size="{hdr_font_size_sm}" face="{hdr_font}">
<strong>{hdr_size}</strong>
</font>
</td>
</tr>
<!-- BEGIN B_no_messages -->
<tr>
<td bgcolor="{mlist_backcolor}" 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}
<font size="2" face="{mlist_font}">{report_no_msgs}</font>
</td>
</tr>
<!-- END B_no_messages -->
<!--- LAME BLOCK SEP -->
<!-- BEGIN B_msg_list -->
<tr>
<td bgcolor="{mlist_backcolor}" align="center">
<!-- INIT FORM ONCE -->{V_mlist_form_init}
<input type="checkbox" name="msglist[]" value="{mlist_msg_num}">
</td>
<td bgcolor="{mlist_backcolor}" align="center">
{mlist_attach}
</td>
<td bgcolor="{mlist_backcolor}" align="left">
{open_newbold}<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_from} {mlist_from_extra}</font>{close_newbold}
</td>
<td bgcolor="{mlist_backcolor}" align="left">
{open_newbold}<font size="{mlist_font_size}"
face="{mlist_font}"><a
href="{mlist_subject_link}">{mlist_subject}</a></font>{close_newbold}
</td>
<td bgcolor="{mlist_backcolor}" align="center">
<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_date}</font>
</td>
<td bgcolor="{mlist_backcolor}" align="center">
<font size="{mlist_font_size_sm}"
face="{mlist_font}">{mlist_size}</font>
</td>
</tr>
<!-- END B_msg_list -->
<tr>
<td bgcolor="{ftr_backcolor}" colspan="6">
</td>
</tr>
</table>
<br>
<!-- end email_index.tpl -->
====================================================
Index: app_data-E.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="index">
<xsl:apply-templates select="index"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="generic_out"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="generic_out">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<xsl:variable name="ftr_backcolor_class"><xsl:value-of
select="ftr_backcolor_class"/></xsl:variable>
<xsl:variable name="check_image"><xsl:value-of
select="check_image"/></xsl:variable>
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<xsl:value-of disable-output-escaping="yes"
select="V_arrows_form_table"/>
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<table border="0" cellpadding="4" cellspacing="1" width="100%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
select="hdr_size"/></small></strong>
</td>
</tr>
<xsl:apply-templates select="msg_list_dsp"/>
<tr class="{$ftr_backcolor_class}">
<td>
<a href="javascript:check_all()">
<img src="{$check_image}" border="0"
alt="check"/>
</a>
</td>
<td colspan="2" align="left">
<xsl:value-of disable-output-escaping="yes"
select="delmov_button"/>
</td>
<td colspan="3" align="right">
<xsl:value-of disable-output-escaping="yes"
select="delmov_listbox"/>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="msg_list_dsp">
<xsl:variable name="uri"><xsl:value-of
disable-output-escaping="yes" select="uri"/></xsl:variable>
<xsl:variable name="subject_link"><xsl:value-of
disable-output-escaping="yes" select="subject_link"/></xsl:variable>
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<xsl:value-of disable-output-escaping="yes"
select="V_mlist_form_init"/>
<input type="checkbox" name="delmov_list[]"
value="{$uri}"/>
</td>
<td align="center">
<xsl:choose>
<xsl:when test="has_attachment != '0'">
<xsl:text>a</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strong>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen">
<strong>
<a
href="{$subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strong>
</xsl:when>
<xsl:otherwise>
<a
href="{$subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="msg_date"/>
</td>
<td align="center">
<small><xsl:value-of select="size"/></small>
</td>
</tr>
</xsl:template>
====================================================
Index: extrabox.xsl
` <xsl:template name="extrabox">
<xsl:apply-templates select="xextrabox"/>
</xsl:template>
<xsl:template match="xextrabox">
<table cellspacing="2" cellpadding="2" border="1"
border-color="black" bgcolor="white">
<tr>
<td>
<b><xsl:text>Email Data goes
here</xsl:text></b>
</td>
</tr>
<xsl:apply-templates select="values"/>
</table>
</xsl:template>
====================================================
Index: addressbook-js-smaller.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset={charset}">
<title>{title}</title>
<script src="%7Binclude_link%7D"> </script>
</head>
<body
onload="setUpVisual('{main_form_name}','nameselect','searchautocomplete');">
{V_addressbook_record}
<table style="width: 750px;" cellpadding="0" border="1" cellspacing="0">
<thead> <tr>
<td valign="top" align="center" bgcolor="#336699" width="30%">
<font
size="-1" face="Helvetica, Arial, sans-serif" color="#ffffff">
{lang_select_cats}
</font> <font color="#ffffff">
<br>
</font> </td>
<td valign="top" align="center" bgcolor="#336699">
<div align="center">
<font
face="Helvetica, Arial, sans-serif" size="-1" color="#ffffff">
Select users </font>
<font color="#ffffff">
<br>
</font> </div>
<font color="#ffffff"> <br>
</font> </td>
<td valign="top"
style="text-align: center; background-color: rgb(51,102,153);"
rowspan="1" colspan="3">
<div align="center"><font face="Helvetica, Arial, sans-serif"
size="-1" color="#ffffff"> Destination Options </font>
<font color="#ffffff"> <br>
</font> </div>
</td>
</tr>
<tr bgcolor="#cccccc">
<td colspan="5" valign="middle" width="600"> </td>
</tr>
<tr>
<form action="{cats_action}" name="cats_form" method="post"></form>
<td rowspan="1" width="100" valign="top" align="center"
bgcolor="#cccccc">
<select name="cat_id" size="20" onchange="this.form.submit()">
<option value="-2">All (can be very slow)</option>
</select>
</td>
<form name="{main_form_name}" action="{main_form_action}"
method="post"
onsubmit="
mover.sortSelect('toselectbox[]');
mover.sortSelect('ccselectbox[]');
mover.sortSelect('bccselectbox[]');
mover.sortSelect('nameselect');
"></form>
<td colspan="1" width="100" valign="top" rowspan="1"
bgcolor="#cccccc">
<table width="100">
<tbody>
<tr align="center">
<td width="50"> <input
type="text" name="searchbox"
value="{searchbox_value}"> </td>
<td width="50"> <br>
</td>
</tr>
</tbody>
</table>
<table width="20">
<tbody>
<tr>
<td width="80%"> <input type="text"
name="searchautocomplete"
value="{search_ac_value}" size="18"
onkeyup="javascript:obj1.bldUpdate();"> </td>
<td width="20%">
<select name="filter" onchange="this.form.submit()">
<option value="none" {global_is_selected=""> Global </option>
<option value="mine" {mine_is_selected=""> Mine </option>
<option value="user_only" {private_is_selected=""> Private </option>
</select>
</td>
</tr>
</tbody>
</table>
<br>
<select name="nameselect" size="15" multiple=""
onchange="
if(this.form.viewmore.checked)
{
if(mover.numberSelectedOptions('nameselect') == 1)
{
javascript:
mover.selectAll('ccselectbox[]');
mover.selectAll('toselectbox[]');
mover.selectAll('bccselectbox[]');
this.form.submit();
}
}">
<!-- BEGIN addressbook_names -->
<option value="{name_option_value}"
{name_option_selected="">{name_option_name}</option>
<!-- END addressbook_names -->
</select>
{V_hidden_emails_list} <br>
<font face="Helvetica, Arial, sans-serif" size="-1"> <br>
More Data <input type="checkbox" {viewmore_checked="" name="viewmore"
onclick="this.form.submit()"> </font> </td>
<td rowspan="1" width="48" valign="top" align="center"
bgcolor="#cccccc"> <br>
<p> <input type="button" name="tobutton" value="TO:
"
onclick="javascript:mover.moveSelectedOptions('nameselect','toselectbox[]');">
</p>
<br>
<br>
<br>
<p> <input type="button" name="ccbutton" value="CC:
"
onclick="javascript:mover.moveSelectedOptions('nameselect','ccselectbox[]');">
</p>
<br>
<br>
<p> <input type="button" name="bccbutton"
value="BCC:"
onclick="javascript:mover.moveSelectedOptions('nameselect','bccselectbox[]');">
</p>
<br>
<br>
<hr>
<p> <input type="button" name="nonebutton"
value="None"
onclick="javascript:mover.moveAll('toselectbox[]','nameselect');
mover.moveAll('ccselectbox[]','nameselect');
mover.moveAll('bccselectbox[]','nameselect');">
</p>
<p> <br>
</p>
</td>
<td rowspan="1" width="30%" align="center" valign="top" colspan="1"
bgcolor="#cccccc">
<p>
<select name="toselectbox[]" size="5" multiple=""
onchange="
if(this.form.viewmore.checked)
{
if(mover.numberSelectedOptions('toselectbox[]') == 1)
{
javascript:
mover.selectAll('ccselectbox[]');
mover.selectAll('toselectbox[]');
mover.selectAll('bccselectbox[]');
this.form.submit();
}
}">
</select>
</p>
<p>
<select name="ccselectbox[]" size="5" multiple=""
onchange="
if(this.form.viewmore.checked)
{
if(mover.numberSelectedOptions('ccselectbox[]') == 1)
{
javascript:
mover.selectAll('ccselectbox[]');
mover.selectAll('toselectbox[]');
mover.selectAll('bccselectbox[]');
this.form.submit();
}
}">
</select>
<br>
</p>
<p style="margin-bottom: 0cm;">
<select name="bccselectbox[]" size="5" multiple=""
onchange="
if(this.form.viewmore.checked)
{
if(mover.numberSelectedOptions('ccselectbox[]') == 1)
{
javascript:
mover.selectAll('ccselectbox[]');
mover.selectAll('toselectbox[]');
mover.selectAll('bccselectbox[]');
this.form.submit();
}
}">
</select>
</p>
<p> <input type="button" name="removeselectedbutton"
value="<- Remove selected"
onclick="javascript:mover.moveSelectedOptions('toselectbox[]','nameselect');
mover.moveSelectedOptions('bccselectbox[]','nameselect');
mover.moveSelectedOptions('ccselectbox[]','nameselect');"></p>
<input type="submit" name="done" value="Done"
onclick="javascript:
mover.stringToTextbox(
mover.selectToString('toselectbox[]'),
window.opener.document.doit.to
);
mover.stringToTextbox(
mover.selectToString('bccselectbox[]'),
window.opener.document.doit.bcc
);
mover.stringToTextbox(
mover.selectToString('ccselectbox[]'),
window.opener.document.doit.cc
);
window.close();
">
<p></p>
<br>
<br>
</td>
</tr>
</thead>
</table>
<br>
<br>
</body>
</html>
====================================================
Index: addressbook-js-frameset.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="CONTENT-TYPE"
content="text/html; charset={charset}">
<title>{title}</title>
<STYLE TYPE="text/css">
SELECT { font-size: {widget_font_size}; }
INPUT{ font-size: {widget_font_size}; }
TEXTAREA { font-size: {widget_font_size}; color: blue }
body { margin-top: 0px; margin-right: 0px; margin-left: 0px;
font-family: Arial, Helvetica, san-serif }
</STYLE>
<script language="javascript">
//Variable declarations
// All these are data expected to be here by the mainframe or
the secondary frame at
//an undetermined time
var toselectbox_name;
var toselectbox_email;
var toselectbox_keys;
var ccselectbox_name;
var ccselectbox_email;
var ccselectbox_keys;
var bccselectbox_name;
var bccselectbox_email;
var bccselectbox_keys;
var mainfirsttimeflag;
mainfirsttimeflag=1;
//@function set_destboxes
//@param getvars The string of GET style http variables
//@discussion
//This function tells the secondary frame to go and set the
data for the destination boxes
//The acutal values of the destination boxes where converted to
get style vars
//by a call to option2get method of the selectMover js object
in selectboxes.js
function set_destboxes(getvars)
{
//alert("{set_destboxes_link}"+getvars);
window.secondaryframe.location="{set_destboxes_link}"+getvars;
}
//@function destboxes_set
//@discussion
//Upon loading the resultiong arrays from the set_destboxes
call, the php backend
//will output an onLoad event which calls this function. Before
that, it will have sent
//three arrays, one per destination box. This arrays hold
names, emails and addressbook
//entry id's respectivly per destination box.
//Obviously, the index to each of the arrays elements directly
relate
//the email with the id and the name. So, the email of the
addressbook entry
// Whose fullname is toselectbox_name[i], is in
toselectbox_email[i]...and
//so is the corresponding key in toselectbox_key[i]
//When this frameset receives this event, it will initialize
its arrays
//and call the mainframe so it can update itself with this
newly gotten data
function destboxes_set()
{
window.toselectbox_name=window.secondaryframe.toselectbox_name;
window.toselectbox_email=window.secondaryframe.toselectbox_email;
window.toselectbox_keys=window.secondaryframe.toselectbox_keys;
window.ccselectbox_name=window.secondaryframe.ccselectbox_name;
window.ccselectbox_email=window.secondaryframe.ccselectbox_email;
window.ccselectbox_keys=window.secondaryframe.ccselectbox_keys;
window.bccselectbox_name=window.secondaryframe.bccselectbox_name;
window.bccselectbox_email=window.secondaryframe.bccselectbox_email;
window.bccselectbox_keys=window.secondaryframe.bccselectbox_keys;
window.mainframe.event_destboxes_saved();
}
//show userdata event variables
var userdata;
var userdata_width;
var userdata_height;
//@function get_user_data
//@param usertofetch This should be a nameselect[0]=id string
allways
//@discussion will tell the secondary frame to go and call the
get_userdata
//public method of the uijsaddressbook php class. This class
will get the id
//from the nameselect var and will query the backend for us. It
will then urlencode
//the generated record (it formats it with spaces and all) and
send it back to us in the
//userdata variable.
function get_user_data(usertofetch)
{
window.secondaryframe.location="{get_user_data_link}"+usertofetch;
}
//@function userdata_got
//@discussion
//Upon loading the data got from the get_userdata call to the
php uijsaddressbook class,
//the secondary frame's body tag will have an call to this
function in its onLoad event
//This will call us. The contents of the resulting document in
the secondary frame will
//already have a urlencoded string representing the userdata
the way we want to show it
//Also, the userdata_height and width will be set in as
variables in the secondary frame
//This two variables are used by the mainframe's
event_userdata_got function
//to dynamically set the size of the userdata textbox.
function userdata_got()
{
window.userdata=window.secondaryframe.userdata;
window.userdata_rows=window.secondaryframe.userdata_rows;
window.userdata_cols=window.secondaryframe.userdata_cols;
window.mainframe.event_userdata_got();
}
//@function forget_destboxes
//@discussion will direct the secondary frame to the forget_all
public
//phpgw method in the uijsaddressbook class
//This will cause the php backend to forget everything in cache
function forget_destboxes()
{
window.secondaryframe.location="{forget_all_link}";
}
//@function all_forgoten
//@discussion Upon forgeting all, the php backend will output
just a call to this function
//we let know the mainframe that all has been forgoten by
calling the corresponding event function
//in it
function all_forgoten()
{
window.mainframe.event_all_forgoten();
}
</script>
</head>
<frameset cols="100%,0%">
<FRAME NAME="mainframe" SRC="{mainframe_link}">
<FRAME NAME="secondaryframe" SRC="{set_destboxes_link}">
</frameset>
</html
====================================================
Index: search_results.tpl
<table border="0" cellspacing="0" cellpadding="8" align="center">
<tr bgcolor="DDDDDD">
<td>
<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 border="0" cellpadding="4" cellspacing="1" width="95%" align="center">
<tr bgcolor="#D3DCE3">
<td width="3%" align="center">
</td>
<td width="2%">
</td>
<td width="20%">
<font size="2" face="Arial, Helvetica, san-serif">
<strong>{lang_from}</strong>
</font>
</td>
<td width="39%">
<font size="2" face="Arial, Helvetica, san-serif">
<strong>{lang_subject}</strong>
</font>
</td>
<td width="10%" align="center">
<font size="1" face="Arial, Helvetica, san-serif">
<strong>{lang_date}</strong>
</font>
</td>
<td width="4%" align="center">
<font size="1" face="Arial, Helvetica, san-serif">
<strong>{lang_size}</strong>
</font>
</td>
</tr>
<!-- BEGIN search_result -->
<tr bgcolor="#DDDDDD">
<td align="center">
<input type="checkbox" name="delmov_list[]"
value="{checkbox_val}">
</td>
<td align="center">
</td>
<td align="left">
<font size="2" face="Arial, Helvetica, san-serif">{from}</font>
</td>
<td align="left">
<font size="2" face="Arial, Helvetica, san-serif"><a
href="{msg_link}">{subject}</a></font>
</td>
<td align="center">
<font size="2" face="Arial, Helvetica, san-serif">{date}</font>
</td>
<td align="center">
<font size="1" face="Arial, Helvetica, san-serif">{size}</font>
</td>
</tr>
<!-- END search_result -->
<tr bgcolor="#D3DCE3">
<td colspan="3" align="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" align="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>
====================================================
Index: index_blocks.tpl
<!-- begin index_plocks.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 -->
<!-- Lame Seperator -->
<!-- BEGIN B_arrows_form_table -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr bgcolor="{arrows_backcolor}" class="{arrows_backcolor_class}">
<td width="2%" align="left" valign="top">
<table border="0" bgcolor="{arrows_td_backcolor}"
cellspacing="0" cellpadding="0">
<tr>
<td align="left">
{first_page}
</td>
</tr>
</table>
</td>
<td width="2%" align="left" valign="top">
<table border="0" bgcolor="{arrows_td_backcolor}"
cellspacing="0" cellpadding="0">
<tr>
<td align="left">
{prev_page}
</td>
</tr>
</table>
</td>
<td width="2%" align="right" valign="top">
<table border="0" bgcolor="{arrows_td_backcolor}"
cellspacing="0" cellpadding="0">
<tr>
<td align="right">
{next_page}
</td>
</tr>
</table>
</td>
<td width="2%" align="right" valign="top">
<table border="0" bgcolor="{arrows_td_backcolor}"
cellspacing="0" cellpadding="0">
<tr>
<td align="right">
{last_page}
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END B_arrows_form_table -->
<!-- Lame Seperator -->
<!-- BEGIN B_stats_layout2 -->
<table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"
style="padding-bottom: 1px;">
<tr bgcolor="{stats_backcolor}" class="{stats_backcolor_class}">
<td align="center" class="{stats_color_class}">
<font face="{stats_font}" size="{stats_foldername_size}"
color="{stats_color}">
<strong>{stats_folder}</strong>
</font>
</td>
<td align="center" class="{stats_color_class}">
<font face="{stats_font}" size="{stats_font_size}"
color="{stats_color}">
{stats_new} {lang_new}
</font>
</td>
<td align="center" class="{stats_color_class}">
<font face="{stats_font}" size="{stats_font_size}"
color="{stats_color}">
{stats_saved} {lang_total}
</font>
</td>
{form_get_size_opentag}
<td align="center" class="{stats_color_class}">
<font face="{stats_font}" size="{stats_font_size}"
color="{stats_color}">
{stats_size_or_button} {lang_size}
</font>
</td>
{form_get_size_closetag}
<td align="center" class="{stats_color_class}">
<font face="{stats_font}" size="{stats_font_size}"
color="{stats_color}">
{stats_first} {stats_to_txt} {stats_last}
</font>
</td>
</tr>
</table>
<!-- END B_stats_layout2 -->
<!-- Lame Seperator -->
<!-- BEGIN B_stats_layout1 -->
<table border="0" cellpadding="1" cellspacing="1" width="100%" align="center">
<tr class="{stats_backcolor_class}">
<td bgcolor="{stats_backcolor}">
<table border="0" cellpadding="0" cellspacing="1" width="100%">
<tr>
{form_get_size_opentag}
<td class="{stats_color_class}">
<font face="{stats_font}"
size="{stats_foldername_size}" color="{stats_color}">
<strong>{stats_folder}</strong>
</font>
<br>
<font face="{stats_font}"
size="{stats_font_size}" color="{stats_color}">
{stats_new} : {lang_new2}<br>
{stats_saved} : {lang_total2}<br>
{stats_size_or_button} {lang_size2}
</font>
</td>
{form_get_size_closetag}
<td align="right">
<table border="0" cellpadding="0"
cellspacing="0">
<tr>
{form_folder_switch_opentag}
<td>
<font face="{stats_font}"
size="{stats_font_size}">
{folder_switch_combobox}
</font>
</td>
<td>
<font face="{stats_font}"
size="{stats_font_size}">
{folders_btn}
</font>
</td>
{form_folder_switch_closetag}
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END B_stats_layout1 -->
<!-- Lame Seperator -->
<!-- BEGIN B_mlist_block -->
<tr bgcolor="{mlist_backcolor}" class="{mlist_backcolor_class}">
<td align="center">
<!-- INIT FORM ONCE -->{V_mlist_form_init}
<input type="checkbox" name="delmov_list[]"
value="{mlist_msg_num}">
</td>
<td align="center">
{mlist_attach}
</td>
<td align="left">
{open_newbold}<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_from} {mlist_from_extra}</font>{close_newbold}
</td>
<td align="left">
{open_newbold}<font size="{mlist_font_size}"
face="{mlist_font}"><a
href="{mlist_subject_link}">{mlist_subject}</a></font>{close_newbold}
</td>
<td align="center">
<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_date}</font>
</td>
<td align="center">
<font size="{mlist_font_size_sm}"
face="{mlist_font}">{mlist_size}</font>
</td>
</tr>
<!-- END B_mlist_block -->
<!-- Lame Seperator -->
<!-- BEGIN B_mlist_submit_form -->
<p>
<FORM action="{mlist_submit_form_action}" method="post">
{mlist_hidden_vars}
Pass off to mlist class
<input type="submit" name="submit" value="Submit to mlist">
to navigate all results.
</form>
</p>
<!-- END B_mlist_submit_form -->
<!-- end index_plocks.tpl -->
====================================================
Index: index_main_b0_l1.OLD.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>
<!-- BEGIN B_action_report -->
<table border="0" cellpadding="0" cellspacing="0" width="95%" align="center">
<tr>
<td colspan="7" align="center">
<font face="{stats_font}"
size="{stats_font_size}">{report_this}</font>
</td>
</tr>
</table>
<!-- END B_action_report -->
<table border="0" cellpadding="1" cellspacing="1" width="95%" align="center">
<tr bgcolor="{arrows_backcolor}" align="center">
<td> </td>
{prev_arrows}
<td> </td>
{next_arrows}
<td> </td>
</tr>
</table>
<table border="0" cellpadding="1" cellspacing="1" width="95%" align="center">
<tr>
<td colspan="6" bgcolor="{stats_backcolor}">
<table border="0" cellpadding="0" cellspacing="1" width="100%">
<tr>
<td>
<font face="{stats_font}"
size="{stats_foldername_size}" color="{stats_color}">
<strong>{stats_folder}</strong>
</font>
<br>
<font face="{stats_font}"
size="{stats_font_size}" color="{stats_color}">
{stats_new} : {lang_new2}<br>
{stats_saved} : {lang_total2}
<!-- BEGIN B_show_size -->
<br> {stats_size_or_button} : {lang_size2}
<!-- END B_show_size -->
</font>
</td>
<td align="right">
<table border="0" cellpadding="0"
cellspacing="0">
<tr>
<form name="{switchbox_frm_name}"
action="{switchbox_action}" method="post">
<td>
<font face="{stats_font}"
size="{stats_font_size}">
{switchbox_listbox}
</font>
</td>
<td>
<font face="{stats_font}"
size="{stats_font_size}">
{folders_btn}
</font>
</td>
</form>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="3" cellspacing="1" width="95%" align="center">
<tr>
<td bgcolor="{hdr_backcolor}" width="3%" align="center">
</td>
<td bgcolor="{hdr_backcolor}" width="2%">
</td>
<td bgcolor="{hdr_backcolor}" width="34%">
<font size="{hdr_font_size}" face="{hdr_font}">
<b>{hdr_subject}</b>
</font>
</td>
<td bgcolor="{hdr_backcolor}" width="23%">
<font size="{hdr_font_size}" face="{hdr_font}">
<b>{hdr_from}</b>
</font>
</td>
<td bgcolor="{hdr_backcolor}" width="12%">
<font size="{hdr_font_size}" face="{hdr_font}">
<b>{hdr_date}</b>
</font>
</td>
<td bgcolor="{hdr_backcolor}" width="4%">
<font size="{hdr_font_size}" face="{hdr_font}">
<b>{hdr_size}</b>
</font>
</td>
</tr>
<!-- BEGIN B_no_messages -->
<tr>
<td bgcolor="{mlist_backcolor}" 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}
<font size="2" face="{mlist_font}">{report_no_msgs}</font>
</td>
</tr>
<!-- END B_no_messages -->
<!--- LAME BLOCK SEP -->
<!-- BEGIN B_msg_list -->
<tr>
<td bgcolor="{mlist_backcolor}" align="center">
<!-- INIT FORM ONCE -->{V_mlist_form_init}
<input type="checkbox" name="delmov_list[]"
value="{mlist_embedded_uri}">
</td>
<td bgcolor="{mlist_backcolor}" align="center">
<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_new_msg}{mlist_attach}</font>
</td>
<td bgcolor="{mlist_backcolor}">
<font size="{mlist_font_size}" face="{mlist_font}"><a
href="{mlist_subject_link}">{mlist_subject}</a></font>
</td>
<td bgcolor="{mlist_backcolor}">
<font size="{mlist_font_size}" face="{mlist_font}"><a
href="{mlist_reply_link}">{mlist_from}</a> {mlist_from_extra}</font>
</td>
<td bgcolor="{mlist_backcolor}" align="center">
<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_date}</font>
</td>
<td bgcolor="{mlist_backcolor}" align="center">
<font size="{mlist_font_size_sm}"
face="{mlist_font}">{mlist_size}</font>
</td>
</tr>
<!-- END B_msg_list -->
<tr>
<td bgcolor="{ftr_backcolor}" align="center">
<a href="javascript:check_all()">
<img src="{app_images}/check.gif" border="0" height="16"
width="21"></a>
</td>
<td bgcolor="{ftr_backcolor}" colspan="5">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<input type="button" value="{delmov_button}"
onClick="do_action('delall')">
<font face="{stats_font}"
size="{stats_font_size}">
<a
href="{compose_link}">{compose_txt}</a>
<!-- BEGIN B_get_size -->
<a
href="{get_size_link}">{lang_get_size}</a>
<!-- END B_get_size -->
</font>
</td>
<td align="right">
{delmov_listbox}
</td>
</form>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table border="0" align="center" width="95%">
<tr>
<td align="left">
<font
color="{mlist_newmsg_color}">{mlist_newmsg_char}</font> {mlist_newmsg_txt}
</td>
</tr>
</table>
<!-- end email_index.tpl -->
====================================================
Index: addressbook-js.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="CONTENT-TYPE"
content="text/html; charset={charset}">
<title>{title}</title>
<STYLE TYPE="text/css">
SELECT { font-size: {widget_font_size};}
INPUT{ font-size: {widget_font_size};}
TEXTAREA { font-size: {widget_font_size};}
body { margin-top: 0px; margin-right: 0px; margin-left: 0px;
font-family: "Arial", Helvetica, sans-serif; }
#wait { visibility:hidden;}
</STYLE>
<script src="{include_link}">
</script>
<script language="javascript">
var savedestboxes;
var backtobox;
var closewhenfinished;
var forget_after;
var submittheform;
var hidetoselect;
var hideccselect;
var hidebccselect;
var fetch_udata;
var toparser;
var ccparser;
var bccparser;
var forget;
var clicked_destination;
//Global variables to know if we neednt work on a given destination box
//since the php framwork wants it hidden
window.hidetoselect={hidetoselectjs};
window.hideccselect={hideccselectjs};
window.hidebccselect={hidebccselectjs};
//Dummy
window.event_destboxes_saved=event_destboxes_saved;
//@function event_userdata_got
//@discussion called by the frameset upon receiving a call fromt he
secondary frame telling it
//the userdata is here.....we get it from the frameset and act
accordingly
//unhiding the textarea userdata box and seting its proper width and
heigth
function event_userdata_got()
{
document.forms["{main_form_name}"].elements['userdata'].value=unescape(window.parent.userdata);
document.forms["{main_form_name}"].elements['userdata'].rows=window.parent.userdata_rows;
document.forms["{main_form_name}"].elements['userdata'].cols=window.parent.userdata_cols;
hider('wait',1);
hider('udata',0);
}
//@function event_all_forgoten
//@discussion Well...upon knowing we have forgoten everything we
execute this code
//Which checks out if some event wants us to close ourselves....if so
is the case, we do it
function event_all_forgoten()
{
if(window.closewhenfinished==1)
{
window.parent.close();
}
hider('wait',1);
}
//@function event_destboxes_saved
//@discussion Okay, the destinationbox data we sent in the
save_destination_boxes trigger have been saved
//This function lets us decide what we want to do when we are told that
the data was saved, and that new email
//data is here.
//If an event wants us to copy all the destination box data back to the
compose textboxes, we do it
//If an event wants u to die after that, we do so
//If an event wants the form submited to the phpn backend now, we do it
as well (category select does this)
//If an event wants us to remove the selected options in the
destination boxes, we gladly comply
function event_destboxes_saved()
{
//alert("The destination boxes have been saved");
window.hidetoselect={hidetoselectjs};
window.hideccselect={hideccselectjs};
window.hidebccselect={hidebccselectjs};
mover.sortSelect('nameselect[]');
if(window.backtobox==1)
{
window.all_to_dest();
}
if(window.closewhenfinished==1)
{
window.parent.close();
}
if(window.remove_selections==1)
{
if(window.hidetoselect==0 &&
window.remove_selections==1)
{
mover.update_emails(window.parent.toselectbox_email,window.parent.toselectbox_keys);
mover.removeSelectedFromParser('toselectbox[]',window.toparser);
mover.moveSelectedOptions('toselectbox[]','nameselect[]');
}
if(window.hidebccselect==0 &&
window.remove_selections==1)
{
mover.update_emails(window.parent.bccselectbox_email,window.parent.bccselectbox_keys);
mover.removeSelectedFromParser('bccselectbox[]',window.bccparser);
mover.moveSelectedOptions('bccselectbox[]','nameselect[]');
}
if(window.hideccselect==0 &&
window.remove_selections==1)
{
mover.update_emails(window.parent.ccselectbox_email,window.parent.ccselectbox_keys);
mover.removeSelectedFromParser('ccselectbox[]',window.ccparser);
mover.moveSelectedOptions('ccselectbox[]','nameselect[]');
}
window.savedestboxes=1;
window.remove_selections=0;
hider('wait',1);
}
if(window.submittheform==1)
{
document.forms["{main_form_name}"].submit();
}
window.submittheform=0;
window.backtobox=0;
}
//@function all_to_dest
//@abstract NOT AN EVENT HANDLER
//@discussion This function syncronizes the data in the destination
boxes to the
//destination textboxes in the compose window. It does it very smartly
by using
//parsers which are array represented comma separated lists. So, in
this case,
//This function uses the selectToParser function which makes shure we
dont repeat
//the same address in the destination box. Of course, it expects that
all emails
//addresses for the destination boxes are here. That is why we only
call this function
//after a save_destboxes event
function all_to_dest()
{
window.hidetoselect={hidetoselectjs};
window.hideccselect={hideccselectjs};
window.hidebccselect={hidebccselectjs};
if(window.hidetoselect==0)
{
mover.selectToParser('toselectbox[]',window.parent.toselectbox_keys
,window.parent.toselectbox_name
,window.parent.toselectbox_email
,window.toparser);
mover.stringToTextbox(window.toparser.parse_out(),window.parent.opener.document.doit.to);
}
if(window.hidebccselect==0)
{
mover.selectToParser('bccselectbox[]',window.parent.bccselectbox_keys
,window.parent.bccselectbox_name
,window.parent.bccselectbox_email
,window.bccparser);
mover.stringToTextbox(window.bccparser.parse_out(),window.parent.opener.document.doit.bcc);
}
if(window.hideccselect==0)
{
mover.selectToParser('ccselectbox[]',window.parent.ccselectbox_keys
,window.parent.ccselectbox_name
,window.parent.ccselectbox_email
,window.ccparser);
mover.stringToTextbox(window.ccparser.parse_out(),window.parent.opener.document.doit.cc);
}
}
//@function trigger_save_destboxes
//@abstract A trigger to tell this thing to go save the destboxes data
//@discussion triggers are functions that really go and
//tell the frameset to move its ass and tell the secondary frame
//to do something for us. This trigger um...triggers the save_destboxes
//event which will save all data in the destination boxes in the bo
class
//of the phpgw backend. It previously converts all destination boxes
//to GET type http vars and looks if it has to flag the backend to
//completely purge a destination box (if its empty)
function trigger_save_destboxes()
{
var str;
window.hidetoselect={hidetoselectjs};
window.hideccselect={hideccselectjs};
window.hidebccselect={hidebccselectjs};
if(window.hidetoselect==0)
{
str=mover.option2get('toselectbox[]');
if(mover.getSize('toselectbox[]')< 1)
{
str=str+"&deleted[toselectbox]=true";
}
}
if(window.hideccselect==0)
{
str=str+mover.option2get('ccselectbox[]');
if(mover.getSize('ccselectbox[]')< 1)
{
str=str+"&deleted[ccselectbox]=true";
}
}
if(window.hidebccselect==0)
{
str=str+mover.option2get('bccselectbox[]');
if(mover.getSize('bccselectbox[]')< 1)
{
str=str+"&deleted[bccselectbox]=true";
}
}
if((window.closewhenfinished==1) && (window.forget_after==1))
{
str=str+"&forget_after=1";
}
window.parent.set_destboxes(str);
}
//@function trigger_forget
//@abstract triggers the forget_destboxes event
//@discussion WARNING
//This event is badly named in the parent window. Should be named
forget_all
//Im not touching it cause it works, but well whatever...
//By now you should know what this does. For the sake of the mentally
chalenged
//i will repeat: This calls the forget_destboxes event on the partent
frameset
//which will direct the secondary frame to the forget_all method on the
uijsaddressbook class
//in turn, that class will output an onLoad event for the body of the
page it generates
//which will call window.parent.destboxes_forgoten...that, in turn,
calls the event_all_forgoten
//which is declared and explained up there ^ .. u see? ....More Up
THERE...there
function trigger_forget()
{
window.parent.forget_destboxes();
}
//@function go_triggers
//@abstract Machine gun... will call all triggers flagged to GO!
//@discussion
//Okay now, lets go through this again:
//This file declares some nasty global variables.
//Understand that all of them are flags. They tell this functions, and
the events above
//which other functions to call. This function is called by anything in
this file that
//needs data updated, like when you remove elements from the destboxes,
we need to know
//the emails of the destinataries so that we can also remove them from
the parsers which
//actually will end up being the string we insert in the compose
destination boxes. So the onCLick
//event of the remove button, sets savedestboxes to 1, and
removeselections also to 1 and calls
//this go_triggers function. Thisone then, necesarily calls
trigger_save_destboxes
//Whcih will transform all the select boxes into GET vars and tell the
frameset to
//send that to the php backend through the secondary frame. The
corresponding funciton
//in the php backend will output the emails arrays which have whatever
data we dont have
//here in the emails hidden fields (which ONLY get generated when the
form in this frame is submited)
//Finaly, the event_saved_destboxes will be called and it will se what
it needs to do upon such
//notification. It checks the flags and finds that it also should
remove the selected options
//on the destination checkboxes. "Okay", it says, and calls all those
mover.update_email function and
//mover.removeSelectedFromParser functions that actually reflect what
you are removing in the resulting
//emails string that will go into the compose's destination textboxes
(bear with me...this are the parsers)..
//Now, obviously, this could get ugly if say, saveddestboxes is on, and
fetch_udata is on too...
//Well, thats something we leave for the caller to be carefull of.
function go_triggers()
{
if(window.savedestboxes==1)
{
window.trigger_save_destboxes();
}
if(window.fetch_udata)
{
var selidx;
window.parent.get_user_data(fetch_udata);
window.fetch_udata=false;
}
if(window.forget==1)
{
window.trigger_forget();
}
hider("wait",0);
}
</script>
</head>
<body onload="//The onload function initializes the autoselect framework
setUpVisual('{main_form_name}','nameselect[]','searchautocomplete');
//Makes shure that, if there is a value in the autocomplete
textbox,
//the nameselectbox reflects this (thats what bldUpdate does
after youve
//initialized obj1 with setUpVisual
obj1.bldUpdate();
//Sorts the main selectbox
mover.sortSelect('nameselect[]');
//This function also takes whatever is in the destination
textboxes
//of the compose window (if u guys change the names of them ill
kill u)
//and creates parsers for all of them. Parsers are cool cause
they
//make an array that has an email address per comma separated
value
//in the sourcer strings... so this allows us to do funcky suff
like bellow
window.toparser=new
box_parser(window.parent.opener.document.doit.to.value);
window.ccparser=new
box_parser(window.parent.opener.document.doit.cc.value);
window.bccparser=new
box_parser(window.parent.opener.document.doit.bcc.value);
if(window.parent.mainfirsttimeflag==1)//first time loaded
{
//If its our first time here
//Which means the firsttime flag in the frameset is set
to 1,
//we also try and sync whatever is in the destination
boxes with what
//we have in the parser.... this allows us for stuff
like:
//Uopen the addressbook, select some destinataries in
the to box, click done
//change your mind, delete by hand a destinatary in the
textbox
//click addressbook again...and its gone from the
corresponding selectbox as well..
//cool? ... well i think so
mover.update_emails(window.parent.toselectbox_email,window.parent.toselectbox_keys);
if(window.hidetoselect != 1)
{
mover.removeParsedFromSelect('toselectbox[]',window.toparser);
}
if(window.hidebccselect != 1)
{
mover.removeParsedFromSelect('bccselectbox[]',window.bccparser);
}
if(window.hideccselect != 1)
{
mover.removeParsedFromSelect('ccselectbox[]',window.ccparser);
}
window.parent.mainfirsttimeflag=0;
window.savedestboxes=1;
mover.selectOptionOfValue('cat_id',{selected_cat_value});
}
hider('wait',1);
" >
<table style="width: {optimal_width}px;" cellpadding="0" border="1"
cellspacing="0">
<thead>
<tr>
<td valign="top" align="center" bgcolor="#336699" style="width: 30%;">
<font size="-1" face="Helvetica, Arial, sans-serif"
color="#ffffff">
{first_column_label}
</font>
<font color="#ffffff">
<br>
</font>
</td>
<td valign="top" align="center" bgcolor="#336699" style="width:
30%">
<div align="center">
<font face="Helvetica, Arial, sans-serif"
size="-1" color="#ffffff">
{second_column_label}
</font>
<font style="color:#ffffff; font-weight:bold;">
<br>
{selected_cat_name}
</font>
</div>
<font color="#ffffff">
<br>
</font>
</td>
<td valign="top" style="text-align: center; background-color:
rgb(51, 102, 153);" rowspan="1" colspan="3">
<div align="center"><font face="Helvetica, Arial, sans-serif"
size="-1" color="#ffffff">
{third_column_label}
</font>
<font color="#ffffff">
<br>
</font>
</div>
</td>
</tr>
<tr bgcolor="#cccccc">
<td colspan="5" valign="middle">
<div ID="wait">
<center>
<font style="font-weight=bold;
font-family=Helvetica,Arial,sans-serif">
Please Wait!
</font>
</div>
</center>
</td>
</tr>
<tr>
<form name="{main_form_name}" action="{main_form_action}" method="POST"
onSubmit="
">
<td rowspan="1" style="width: 30%" valign="top" align="center"
bgcolor="#cccccc">
<select name="cat_id" size="30" onChange="//A cat_id selection makes
us submit the whole form
//We could make an event for
this
window.savedestboxes=1;
window.submittheform=1;
window.go_triggers(); ">
{cats_list}
<option value="-2">All (can be very slow)</option>
<option value="-3">Personal</option>
</select>
</td>
<td colspan="1" style="width: 30%" valign="top" rowspan="1"
bgcolor="#cccccc">
<table style="width:100%">
<tbody>
<tr>
<td style="width:50%">
<input type="text" size="15" name="searchbox"
value="{searchbox_value}">
</td>
<td style="width:50%">
<select name="querycommand" onChange="
//Get what was
selected
var selidx;
selidx=mover.getSelectedIdx('querycommand');
//If it was a
goquery command
if(this.form.elements['querycommand'][selidx].value
== 'cleanquery')
{
//Clean the
searchbox and proceed to submit
this.form.searchbox.value='';
}
selidx=mover.getSelectedIdx('cat_id');
if(selidx == -1)
{
//If no
category is selected, user wants to search through the whole thing
//which is the
option of value -2 in the cat_id selectbox (hardcoded, look
//down there)
mover.selectOptionOfValue('cat_id',-2);
}
window.savedestboxes=1;
window.submittheform=1;
window.go_triggers();">
<option value="selectquery"
selected>{select_query_command} </option>
<option value="goquery">{go_query_command} </option>
<option value="cleanquery">{clear_query_command}
</option>
</select>
</td>
</tr>
</tbody>
</table>
<table style="width:100%">
<tbody>
<tr>
<td style="width:50%">
<input type="text" name="searchautocomplete"
value="{search_ac_value}" size="15" onkeyup="
javascript:
//We only care if
//a key was hit
//so we can update
///the nameselectbox
//to autolimit itself
//to what it should
obj1.bldUpdate();
">
</td>
<td style="width:50%;align:left;">
<select name="filter" onChange="
//Get what was selected
var selidx;
selidx=mover.getSelectedIdx('filter');
if(
(this.form.elements['filter'][selidx].value=='user_only') ||
(this.form.elements['filter'][selidx].value=='private'))
{
//This query is
over all categories
//if you want
to see private or owner=you entries
mover.selectOptionOfValue('cat_id',-2);
}
window.savedestboxes=1;
window.submittheform=1;
window.go_triggers();">
{hide_directory_option_open}
<option value="directory" {directory_is_selected}> System
</option>
{hide_directory_option_close}
<option value="none" {global_is_selected}> Global </option>
<option value="user_only" {mine_is_selected}> Mine </option>
<option value="private" {private_is_selected}> Private
</option>
</select>
</td>
</tr>
</tbody>
</table>
<br>
<select name="nameselect[]" size="15" multiple="multiple" onChange="
var selidx;
//Im not crazy...all this is necesary. If we hit an option in the
selectbox
//...one and only one, we need to see if the view more data checkbox is
on
//in which case, we unselect all other boxes to avoid confusion for the
user
//and we trigger a get_userdata event....by setting the
window.fetch_udata flag
//and calling go_triggers
selidx=mover.getSelectedIdx('nameselect[]');
if(mover.numberSelectedOptions('nameselect[]') == 1)
{
if(this.form.viewmore.checked==1)
{
selidx=mover.getSelectedIdx('nameselect[]');
window.fetch_udata='&nameselect='+this.form.elements['nameselect[]'][selidx].value;
if(window.hideccselect!=1)
{
mover.unselectAll('ccselectbox[]');
}
if(window.hidetoselect!=1)
{
mover.unselectAll('toselectbox[]');
}
if(window.hidebccselect!=1)
{
mover.unselectAll('bccselectbox[]');
}
window.go_triggers();
}
}
">
<!-- BEGIN addressbook_names -->
<option value="{name_option_value}"
{name_option_selected}>{name_option_name}</option>
<!-- END addressbook_names -->
</select>
{V_hidden_emails_list}
<table style="width:100%">
<tbody>
<tr>
<td style="width:100%">
<font face="Helvetica, Arial, san-serif" size="-1"
style="font-size:{widget_font_size};">
More Data </font>
<input type="checkbox" name="viewmore"
{viewmore_checked} onClick="
//If u click the viewmore checkbox, it checks
what is selected in the
//nameselect selectbox. If only one value is
selected, it fetches that user
//and unselects every other selection in the
rest of the selectboxes
//If its not in the name select box (u have
more than one selected there
//or none, it will set the fetch_udata flag to
whatever is in the
//window.clicked_destination var. This var was
set when u clicked a single
//option in any of the destination boxes.
//In the end, if it needs to (something was
selected somwewhere) it calls go_triggers
javascript:
var selidx;
selidx=mover.getSelectedIdx('nameselect[]');
if(this.form.elements['nameselect[]'][selidx])
{
window.fetch_udata='&nameselect='+this.form.elements['nameselect[]'][selidx].value;
if(window.hideccselect != 1)
{
mover.unselectAll('ccselectbox[]');
}
if(window.hidetoselect != 1)
{
mover.unselectAll('toselectbox[]');
}
if(window.hidebccselect != 1)
{
mover.unselectAll('bccselectbox[]');
}
}
else
{
window.fetch_udata=window.clicked_destination;
}
if(this.form.viewmore.checked)
{
if(window.fetch_udata)
{
window.go_triggers();
}
}
else
{
hider('udata',1);
}
return true;
">
</td>
<td style="width:100%">
<tr valign="middle" align="center">
<td valign="top" style="width:100%;"
colspan="3" rowspan="4"align="center" bgcolor="#cccccc">
<!-- This is allways dinamically set! -->
<textarea id="udata" name="userdata" wrap="off">
</textarea>
</td>
</td>
</tr>
</table>
<td rowspan="1" style="width:48" valign="top" align="center"
bgcolor="#cccccc">
{hideto_open}
<br>
<br>
<p>
<input type="button" name="tobutton"
value="{to_button_value} :" onClick="
javascript:
//See? this is
cool, for every button we hit
//to move
something to the destination boxes, we flag
//that the data
should be updated, but we dont actually call
//go_triggers
cause we dont need to yet.
//We do that
only when we really need to commuicate to the backend
//like when we
click done or remove (which respectively need
//to save the
destination boxes content in cache or get fresh
//email data
from them)
mover.moveSelectedOptions('nameselect[]','toselectbox[]');window.savedestboxes=1;
">
</p>
<br>
<br>
{hideto_close}
{hidecc_open}
<br>
<br>
<p>
<input type="button" name="ccbutton"
value="{cc_button_value} :"
onClick="javascript:mover.moveSelectedOptions('nameselect[]','ccselectbox[]');window.savedestboxes=1;
">
</p>
<br>
{hidecc_close}
{hidebcc_open}
<br>
<br>
<br>
<p>
<input type="button" name="bccbutton"
value="{bcc_button_value}:"
onClick="javascript:mover.moveSelectedOptions('nameselect[]','bccselectbox[]');window.savedestboxes=1;">
</p>
<br>
{hidebcc_close}
<br>
<hr>
<p>
<input type="button" name="nonebutton"
value="{none_button_value}" onClick="javascript:
window.hidetoselect={hidetoselectjs};
window.hideccselect={hideccselectjs};
window.hidebccselect={hidebccselectjs};
if(window.hidetoselect==0)
{
mover.selectAll('toselectbox[]');
}
if(window.hideccselect==0)
{
mover.selectAll('ccselectbox[]');
}
if(window.hidebccselect==0)
{
mover.selectAll('bccselectbox[]');
}
window.remove_selections=1;
window.savedestboxes=1;
window.go_triggers();">
</p>
<p>
<br>
</p>
</td>
<td rowspan="1" style="width:30%" align="center" valign="top"
colspan="1" bgcolor="#cccccc">
{hideto_open}
<p>
<select name="toselectbox[]" size="6"
multiple="multiple" onChange="javascript:
var selidx;
selidx=mover.getSelectedIdx('toselectbox[]');
if(mover.numberSelectedOptions('toselectbox[]') == 1)
{
selidx=mover.getSelectedIdx('toselectbox[]');
if(this.form.viewmore.checked==1)
{
selidx=mover.getSelectedIdx('toselectbox[]');
window.fetch_udata='&nameselect='+this.form.elements['toselectbox[]'][selidx].value;
if(window.hideccselect != 1)
{
mover.unselectAll('ccselectbox[]');
}
//
mover.unselectAll('toselectbox[]');
if(window.hidebccselect!=1)
{
mover.unselectAll('bccselectbox[]');
}
mover.unselectAll('nameselect[]');
window.go_triggers();
}
window.clicked_destination='&nameselect='+this.form.elements['toselectbox[]'][selidx].value;
}
"
>
{V_toselectbox}
</select>
</p>
{hideto_close}
{hidecc_open}
<p>
<select name="ccselectbox[]" size="6"
multiple="multiple" onChange="javascript:
var selidx;
selidx=mover.getSelectedIdx('ccselectbox[]');
if(mover.numberSelectedOptions('ccselectbox[]') == 1)
{
selidx=mover.getSelectedIdx('ccselectbox[]');
if(this.form.viewmore.checked==1)
{
window.fetch_udata='&nameselect='+this.form.elements['ccselectbox[]'][selidx].value;
//
mover.unselectAll('ccselectbox[]');
if(window.hidetoselect!=1)
{
mover.unselectAll('toselectbox[]');
}
if(window.hidebccselect!=1)
{
mover.unselectAll('bccselectbox[]');
}
mover.unselectAll('nameselect[]');
window.go_triggers();
}
window.clicked_destination='&nameselect='+this.form.elements['ccselectbox[]'][selidx].value;
}"
>
{V_ccselectbox}
</select>
<br>
</p>
{hidecc_close}
{hidebcc_open}
<p style="margin-bottom: 0cm;">
<select name="bccselectbox[]" size="6"
multiple="multiple" onChange="javascript:
if(this.form.viewmore.checked)
{
var selidx;
selidx=mover.getSelectedIdx('bccselectbox[]');
if(mover.numberSelectedOptions('bccselectbox[]') == 1)
{
selidx=mover.getSelectedIdx('bccselectbox[]');
if(this.form.viewmore.checked==1)
{
window.fetch_udata='&nameselect='+this.form.elements['bccselectbox[]'][selidx].value;
if(window.hideccselect!=1)
{
mover.unselectAll('ccselectbox[]');
}
if(window.hidetoselect!=1)
{
mover.unselectAll('toselectbox[]');
}
//
mover.unselectAll('bccselectbox[]');
mover.unselectAll('nameselect[]');
window.go_triggers();
}
window.clicked_destination='&nameselect='+this.form.elements['bccselectbox[]'][selidx].value;
}
}"
>
{V_bccselectbox}
</select>
</p>
{hidebcc_close}
<p>
<table cellspacing="3">
<tr>
<td valign="left">
<input type="button" name="removeselectedbutton"
value="{remove_button_value}" onClick="javascript:
window.remove_selections=1;
window.savedestboxes=1;
window.go_triggers();">
</td>
<td>
</td>
<td valign="right">
<input type="button" name="cancel"
value="{cancel_button_value}" onClick="javascript:
window.closewhenfinished=1;
window.forget=1;
window.go_triggers();">
</td>
</tr>
<tr>
<td>
</td>
<td colspan="1" valign="left">
<p>
<br>
<input type="button" name="done" value="{done_button_value}"
onClick="javascript:
///last documentation
on event flags
//savedestboxes = 1 ...
gotriggers will go and save the destboxes data
//backtobox =1 event
savedestboxes will update the destination boxes
// when
the savedestboxes event triggers that fromt he
//
secondary frame
//forget_after =1 The
GET string for the save destboxes event
// will be
poisoned with a forget_after GET var
// the
framework will understand and delete everything from
// its
cache upon serving the last save_destboxes
//fetch_udata = false
Ensures that the go_triggers will not
// call
upon the secondary frame to fetch user data
window.savedestboxes=1;
window.backtobox=1;
window.closewhenfinished=1;
window.forget_after=0;
window.fetch_udata=false;
window.go_triggers();
">
</p>
</td>
</tr>
</table>
<br>
<br>
</td>
</tr>
</thead>
</form>
</table>
<br>
</body>
</html>
====================================================
Index: addressbook.tpl
<!-- $Id: addressbook.tpl,v 1.1 2005/01/12 15:12:07 fipsfuchs Exp $ -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML LANG="en">
<head>
<title>{title}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}">
<STYLE type="text/css">
A {text-decoration:none;}
<!--
A:link {text-decoration:none;}
A:visted {text-decoration:none;}
A:active {text-decoration:none;}
body {margin-top: 0px; margin-right: 0px; margin-left: 0px;}
td {text-decoration:none;}
tr {text-decoration:none;}
table {text-decoration:none;}
center {text-decoration:none;}
-->
</STYLE>
<script type="text/javascript">
function ExchangeTo(thisform)
{
if (opener.document.doit.to.value =='')
{
opener.document.doit.to.value =
thisform.elements[0].value;
}
else
{
opener.document.doit.to.value
+=","+thisform.elements[0].value;
}
}
function ExchangeCc(thisform)
{
if (opener.document.doit.cc.value=='')
{
opener.document.doit.cc.value=thisform.elements[0].value;
}
else
{
opener.document.doit.cc.value+=","+thisform.elements[0].value;
}
}
function ExchangeBcc(thisform)
{
if (opener.document.doit.bcc.value=='')
{
opener.document.doit.bcc.value=thisform.elements[0].value;
}
else
{
opener.document.doit.bcc.value+=","+thisform.elements[0].value;
}
}
</script>
</head>
<body bgcolor="{bg_color}">
<center>
<p>
<font face="{font}"><b>{lang_addressbook_action}</b></font>
<br>
<hr noshade width="98%" align="center" size="1">
<table border="0" width="100%">
<tr>
<td width="33%" align="left">
<form action="{cats_action}" name="form" method="POST">
<select name="cat_id"
onChange="this.form.submit();"><option
value="">{lang_select_cats}</option>{cats_list}</select>
<noscript> <input type="submit" name="submit"
value="{lang_submit}"></noscript>
</form>
</td>
<td width="33%" align="center">
{lang_showing}
</td>
<td width="33%" align="right">
<form method="POST" action="{search_action}">
<table>
<tr>
<td>
<input type="text" name="query">
</td>
<td>
<select name="filter" onChange="this.form.submit();">
{filter_list}
<option value="" >Select Filter</option>
<option value="private">Private</option>
<option value="none">All</option>
<option value="user_only">Only yours
</option></td>
</tr>
<tr>
<td colspan="3">
<center><input type="submit" name="search"
value="{lang_search}"></center>
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td colspan="4">
<table border="0" width="100%">
<tr>
{left}
<td>
</td>
{right}
</tr>
</table>
</td>
</tr>
</table>
<table border="0" width="100%" cellpadding="2" cellspacing="2">
<tr bgcolor="{th_bg}">
<td width="25%" bgcolor="{th_bg}" align="center">
<font face="{font}">{sort_firstname}</font>
</td>
<td width="15%" bgcolor="{th_bg}" align="center">
<font face="{font}">{sort_lastname}</font>
</td>
<td width="15%" bgcolor="{th_bg}" align="center">
<font face="{font}">{sort_company}</font>
</td>
<td width="25%" bgcolor="{th_bg}" align="center">
<font face="{font}">{lang_email}</font>
</td>
<td width="25%" bgcolor="{th_bg}" align="center">
<font face="{font}">{lang_hemail}</font>
</td>
</tr>
<!-- BEGIN addressbook_list -->
<tr bgcolor="{tr_color}">
<td>
<font face="{font}">{firstname}</font>
</td>
<td>
<font face="{font}">{lastname}</font>
</td>
<td>
<font face="{font}">{company}</font>
</td>
<form>
<td width="20%" align="center">
<font face="{font}" size="1">
<input type="text" size="20" name="email"
value="{email}">
<br>
<input type="button" size="25" name="button" value="To"
onClick="ExchangeTo(this.form);">
<input type="button" size="25" name="button" value="Cc"
onClick="ExchangeCc(this.form);">
<input type="button" size="25" name="button"
value="Bcc" onClick="ExchangeBcc(this.form);">
</font>
</td>
</form>
<form>
<td align="center">
<font face="{font}" size="1">
<input type="text" size="25" name="hemail"
value="{hemail}">
<br>
<input type="button" size="25" name="button" value="To"
onClick="ExchangeTo(this.form);">
<input type="button" size="25" name="button" value="Cc"
onClick="ExchangeCc(this.form);">
<input type="button" size="25" name="button"
value="Bcc" onClick="ExchangeBcc(this.form);">
</font>
</td>
</form>
</tr>
<!-- END addressbook_list -->
</table>
<table cellpadding="2" cellspacing="2">
<tr>
<form>
<td>
<font face="{font}">
<input type="button" name="done" value="{lang_done}"
onClick="window.close()">
</font>
</form>
</td>
</tr>
</table>
</center>
</body>
</html>
====================================================
Index: folder.tpl
<!-- begin folder.tpl -->
{widget_toolbar}
<form action="{form_action}" method="post">
<table border="0" cellpadding="1" cellspacing="1" width="100%" align="center">
<tr>
<td colspan="3" bgcolor="{title_backcolor}">
<font size="3" face="{the_font}"
color="{title_textcolor}"><strong>{title_text}<strong></font>
</td>
</tr>
<tr bgcolor="{th_backcolor}" class="th">
<td>
<font size="2"
face="{the_font}"><strong>{label_name_text}</strong></font>
<a href="{view_lnk}">({view_txt})</a>
</td>
<td width="7%" align="right">
<font size="2" face="{the_font}">{label_new_text}</font>
</td>
<td width="7%" align="right">
<font size="2" face="{the_font}">{label_total_text}</font>
</td>
</tr>
<!-- BEGIN B_folder_list -->
<tr bgcolor="{list_backcolor}" class="{list_backcolor_class}">
<td>
<font size="2" face="{the_font}">
<a href="{folder_link}">{folder_name}</a>
</font>
</td>
<td align="right">
<font size="2" face="{the_font}">{msgs_unseen}</font>
</td>
<td align="right">
<font size="2" face="{the_font}">{msgs_total}</font>
</td>
</tr>
<!-- END B_folder_list -->
<tr class="th">
<td colspan="3" align="right" bgcolor="{th_backcolor}">
{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: app_data-C.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="uimessage">
<xsl:apply-templates select="uimessage"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="index"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="uimessage">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<xsl:value-of disable-output-escaping="yes"
select="V_arrows_form_table"/>
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<table border="0" cellpadding="4" cellspacing="1" width="95%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
select="hdr_size"/></small></strong>
</td>
</tr>
</table>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="msg_list_dsp">
<xsl:variable name="mlist_checkbox_name"><xsl:value-of
disable-output-escaping="yes" select="mlist_checkbox_name"/></xsl:variable>
<xsl:variable name="uri"><xsl:value-of
disable-output-escaping="yes" select="uri"/></xsl:variable>
<xsl:variable name="subject_link"><xsl:value-of
disable-output-escaping="yes" select="subject_link"/></xsl:variable>
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<xsl:value-of disable-output-escaping="yes"
select="V_mlist_form_init"/>
<input type="checkbox" name="delmov_list"
value="uri">
</td>
<td align="center">
<xsl:choose>
<xsl:when test="has_attachment">
<xsl:value-of
select="mlist_attach"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen">
<strong>
<xsl:value-of
select="from_name"/>
<xsl:value-of
select="display_address_from"/>
</strong>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
select="from_name"/>
<xsl:value-of
select="display_address_from"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen">
<strong>
<a
href="{$subject_link}"><xsl:value-of select="subject"/></a>
</strong>
</xsl:when>
<xsl:otherwise>
<a
href="{$subject_link}"><xsl:value-of select="subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="msg_date"/>
</td>
<td align="center">
<small><xsl:value-of select="size"/></small>
</td>
</tr>
</xsl:template>
====================================================
Index: app_data-G.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="index">
<xsl:apply-templates select="index"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="generic_out"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="generic_out">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<xsl:variable name="check_image"><xsl:value-of
disable-output-escaping="yes" select="check_image"/></xsl:variable>
<xsl:variable name="ftr_backcolor_class"><xsl:value-of
select="ftr_backcolor_class"/></xsl:variable>
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<xsl:value-of disable-output-escaping="yes"
select="V_arrows_form_table"/>
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<table border="0" cellpadding="4" cellspacing="1" width="100%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
disable-output-escaping="yes" select="hdr_size"/></small></strong>
</td>
</tr>
<form>
<xsl:attribute name="name">
<xsl:value-of select="frm_delmov_name" />
</xsl:attribute>
<xsl:attribute name="action">
<xsl:value-of disable-output-escaping="yes"
select="frm_delmov_action" />
</xsl:attribute>
<xsl:attribute name="method">
<xsl:text>post</xsl:text>
</xsl:attribute>
<input type="hidden" name="what" value="delall" />
<input type="hidden" name="sort" value="{current_sort}" />
<input type="hidden" name="order" value="{current_order}" />
<input type="hidden" name="start" value="{current_start}" />
<xsl:apply-templates select="msg_list_dsp"/>
<tr class="{$ftr_backcolor_class}">
<td>
<a href="javascript:check_all()">
<img src="{$check_image}" border="0"
alt="check"/>
</a>
</td>
<td colspan="2" align="left">
<xsl:value-of disable-output-escaping="yes"
select="delmov_button"/>
</td>
<td colspan="3" align="right">
<xsl:value-of disable-output-escaping="yes"
select="delmov_listbox"/>
</td>
<!-- <xsl:value-of disable-output-escaping="yes"
select="form_closetag"/> -->
</tr>
</form>
</table>
</xsl:template>
<xsl:template match="msg_list_dsp">
<xsl:variable name="mlist_checkbox_name"><xsl:value-of
disable-output-escaping="yes" select="../mlist_checkbox_name"/></xsl:variable>
<xsl:variable name="attach_img"><xsl:value-of
select="../attach_img"/></xsl:variable>
<xsl:variable name="attach_img_alttxt"><xsl:value-of
select="../attach_img_alttxt"/></xsl:variable>
<xsl:variable name="uri"><xsl:value-of
disable-output-escaping="yes" select="uri"/></xsl:variable>
<xsl:variable name="subject_link"><xsl:value-of
disable-output-escaping="yes" select="subject_link"/></xsl:variable>
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<!-- <xsl:value-of
disable-output-escaping="yes" select="V_mlist_form_init"/> -->
<input type="checkbox"
name="{$mlist_checkbox_name}" value="{$uri}"/>
</td>
<td align="center">
<xsl:choose>
<xsl:when test="has_attachment != '0'">
<img src="{$attach_img}"
border="0" alt="{$attach_img_alttxt}"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strong>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen">
<strong>
<a
href="{$subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strong>
</xsl:when>
<xsl:otherwise>
<a
href="{$subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="msg_date"/>
</td>
<td align="center">
<small><xsl:value-of select="size"/></small>
</td>
</tr>
</xsl:template>
====================================================
Index: widget_toolbar.tpl
<!-- begin widget_toolbar.tpl -->
<!-- ==== LAME SEP == == == == -->
<!-- BEGIN B_toolbar_row_one -->
<table border="0" cellpadding="2" cellspacing="0" width="100%" align="center">
<tr bgcolor="{toolbar_row1_bgcolor}" class="{row1_rowcolor_key}">
<td width="16%" valign="middle" align="center">
<font face="{toolbar_font}">
{compose_img_link}
{compose_txt_link}
</font>
</td>
<td width="17%" valign="middle" align="center">
<font face="{toolbar_font}">
{folders_img_link}
{folders_txt_link}
</font>
</td>
<td width="17%" valign="middle" align="center">
<font face="{toolbar_font}">
{search_img_link}
{search_txt_link}
</font>
</td>
<td width="17%" valign="middle" align="center">
<font face="{toolbar_font}">
{filters_img_link}
{filters_txt_link}
</font>
</td>
<td width="17%" valign="middle" align="center">
<font face="{toolbar_font}">
{accounts_img_link}
{accounts_txt_link}
</font>
</td>
<td width="16%" valign="middle" align="center">
<font face="{toolbar_font}">
{settings_img_link}
{settings_txt_link}
</font>
</td>
</tr>
</table>
<!-- END B_toolbar_row_one -->
<!-- ==== LAME SEP == == == == -->
<!-- BEGIN B_toolbar_row_two -->
<table border="0" cellpadding="3" cellspacing="0" width="100%" align="center">
<tr bgcolor="{toolbar_row2_bgcolor}" class="{row2_rowcolor_key}">
{form_folders_cbox_opentag}
<td width="50%" valign="middle" align="left">
<font face="{toolbar_font}">
{folders_combobox}
</font>
</td>
{form_folders_cbox_closetag}
<td width="20">
</td>
{form_acctbox_opentag}
<td width="50%" valign="middle" align="right">
<font face="{toolbar_font}">
{acctbox_combobox}
</font>
</td>
</form>
</tr>
<tr>
<td colspan="4" align="center">
<font face="{toolbar_font}"
size="{report_this_font_size}">
{toolbar_report_msg}
</font>
</td>
</tr>
</table>
<!-- END B_toolbar_row_two -->
<!-- begin widget_toolbar.tpl -->
====================================================
Index: filters_blocks.tpl
<!-- begin file filters_blocks.tpl -->
<!-- === block seperator == -->
<!-- BEGIN B_match_account_box -->
{lang_inbox_for_account}<br>
{account_multi_box}
<!-- END B_match_account_box -->
<!-- === block seperator == -->
<!-- BEGIN B_match_and_or_ignore -->
<select name="{andor_select_name}">
<option value="ignore_me"
{ignore_me_selected}><{lang_ignore_me1}></option>
<option value="or" {or_selected}>{lang_or}</option>
<option value="and" {and_selected}>{lang_and}</option>
</select>
<!-- END B_match_and_or_ignore -->
<!-- === block seperator == -->
<!-- BEGIN B_action_no_ignore -->
<select name="{actionbox_judgement_name}">
<!-- <option value="keep">{lang_keep}</option> -->
<!-- <option value="discard">{lang_discard}</option> -->
<!-- <option value="reject">{lang_reject}</option> -->
<!-- <option value="redirect">{lang_redirect}</option> -->
<option value="fileinto" selected>{lang_fileinto}</option>
<!-- <option value="flag">{lang_flag}</option> -->
</select>
<!-- END B_action_no_ignore -->
<!-- === block seperator == -->
<!-- BEGIN B_action_with_ignore_me -->
<select name="{actionbox_judgement_name}">
<option value="ignore_me" selected><{lang_ignore_me2}></option>
<!-- <option value="keep">{lang_keep}</option> -->
<!-- <option value="discard">{lang_discard}</option> -->
<!-- <option value="reject">{lang_reject}</option> -->
<!-- <option value="redirect">{lang_redirect}</option> -->
<option value="fileinto">{lang_fileinto}</option>
<!-- <option value="flag">{lang_flag}</option> -->
</select>
<!-- END B_action_with_ignore_me -->
<!-- === block seperator == -->
<!-- end file filters_blocks.tpl -->
====================================================
Index: class_prefs_ui.tpl
<!-- begin class_prefs_ui.tpl -->
{pref_errors}
<p>
<b>{page_title}</b>
<hr>
</p>
<form method="POST" action="{form_action}">
<table border="0" align="center" cellspacing="1" cellpadding="1" width="75%">
{prefs_ui_rows}
{submit_btn_row}
</table>
</form>
{debugdata}
<!-- end class_prefs_ui.tpl -->
====================================================
Index: message_echo_dump.tpl
<!-- begin message_echo_dump.tpl -->
<!-- BEGIN B_setup_echo_dump -->
<table border="0" cellpadding="1" cellspacing="1" width="95%" align="center">
<tr>
<td bgcolor="{theme_row_on}" width="100%">
<font size="2" face="{theme_font}">
<strong>{title_text}</strong> {display_str}</font>
</td>
</tr>
<tr>
<td align="left">
<br>
<!-- END B_setup_echo_dump -->
<!-- BEGIN B_done_echo_dump -->
</td>
</tr>
</table>
<!-- END B_done_echo_dump -->
<!-- end message_echo_dump.tpl -->
====================================================
Index: index_main_b0_l2.tpl
<!-- begin index_mail_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 border="0" cellpadding="4" cellspacing="0" width="100%" align="center">
<tr bgcolor="{hdr_backcolor}" class="{hdr_backcolor_class}">
<td width="3%" align="center">
</td>
<td width="2%">
</td>
<td width="20%">
<font size="{hdr_font_size}" face="{hdr_font}">
<strong>{hdr_from}</strong>
</font>
</td>
<td width="39%">
<font size="{hdr_font_size}" face="{hdr_font}">
<strong>{hdr_subject}</strong>
</font>
</td>
<td width="10%" align="center">
<font size="{hdr_font_size_sm}" face="{hdr_font}">
<strong>{hdr_date}</strong>
</font>
</td>
<td width="4%" align="center">
<font size="{hdr_font_size_sm}" face="{hdr_font}">
<strong>{hdr_size}</strong>
</font>
</td>
</tr>
<!-- BEGIN B_no_messages -->
<tr bgcolor="{mlist_backcolor}" class="row_on">
<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}
<font size="2" face="{mlist_font}">{report_no_msgs}</font>
</td>
</tr>
<!-- END B_no_messages -->
<!--- LAME BLOCK SEP -->
<!-- BEGIN B_msg_list -->
<tr bgcolor="{mlist_backcolor}" class="{mlist_backcolor_class}">
<td align="center">
<!-- INIT FORM ONCE -->{V_mlist_form_init}
<input type="checkbox" name="{mlist_checkbox_name}"
value="{mlist_embedded_uri}">
</td>
<td align="center">
<div align="right">{mlist_attach}</div>
{all_flags_images}
</td>
<td align="left">
{open_strikethru}{open_newbold}<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_from}
{mlist_from_extra}</font>{close_newbold}{close_strikethru}
</td>
<td align="left">
{open_strikethru}{open_newbold}<font size="{mlist_font_size}"
face="{mlist_font}"><a
href="{mlist_subject_link}">{mlist_subject}</a></font>{close_newbold}{close_strikethru}
</td>
<td align="center">
<font size="{mlist_font_size}"
face="{mlist_font}">{mlist_date}</font>
</td>
<td align="center">
<font size="{mlist_font_size_sm}"
face="{mlist_font}">{mlist_size}</font>
</td>
</tr>
<!-- END B_msg_list -->
<tr bgcolor="{ftr_backcolor}" class="{ftr_backcolor_class}">
<td>
<a href="javascript:check_all()"><img src="{check_image}"
border="0" height="16" width="21"></a>
</td>
<td colspan="2" align="left">
{delmov_button}
</td>
<td colspan="3" align="right">
{delmov_listbox}
</td>
</form>
</tr>
</table>
{geek_bar}
{debugdata}
<br>
<!-- end ndex_mail_b0_l2.tpl -->
====================================================
Index: debug.tpl
<!-- begin debug.tpl -->
<style type="text/css">
<!--
PRE, CODE
{
margin-top: 4px;
margin-right: 4px;
margin-left: 4px;
margin-bottom: 4px;
#font-family: "Courier New", Courier, fixed;
#font-family: "lucida console", Courier, fixed;
font-family: "lucida", Courier, fixed;
#font-size: 0.8em;
font-size: 0.9em;
#font-size: 1.0em;
# font-weight: bold;
}
-->
</style>
<!-- BEGIN B_before_echo -->
<table border="0" cellpadding="1" cellspacing="1" width="95%" align="center">
<tr>
<td width="100%">
<h2>{page_desc}</h2>
Pick a desired function.
<ul>
<li>= = Enviornment Data = =</li>
<li>{func_E1}</li>
<li>{func_E2}</li>
<li>{func_E3}</li>
<li>= = Info Dumps = =</li>
<li>{func_D1}</li>
<li>{func_D2}</li>
<li>{func_D3}</li>
<li>{func_D4}</li>
<li>{func_D5}</li>
<li>{func_D6}</li>
<li> = = Inline Docs = =</li>
<li>{func_I1}</li>
<li>{func_I2}</li>
<li>{func_I3}</li>
<li>{func_I4}</li>
<li>{func_I5}</li>
<li>{func_I6}</li>
<li>{func_I7}</li>
<li> = = Other Stuff = =</li>
<li>{func_O1}</li>
<li>{func_O2}</li>
<li>{func_O3}</li>
<li>{func_O4}</li>
<li>{func_O5}</li>
<li>{func_O6}</li>
</ul>
<br>
This seta up an echo dump:
</td>
</tr>
</table>
<!-- END B_before_echo -->
<br>
<!-- if using debug popup window that js will follow here -->
{debugdata}
<!-- BEGIN B_after_echo -->
<table border="0" cellpadding="1" cellspacing="1" width="95%" align="center">
<tr>
<td width="100%">
<h2>echo done</h2>
</td>
</tr>
</table>
<!-- END B_after_echo -->
<!-- end debug.tpl -->
====================================================
Index: app_data-H.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="index">
<xsl:apply-templates select="index"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="generic_out"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="generic_out">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<xsl:value-of disable-output-escaping="yes"
select="V_arrows_form_table"/>
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<table border="0" cellpadding="4" cellspacing="1" width="100%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
disable-output-escaping="yes" select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
disable-output-escaping="yes" select="hdr_size"/></small></strong>
</td>
</tr>
<form name="{frm_delmov_name}" action="{frm_delmov_action}"
method="post">
<input type="hidden" name="what" value="delall" />
<input type="hidden" name="sort" value="{current_sort}" />
<input type="hidden" name="order" value="{current_order}" />
<input type="hidden" name="start" value="{current_start}" />
<xsl:choose>
<xsl:when test="folder_info/number_all = 0">
<xsl:call-template name="tlp_report_no_msgs"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="msg_list_dsp"/>
</xsl:otherwise>
</xsl:choose>
<tr class="{ftr_backcolor_class}">
<td>
<a href="javascript:check_all()">
<img src="{check_image}" border="0"
alt="check"/>
</a>
</td>
<td colspan="2" align="left">
<xsl:value-of disable-output-escaping="yes"
select="delmov_button"/>
</td>
<td colspan="3" align="right">
<xsl:value-of disable-output-escaping="yes"
select="delmov_listbox"/>
</td>
</tr>
</form>
</table>
</xsl:template>
<xsl:template name="tlp_report_no_msgs">
<tr class="row_on">
<td colspan="6" align="center">
<xsl:value-of select="report_no_msgs"/>
</td>
</tr>
</xsl:template>
<xsl:template match="msg_list_dsp">
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<input type="checkbox"
name="{../mlist_checkbox_name}" value="{uri}"/>
</td>
<td align="center">
<xsl:choose>
<xsl:when test="has_attachment != '0'">
<img src="{../attach_img}"
border="0" alt="{../attach_img_alttxt}"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</strong>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
disable-output-escaping="yes" select="from_name"/>
<xsl:value-of
disable-output-escaping="yes" select="display_address_from"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen != '0'">
<strong>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</strong>
</xsl:when>
<xsl:otherwise>
<a
href="{subject_link}"><xsl:value-of disable-output-escaping="yes"
select="subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="msg_date"/>
</td>
<td align="center">
<small><xsl:value-of select="size"/></small>
</td>
</tr>
</xsl:template>
====================================================
Index: attach_file_blocks.tpl
<!-- begin attach_file_blocks.tpl -->
<!-- === block seperator == -->
<!-- BEGIN B_alert_msg -->
<tr>
<td>
<strong>{alert_msg}</strong>
</td>
</tr>
<tr>
<td> </td>
</tr>
<!-- END B_alert_msg -->
<!-- === block seperator == -->
<!-- BEGIN B_attached_list -->
<tr>
<td>
<input type="hidden" name="{hidden_delete_name}"
value="{hidden_delete_filename}">
<input type="checkbox" name="{ckbox_delete_name}"
value="{ckbox_delete_value}">{ckbox_delete_filename}
</td>
</tr>
<!-- END B_attached_list -->
<!-- === block seperator == -->
<!-- BEGIN B_attached_none -->
<tr>
<td>{text_none}</td>
</tr>
<!-- END B_attached_none -->
<!-- === block seperator == -->
<!-- BEGIN B_delete_btn -->
<tr>
<td>
<input type="submit" name="{btn_delete_name}"
value="{btn_delete_value}">
</td>
</tr>
<!-- END B_delete_btn -->
<!-- === block seperator == -->
<!-- end attach_file_blocks.tpl -->
====================================================
Index: search_form.tpl
<form name="search_frm" action="{form_action}" method="POST">
<table cellpadding="4" cellspacing="4" border="0"
style="width: 75%; text-align: left; margin-left: auto; margin-right: auto;">
<tbody>
<tr>
<td style="width: 70%; vertical-align: top;">
<div align="center"> </div>
<table cellpadding="2" cellspacing="2" border="0"
style="width: 100%;">
<tbody>
<tr>
<td style="vertical-align: top;">
<table border="1" bordercolor="#000000" cellspacing="0"
cellpadding="0" width="100%">
<tbody>
<tr>
<td>
<table style="width: 100%;" border="0" cellspacing="2"
cellpadding="2" width="100%">
<tbody>
<tr>
<td colspan="2" bgcolor="#d3dce3">
<div align="center"><span
style="font-weight: bold;">{lang_search_string}</span></div>
<table cellpadding="2" cellspacing="2"
border="0" style="width: 100%;">
<tbody>
<tr>
<td style="vertical-align: top;"
bgcolor="#eeeeee" width="60%" align="right" valign="middle">{lang_subject}</td>
<td style="vertical-align: top;"
bgcolor="#bbbbbb"><input size="30" name="search_subject" maxlength="50"> </td>
</tr>
<tr>
<td style="vertical-align: top;"
bgcolor="#eeeeee" width="60%" align="right" valign="middle">{lang_from}<br>
</td>
<td style="vertical-align: top;"
bgcolor="#bbbbbb" width="25%"><input size="30" name="search_from"
maxlength="50"></td>
</tr>
<tr>
<td style="vertical-align: top;"
bgcolor="#eeeeee" width="60%" align="right" valign="middle">Body<br>
</td>
<td style="vertical-align: top;"
bgcolor="#bbbbbb"> <input size="30" name="search_body" maxlength="50"></td>
</tr>
<tr>
<td style="vertical-align: top;"
bgcolor="#eeeeee" width="60%" align="right" valign="middle">{lang_to}<br>
</td>
<td style="vertical-align: top;"
bgcolor="#bbbbbb"> <input size="30" name="search_to" maxlength="50"></td>
</tr>
<tr>
<td style="vertical-align: top;"
bgcolor="#eeeeee" width="60%" align="right" valign="middle">{lang_cc}<br>
</td>
<td style="vertical-align: top;"
bgcolor="#bbbbbb"> <input size="30" name="search_cc" maxlength="50"></td>
</tr>
<tr>
<td style="vertical-align: top;"
bgcolor="#eeeeee" width="60%" align="right" valign="middle">{lang_bcc}<br>
</td>
<td style="vertical-align: top;"
bgcolor="#bbbbbb"> <input size="30" name="search_bcc" maxlength="50"></td>
</tr>
<tr>
<td style="vertical-align: top;"
bgcolor="#eeeeee" width="60%" align="right" valign="middle">{lang_keyword}<br>
</td>
<td style="vertical-align: top;"
bgcolor="#bbbbbb"> <input size="30" name="search_keyword" maxlength="50"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table border="1" bordercolor="#000000" cellspacing="0"
cellpadding="0" width="100%">
<tbody>
<tr>
<td valign="top">
<table border="1" cellpadding="2"
cellspacing="2" width="100%">
<tr>
<td bgcolor="#d3dce3">
<b>{lang_search}</b>
</td>
</tr>
<!-- BEGIN folder -->
<tr>
<td bgcolor="#eeeeee">
<input type="checkbox"
name="folder_list[]" value="{fld_value}"
{fld_checked}>
{fld_value}
</td>
</tr>
<!-- END folder -->
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="vertical-align: top;">
<table border="1" bordercolor="#000000" cellspacing="0"
cellpadding="0" width="100%">
<tbody>
<tr>
<td>
<table cellpadding="2" cellspacing="2" border="0"
width="100%">
<tbody>
<tr>
<td valign="top" colspan="2" align="center"
bgcolor="#d3dce3"><b>{lang_return_mails_during}<b><br>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#cccccc"><input
type="checkbox" name="date_on"> {lang_on}</td>
<td valign="top" bgcolor="#cccccc">
<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" bgcolor="#cccccc"><input
type="checkbox" name="date_before"> {lang_before}</td>
<td valign="top" bgcolor="#cccccc">
<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" bgcolor="#cccccc"><input
type="checkbox" name="date_after"> {lang_after} </td>
<td valign="top" bgcolor="#cccccc">
<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 cellpadding="0" cellspacing="0" border="1"
bordercolor="#000000" width="100%">
<tbody>
<tr>
<td>
<table cellpadding="2" cellspacing="2" border="0"
style="width: 100%;">
<tbody>
<tr>
<td bgcolor="#d3dce3">
<div align="center"><b>{lang_check_flags}
</b></div>
</td>
</tr>
<!-- BEGIN flag -->
<tr>
<td style="vertical-align: top;" bgcolor="#dddddd"><input
type="checkbox" name="{flg_name}"> {flg_value}</td>
</tr>
<!-- END flag -->
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br>
</td>
</tr>
<tr>
<td valign="top" colspan="2" align="center"> <input type="submit"
value="{lang_search_button}"> <input type="reset"
value="{lang_clear_form_button}"> </td>
</tr>
</tbody>
</table>
<br>
</form>
====================================================
Index: class_prefs_ex_accounts.tpl
<!-- begin class_prefs_ex_accounts.tpl -->
{pref_errors}
<p>
<b>{page_title}</b>
<hr>
</p>
<table border="0" cellspacing="2" cellpadding="2" width="100%" align="center">
<tr bgcolor="{tr_titles_color}" class="{tr_titles_class}">
<td width="60%" align="left">
<font face="{font}">{account_name_header}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{lang_status}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{lang_go_there}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{lang_edit}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{lang_delete}</font>
</td>
</tr>
<!-- BEGIN B_accts_list -->
<tr bgcolor="{tr_color}" class="{tr_color_class}">
<td width="60%" align="left">
<font face="{font}">{indentity}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{status}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{go_there_href}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{edit_href}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{delete_href}</font>
</td>
</tr>
<!-- END B_accts_list -->
<tr>
<td colspan="4" align="center">
</td>
</tr>
<tr>
<td colspan="4" align="center">
{add_new_acct_href} {done_href}
</td>
</tr>
</table>
<p>
</p>
{debugdata}
<!-- end class_prefs_ex_accounts.tpl -->
====================================================
Index: filters_list.tpl
<!-- begin filter_list.tpl -->
{widget_toolbar}
<p>
<b>{page_title}</b>
<hr>
</p>
<table border="0" cellspacing="2" cellpadding="2" width="100%" align="center">
<tr bgcolor="{tr_titles_color}" class="{tr_titles_class}">
<td width="60%" align="left">
<font face="{font}">{filter_name_header}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{lang_move_up}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{lang_move_down}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{lang_edit}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{lang_delete}</font>
</td>
</tr>
<!-- BEGIN B_filter_list_row -->
<tr bgcolor="{tr_color}" class="{tr_color_class}">
<td width="60%" align="left">
<font face="{font}">{filter_identity}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{move_up_href}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{move_down_href}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{edit_href}</font>
</td>
<td width="10%" align="center">
<font face="{font}">{delete_href}</font>
</td>
</tr>
<!-- END B_filter_list_row -->
<tr>
<td colspan="4" align="center">
</td>
</tr>
<tr>
<td colspan="4" align="center">
{add_new_filter_href} {done_href}
</td>
</tr>
</table>
<br>
<hr>
<br>
<table width="90%" border="0" cellPadding="4" cellSpacing="4" align="center">
<tr>
<td colspan="2" align="center">
<br>{lang_test_or_apply}
</td>
</tr>
<tr>
<td width="50%" align="center">
{test_all_filters_href}
</td>
<td width="50%" align="center">
{run_all_filters_href}
</td>
</tr>
</table>
<p> </p>
<!-- end filter_list.tpl -->
====================================================
Index: spell_review.tpl
<!-- begin spell_review.tpl -->
<style type="text/css">
<!--
P.spell_review
{
## display: inline;
## font-size: 1.2em;
vertical-align: middle;
## line-height: 1.8em;
## padding: 1.8em;
## margin: 1.8em;
}
-->
</style>
<!-- BEGIN B_before_echo -->
<table border="0" cellpadding="1" cellspacing="1" width="95%" align="center">
{form_open_tags}
<tr>
<td width="100%">
<h2>{page_desc}</h2>
Review spell check and choose replacements if desired.
</td>
</tr>
<tr>
<td width="100%">
<br> <br>
<hr size="1">
<br> <br>
</td>
</tr>
<tr>
<td width="100%">
<p class="spell_review">
{body_with_suggestions}
</p>
</td>
</tr>
<tr>
<td width="100%">
<br> <br>
<hr size="1">
<br> <br>
</td>
</tr>
<tr>
<td width="100%" align="center">
{btn_apply} {btn_cancel}
</td>
</tr>
</form>
</table>
<!-- end spell_review.tpl -->
====================================================
Index: app_data-B.xsl
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="blablabla">
<xsl:apply-templates select="email_list"/>
</xsl:when>
<xsl:when test="uimessage">
<xsl:apply-templates select="uimessage"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="index"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="email_list">
<xsl:call-template name="app_header"/>
<p>
Dude I am Clueless
</p>
</xsl:template>
<xsl:template match="uimessage">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="index">
<xsl:call-template name="app_header"/>
<xsl:value-of disable-output-escaping="yes"
select="widget_toolbar"/>
<xsl:value-of disable-output-escaping="yes"
select="V_arrows_form_table"/>
<xsl:value-of disable-output-escaping="yes"
select="stats_data_display"/>
<table border="0" cellpadding="4" cellspacing="1" width="95%"
align="center">
<tr class="th">
<td class="th_text" width="3%" align="center">
</td>
<td class="th_text" width="2%">
</td>
<td class="th_text" width="20%">
<strong><xsl:value-of
select="hdr_from"/></strong>
</td>
<td class="th_text" width="39%">
<strong><xsl:value-of
select="hdr_subject"/></strong>
</td>
<td class="th_text" width="10%" align="center">
<strong><xsl:value-of
select="hdr_date"/></strong>
</td>
<td class="th_text" width="4%" align="center">
<strong><small><xsl:value-of
select="hdr_size"/></small></strong>
</td>
</tr>
</table>
<xsl:value-of disable-output-escaping="yes"
select="email_page"/>
</xsl:template>
<xsl:template match="msg_list_dsp">
<xsl:variable name="mlist_checkbox_name"><xsl:value-of
select="mlist_checkbox_name"/></xsl:variable>
<xsl:variable name="mlist_embedded_uri"><xsl:value-of
select="mlist_embedded_uri"/></xsl:variable>
<xsl:variable name="mlist_subject_link"><xsl:value-of
select="mlist_subject_link"/></xsl:variable>
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="center">
<!-- INIT FORM ONCE --><xsl:value-of
select="V_mlist_form_init"/>
<input type="checkbox"
name="{$mlist_checkbox_name}" value="{$mlist_embedded_uri}">
</td>
<td align="center">
<xsl:value-of select="mlist_attach"/>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen">
<strong>
<xsl:value-of
select="mlist_from"/>
<xsl:value-of
select="mlist_from_extra"/>
</strong>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
select="mlist_from"/>
<xsl:value-of
select="mlist_from_extra"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="left">
<xsl:choose>
<xsl:when test="is_unseen">
<strong>
<a
href="{$mlist_subject_link}"><xsl:value-of select="mlist_subject"/></a>
</strong>
</xsl:when>
<xsl:otherwise>
<a
href="{$mlist_subject_link}"><xsl:value-of select="mlist_subject"/></a>
</xsl:otherwise>
</xsl:choose>
</td>
<td align="center">
<xsl:value-of select="mlist_date"/>
</td>
<td align="center">
<small><xsl:value-of
select="mlist_size"/></small>
</td>
</tr>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] email/templates/base compose.tpl, 1.1 config.tpl, 1.1 index_main_b0_l2.OLD.tpl, 1.1 error_report.tpl, 1.1 search_results_js.tpl, 1.1 app_data-K.xsl, 1.1 app_data-A.xsl, 1.1 addressbook.tpl-ORIG, 1.1 attach_file.tpl, 1.1 addressbook-js-bits.tpl, 1.1 app_data-F.xsl, 1.1 class_prefs_blocks.tpl, 1.1 filters.tpl, 1.1 message_main.tpl, 1.1 index_main_b0_l1.tpl, 1.1 message_printable.tpl, 1.1 app_data-J.xsl, 1.1 app_data-D.xsl, 1.1 app_data-I.xsl, 1.1 OLD-preferences.tpl, 1.1 app_data.xsl, 1.1 index_mlist.tpl, 1.1 app_data-E.xsl, 1.1 extrabox.xsl, 1.1 addressbook-js-smaller.tpl, 1.1 addressbook.tpl-BAD, 1.1 addressbook-js-frameset.tpl, 1.1 search_results.tpl, 1.1 index_blocks.tpl, 1.1 index_main_b0_l1.OLD.tpl, 1.1 addressbook-js.tpl, 1.1 addressbook.tpl, 1.1 folder.tpl, 1.1 app_data-C.xsl, 1.1 addressbook-real-plain.tpl-UNUSED, 1.1 app_data-G.xsl, 1.1 widget_toolbar.tpl, 1.1 filters_blocks.tpl, 1.1 class_prefs_ui.tpl, 1.1 message_echo_dump.tpl, 1.1 index_main_b0_l2.tpl, 1.1 debug.tpl, 1.1 app_data-H.xsl, 1.1 attach_ file_blocks.tpl, 1.1 search_form.tpl, 1.1 class_prefs_ex_accounts.tpl, 1.1 filters_list.tpl, 1.1 spell_review.tpl, 1.1 app_data-B.xsl, 1.1,
fipsfuchs <=
- Prev by Date:
[Phpgroupware-cvs] property/inc class.uiadmin_entity.inc.php, 1.3.2.4 class.soadmin_entity.inc.php, 1.2.2.6
- Next by Date:
[Phpgroupware-cvs] stocks/templates/default preferences.tpl, 1.8 extrabox.xsl, 1.3 preferences_edit.tpl, 1.10 list.tpl, 1.4 header.tpl, 1.3 main.tpl, 1.6
- Previous by thread:
[Phpgroupware-cvs] property/inc class.uiadmin_entity.inc.php, 1.3.2.4 class.soadmin_entity.inc.php, 1.2.2.6
- Next by thread:
[Phpgroupware-cvs] stocks/templates/default preferences.tpl, 1.8 extrabox.xsl, 1.3 preferences_edit.tpl, 1.10 list.tpl, 1.4 header.tpl, 1.3 main.tpl, 1.6
- Index(es):