Example #1
0
 public static function getEMail(GWF_AuditLog $log)
 {
     $username = GDO::escape($log->getVar('al_eusername'));
     return self::table(__CLASS__)->selectVar('am_email', "am_username='******'");
 }
Example #2
0
 private static function getMailBodyUser(Module_Audit $module, GWF_AuditLog $log)
 {
     $url = Common::getAbsoluteURL($log->hrefReplay(), false);
     $link = GWF_HTML::anchor($url, $url);
     return sprintf("Hello %s\n\nTo review or share your logfiles on warchall, you may use these links:\nReplay: %s\n\nFrom: %s-%s (%s)\n", $log->getVar('al_eusername'), $link, $log->getVar('al_eusername'), $log->getVar('al_username'), $log->displayDate());
 }