From a343313a5240bc74f4648376a290133ac712afcb Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 26 Mar 2019 09:30:13 +0100 Subject: Delete unused and unmaintained modules --- modules-available/support/page.inc.php | 83 ---------------------------------- 1 file changed, 83 deletions(-) delete mode 100644 modules-available/support/page.inc.php (limited to 'modules-available/support/page.inc.php') diff --git a/modules-available/support/page.inc.php b/modules-available/support/page.inc.php deleted file mode 100644 index 5ad7854f..00000000 --- a/modules-available/support/page.inc.php +++ /dev/null @@ -1,83 +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', - json_decode(file_get_contents("modules/support/faq.json"),true) - ); - } - else{ - Render::addTemplate('page-support', - json_decode(file_get_contents("modules/support/faq.json"),true) - ); - } -// Render::addTemplate('page-support', array( -// 'token' => Session:get('token')); - } - - -} -- cgit v1.2.3-55-g7522