diff --git a/presentation/lookAndFeel/knowledgeTree/help/emailHelp.php b/presentation/lookAndFeel/knowledgeTree/help/emailHelp.php deleted file mode 100644 index 16d732b..0000000 --- a/presentation/lookAndFeel/knowledgeTree/help/emailHelp.php +++ /dev/null @@ -1,93 +0,0 @@ -fileSystemRoot/lib/email/Email.inc"); - - -if(checkSession()) { - - // include the page template (with navbar) - require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); - // when email button sent..send email - if ($submit) { - //set up body and link - - $hyperlink = $linkToBug; - $body = $message . "
This bug can be found on this page: " . "". $hyperlink .""; - - //create email object - $emailLink= new Email(); - //send email - $success = $emailLink->send($toEmail,$subject,$body); - - //if successful ..rerender the page - if ($success) { - $Center = "
Email Successfully Sent
"; - $oPatternCustom = & new PatternCustom(); - $oPatternCustom->setHtml($Center); - $main->setCentralPayload($oPatternCustom); - $main->render(); - } else { - $Center = "
Email Unsuccessful
"; - $oPatternCustom = & new PatternCustom(); - $oPatternCustom->setHtml($Center); - $main->setCentralPayload($oPatternCustom); - $main->render(); - } - } else { - //create the necessary HTML for the emailing - $Center = " -
-
-
Email the Development Team if you have found a Bug
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
To Email:
Your Name:
Your Email:
Subject:
Link to Page:
Bug Description:
-
- "; - - $oPatternCustom = & new PatternCustom(); - $oPatternCustom->setHtml($Center); - $main->setCentralPayload($oPatternCustom); - $main->setFormAction($_SERVER["PHP_SELF"]); - $main->render(); - - } -} - -?> \ No newline at end of file