Renamed a function for clarity.
authoranuko <support@anuko.com>
Sun, 5 Feb 2017 00:44:17 +0000 (00:44 +0000)
committeranuko <support@anuko.com>
Sun, 5 Feb 2017 00:44:17 +0000 (00:44 +0000)
WEB-INF/lib/mail/Mailer.class.php
WEB-INF/lib/ttReportHelper.class.php
WEB-INF/templates/footer.tpl
invoice_send.php
password_reset.php
report_send.php

index 6b301be..a52e3c9 100644 (file)
@@ -38,7 +38,7 @@ class Mailer {
     $this->mMailMode = $type;
   }
 
-  function setSendType($value) {
+  function setMailMode($value) {
     $this->mMailMode = $value;
   }
 
index ae90374..56a4aa8 100644 (file)
@@ -1574,7 +1574,7 @@ class ttReportHelper {
     $mailer->setContentType('text/html');
     $mailer->setSender(SENDER);
     $mailer->setReceiver($email);
-    $mailer->setSendType(MAIL_MODE);
+    $mailer->setMailMode(MAIL_MODE);
     if (!$mailer->send($report['name'], $body))
       return false;
 
index e787236..3a12372 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.9.36.3560 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.9.36.3561 | Copyright &copy; <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>
index 6d85d54..bc290a6 100644 (file)
@@ -86,7 +86,7 @@ if ($request->isPost()) {
     $mailer->setReceiver($cl_receiver);
     if (isset($cl_cc))
       $mailer->setReceiverCC($cl_cc);
-    $mailer->setSendType(MAIL_MODE);
+    $mailer->setMailMode(MAIL_MODE);
     if ($mailer->send($cl_subject, $body))
       $msg->add($i18n->getKey('form.mail.invoice_sent'));
     else
index 216a81c..f1780bc 100644 (file)
@@ -105,7 +105,7 @@ if ($request->isPost()) {
       else
         $pass_edit_url = $http.'://'.$_SERVER['HTTP_HOST'].'/password_change.php?ref='.$temp_ref;
 
-      $sender->setSendType(MAIL_MODE);
+      $sender->setMailMode(MAIL_MODE);
       $res = $sender->send($cl_subject, sprintf($user_i18n->getKey('form.reset_password.email_body'), $pass_edit_url));
       $smarty->assign('result_message', $res ? $i18n->getKey('form.reset_password.message') : $i18n->getKey('error.mail_send'));
     }
index 9c02ced..9389cff 100644 (file)
@@ -83,7 +83,7 @@ if ($request->isPost()) {
     $mailer->setReceiver($cl_receiver);
     if (isset($cl_cc))
       $mailer->setReceiverCC($cl_cc);
-    $mailer->setSendType(MAIL_MODE);
+    $mailer->setMailMode(MAIL_MODE);
     if ($mailer->send($cl_subject, $body))
       $msg->add($i18n->getKey('form.mail.report_sent'));
     else