From 95db8e184b378534db0ac08d14ae8500ee5090c3 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 28 Apr 2016 21:31:15 +0200 Subject: Implemented new menu, added logic for defining dependencies, move translation files around --- modules/support/module.inc.php | 77 ------------------------------------------ 1 file changed, 77 deletions(-) delete mode 100644 modules/support/module.inc.php (limited to 'modules/support/module.inc.php') diff --git a/modules/support/module.inc.php b/modules/support/module.inc.php deleted file mode 100644 index d4012c1a..00000000 --- a/modules/support/module.inc.php +++ /dev/null @@ -1,77 +0,0 @@ -SMTPDebug = 3; // Enable verbose debug output - $mail->isSMTP(); // Set mailer to use SMTP - $mail->Host = 'mx.c3sl.ufpr.br'; // Specify main and backup SMTP servers - $mail->SMTPAuth = true; // Enable SMTP authentication - $mail->Username = 'xxx00@inf.ufpr.br'; // SMTP username - $mail->Password = ''; // SMTP password - // $mail->SMTPSecure = 'false'; // Enable TLS encryption, `ssl` also accepted - $mail->Port = 25; // TCP port to connect to - - $mail->From = 'xxx00@inf.ufpr.br'; - $mail->FromName = 'Someone'; - $mail->addAddress('receiver@email.com', 'Another One'); // Add a recipient - // $mail->addAttachment('/var/tmp/file.tar.gz'); // Add attachments - // $mail->addAttachment('/tmp/image.jpg', 'new.jpg'); // Optional name - $mail->isHTML(true); // Set email format to HTML - $mail->Subject = 'Here is the subject'; - $mail->Body = 'This is the HTML message body in bold!'; - $mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; - - if(!$mail->send()) { - echo 'Message could not be sent.'; - echo 'Mailer Error: ' . $mail->ErrorInfo; - } else { - echo 'Message has been sent'; - } - */ -// $uploaddir = '/var/www/uploads/'; -// $uploadfile = $uploaddir . basename($_FILES['inp_file']['name']); -// if(move_uploaded_file($_FILES['inp_file']['tmp_name'], $uploadfile)) -// Message::addSuccess('news-save-success'); -// else -// Message::addError('news-empty'); -// mail($to,$_POST[assuntoEmail],$_POST[conteudoEmail],"-r".$from); -// mail($to,$assunto,$content,$headers); - - - } - - - - protected function doRender(){ - error_reporting(E_ALL); - ini_set('display_errors','on'); - if (strpos($_SERVER['REQUEST_URI'], "true") !== false) - Render::addTemplate('page-faq'); - else - Render::addTemplate('page-support'); -// Render::addTemplate('page-support', array( -// 'token' => Session:get('token')); - } - - -} -- cgit v1.2.3-55-g7522