<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.9.35.3558 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.9.36.3559 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
<table>
<tr>
<td align="right">{$i18n.form.mail.from} (*):</td>
- <td>{$smarty.const.SENDER}</td>
+ <td>{$sender}</td>
</tr>
<tr>
<td align="right">{$i18n.form.mail.to} (*):</td>
}
} // isPost
+$smarty->assign('sender', SENDER);
+if (function_exists('imap_mime_header_decode')) {
+ // Decode sender in case it is encoded. PHP IMAP extension must be installed for us to get here.
+ $elements = imap_mime_header_decode(SENDER);
+ if (count($elements) > 1) {
+ // Reassign sender.
+ $smarty->assign('sender', $elements[count($elements) - 2]->text);
+ }
+}
+
$smarty->assign('title', $i18n->getKey('title.send_invoice'));
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('onload', 'onLoad="document.mailForm.'.($cl_receiver?'comment':'receiver').'.focus()"');
}
}
+$smarty->assign('sender', SENDER);
+if (function_exists('imap_mime_header_decode')) {
+ $elements = imap_mime_header_decode(SENDER);
+ if (count($elements) > 1) {
+ // Reassign sender.
+ $new = $elements[count($elements) - 2]->text;
+ $smarty->assign('sender', $elements[count($elements) - 2]->text);
+ }
+}
+
$smarty->assign('title', $i18n->getKey('title.send_report'));
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('onload', 'onLoad="document.mailForm.'.($cl_receiver?'comment':'receiver').'.focus()"');