diff --git a/lib/actions/documentaction.inc.php b/lib/actions/documentaction.inc.php index 6649120..671e71d 100644 --- a/lib/actions/documentaction.inc.php +++ b/lib/actions/documentaction.inc.php @@ -145,7 +145,7 @@ class KTDocumentAction extends KTStandardDispatcher { KTBrowseUtil::breadcrumbsForDocument($this->oDocument, $aOptions)); $actions = KTDocumentActionUtil::getDocumentActionsForDocument($this->oDocument, $this->oUser); - $oPortlet = new KTActionPortlet(_("Document Actions")); + $oPortlet = new KTActionPortlet(_kt("Document Actions")); $oPortlet->setActions($actions, $this->sName); $this->oPage->addPortlet($oPortlet); @@ -155,7 +155,7 @@ class KTDocumentAction extends KTStandardDispatcher { } function do_main() { - return _("Dispatcher component of action not implemented."); + return _kt("Dispatcher component of action not implemented."); } } diff --git a/lib/actions/folderaction.inc.php b/lib/actions/folderaction.inc.php index b386528..c551326 100644 --- a/lib/actions/folderaction.inc.php +++ b/lib/actions/folderaction.inc.php @@ -139,7 +139,7 @@ class KTFolderAction extends KTStandardDispatcher { $this->aBreadcrumbs = array_merge($this->aBreadcrumbs, KTBrowseUtil::breadcrumbsForFolder($this->oFolder, $aOptions)); - $portlet = new KTActionPortlet(_("Folder Actions")); + $portlet = new KTActionPortlet(_kt("Folder Actions")); $aActions = KTFolderActionUtil::getFolderActionsForFolder($this->oFolder, $this->oUser); $portlet->setActions($aActions,null); $this->oPage->addPortlet($portlet); @@ -150,7 +150,7 @@ class KTFolderAction extends KTStandardDispatcher { } function do_main() { - return _("Dispatcher component of action not implemented."); + return _kt("Dispatcher component of action not implemented."); } } diff --git a/lib/authentication/authenticationprovider.inc.php b/lib/authentication/authenticationprovider.inc.php index 92a9bad..05be14c 100644 --- a/lib/authentication/authenticationprovider.inc.php +++ b/lib/authentication/authenticationprovider.inc.php @@ -81,10 +81,10 @@ class KTAuthenticationProvider extends KTStandardDispatcher { } function do_editSourceProvider() { - return $this->errorRedirectTo('viewsource', _("Provider does not support editing"), 'source_id=' . $_REQUEST['source_id']); + return $this->errorRedirectTo('viewsource', _kt("Provider does not support editing"), 'source_id=' . $_REQUEST['source_id']); } function do_performEditSourceProvider() { - return $this->errorRedirectTo('viewsource', _("Provider does not support editing"), 'source_id=' . $_REQUEST['source_id']); + return $this->errorRedirectTo('viewsource', _kt("Provider does not support editing"), 'source_id=' . $_REQUEST['source_id']); } } diff --git a/lib/authentication/builtinauthenticationprovider.inc.php b/lib/authentication/builtinauthenticationprovider.inc.php index e935bc1..23ab4e4 100644 --- a/lib/authentication/builtinauthenticationprovider.inc.php +++ b/lib/authentication/builtinauthenticationprovider.inc.php @@ -43,7 +43,7 @@ class KTBuiltinAuthenticationProvider extends KTAuthenticationProvider { function showUserSource($oUser, $oSource) { $sQuery = sprintf('action=setPassword&user_id=%d', $oUser->getId()); $sUrl = KTUtil::addQueryString($_SERVER['PHP_SELF'], $sQuery); - return '
' . sprintf(_("Change %s's password"), $oUser->getName()) . '
'; + return '' . sprintf(_kt("Change %s's password"), $oUser->getName()) . '
'; } } diff --git a/lib/browse/BrowseColumns.inc.php b/lib/browse/BrowseColumns.inc.php index b54d4ed..3d7ee98 100644 --- a/lib/browse/BrowseColumns.inc.php +++ b/lib/browse/BrowseColumns.inc.php @@ -57,7 +57,7 @@ class BrowseColumn { } // FIXME is it _really_ worth using a template here? function renderHeader($sReturnURL) { - $text = _("Abstract") . ": " . $this->label; + $text = _kt("Abstract") . ": " . $this->label; $href = $sReturnURL . "&sort_on=" . $this->name . "&sort_order="; if ($this->sort_on) { $href .= $this->sort_direction == "asc" ? "desc" : "asc" ; @@ -93,7 +93,7 @@ class TitleColumn extends BrowseColumn { } // unlike others, this DOESN'T give its name. function renderHeader($sReturnURL) { - $text = _("Title"); + $text = _kt("Title"); $href = $sReturnURL . "&sort_on=" . $this->name . "&sort_order="; if ($this->sort_on) { $href .= $this->sort_direction == "asc" ? "desc" : "asc" ; @@ -380,7 +380,7 @@ class DownloadColumn extends BrowseColumn { // FIXME at some point we may want to hide this if the user doens't have the download action, but its OK for now. $link = KTUtil::ktLink('action.php','ktcore.actions.document.view', 'fDocumentId=' . $aDataRow['document']->getId()); - $outStr = sprintf('%s', $link, _('Download Document'), _('Download Document')); + $outStr = sprintf('%s', $link, _kt('Download Document'), _kt('Download Document')); return $outStr; } } diff --git a/lib/browse/Criteria.inc b/lib/browse/Criteria.inc index 011b811..ac52bad 100644 --- a/lib/browse/Criteria.inc +++ b/lib/browse/Criteria.inc @@ -624,40 +624,40 @@ class Criteria { global $default; switch ($iID) { case -1: - $oCriterion =& new NameCriterion(_("Name"), 'filename', 'filename', -1); + $oCriterion =& new NameCriterion(_kt("Name"), 'filename', 'filename', -1); break; case -2: - $oCriterion =& new TitleCriterion(_("Title"), 'name', 'name', -2); + $oCriterion =& new TitleCriterion(_kt("Title"), 'name', 'name', -2); break; case -3: - $oCriterion =& new CreatorCriterion(_("Creator"), 'creator_id', 'creator_id', -3); + $oCriterion =& new CreatorCriterion(_kt("Creator"), 'creator_id', 'creator_id', -3); break; case -4: - $oCriterion =& new DateCreatedCriterion(_("Date Created"), 'created', 'created', -4); + $oCriterion =& new DateCreatedCriterion(_kt("Date Created"), 'created', 'created', -4); break; case -5: - $oCriterion =& new DocumentTypeCriterion(_("Document Type"), 'document_type_id', 'document_type_id', -5); + $oCriterion =& new DocumentTypeCriterion(_kt("Document Type"), 'document_type_id', 'document_type_id', -5); break; case -6: - $oCriterion =& new IDCriterion(_("ID"), 'id', 'id', -6); + $oCriterion =& new IDCriterion(_kt("ID"), 'id', 'id', -6); break; case -7: - $oCriterion =& new DateModifiedCriterion(_("Date Modified"), 'modified', 'modified', -7); + $oCriterion =& new DateModifiedCriterion(_kt("Date Modified"), 'modified', 'modified', -7); break; case -8: - $oCriterion =& new SizeCriterion(_("File Size"), 'size', 'size', -8); + $oCriterion =& new SizeCriterion(_kt("File Size"), 'size', 'size', -8); break; case -9: - $oCriterion =& new ContentCriterion(_("Document Contents"), 'content', 'content', -9); + $oCriterion =& new ContentCriterion(_kt("Document Contents"), 'content', 'content', -9); break; case -10: - $oCriterion =& new WorkflowStateCriterion(_("Workflow state"), 'state', 'state', -10); + $oCriterion =& new WorkflowStateCriterion(_kt("Workflow state"), 'state', 'state', -10); break; case -11: - $oCriterion =& new TransactionTextCriterion(_("Transaction Text"), 'transactiontext', 'transactiontext', -11); + $oCriterion =& new TransactionTextCriterion(_kt("Transaction Text"), 'transactiontext', 'transactiontext', -11); break; case -12: - $oCriterion =& new SearchableTextCriterion(_("Searchable Text"), 'searchabletext', 'searchabletext', -12); + $oCriterion =& new SearchableTextCriterion(_kt("Searchable Text"), 'searchabletext', 'searchabletext', -12); break; } return $oCriterion; diff --git a/lib/browse/browseutil.inc.php b/lib/browse/browseutil.inc.php index 18e105c..75eb364 100644 --- a/lib/browse/browseutil.inc.php +++ b/lib/browse/browseutil.inc.php @@ -178,7 +178,7 @@ class KTBrowseUtil { if (!empty($sAction)) { $url = generateControllerUrl($sAction, "fFolderId=1"); } - $aBreadcrumbs[] = array("url" => $url, "name" => _('Folders')); + $aBreadcrumbs[] = array("url" => $url, "name" => _kt('Folders')); if ($parents != 0) { foreach (range(0, $parents - 1) as $index) { diff --git a/lib/dashboard/Notification.inc.php b/lib/dashboard/Notification.inc.php index 1d9d668..1027665 100644 --- a/lib/dashboard/Notification.inc.php +++ b/lib/dashboard/Notification.inc.php @@ -146,7 +146,7 @@ class KTNotificationHandler { // called to resolve the notification (typically from /notify.php?id=xxxxx function resolveNotification($oKTNotification) { - $_SESSION['KTErrorMessage'][] = _("This notification handler does not support publication."); + $_SESSION['KTErrorMessage'][] = _kt("This notification handler does not support publication."); exit(redirect(generateControllerLink('dashboard'))); } } @@ -189,18 +189,18 @@ class KTSubscriptionNotification extends KTNotificationHandler { function KTSubscriptionNotification() { $this->_eventTypeNames = array( - "AddFolder" => _('Folder added'), - "RemoveSubscribedFolder" => _('Folder removed'), // nothing. your subscription is now gone. - "RemoveChildFolder" => _('Folder removed'), - "AddDocument" => _('Document added'), - "RemoveSubscribedDocument" => _('Document removed'), // nothing. your subscription is now gone. - "RemoveChildDocument" => _('Document removed'), - "ModifyDocument" => _('Document modified'), - "CheckInDocument" => _('Document checked in'), - "CheckOutDocument" => _('Document checked out'), - "MovedDocument" => _('Document moved'), - "ArchivedDocument" => _('Document archived'), // can go through and request un-archival (?) - "RestoredArchivedDocument" => _('Document restored') + "AddFolder" => _kt('Folder added'), + "RemoveSubscribedFolder" => _kt('Folder removed'), // nothing. your subscription is now gone. + "RemoveChildFolder" => _kt('Folder removed'), + "AddDocument" => _kt('Document added'), + "RemoveSubscribedDocument" => _kt('Document removed'), // nothing. your subscription is now gone. + "RemoveChildDocument" => _kt('Document removed'), + "ModifyDocument" => _kt('Document modified'), + "CheckInDocument" => _kt('Document checked in'), + "CheckOutDocument" => _kt('Document checked out'), + "MovedDocument" => _kt('Document moved'), + "ArchivedDocument" => _kt('Document archived'), // can go through and request un-archival (?) + "RestoredArchivedDocument" => _kt('Document restored') ); //parent::KTNotificationHandler(); } @@ -378,7 +378,7 @@ class KTWorkflowNotification extends KTNotificationHandler { if ($oUser->getEmailNotification() && (strlen($oUser->getEmail()) > 0)) { $emailContent = $handler->handleNotification($oNotification); - $emailSubject = sprintf(_('Workflow Notification: %s'), $oDocument->getName()); + $emailSubject = sprintf(_kt('Workflow Notification: %s'), $oDocument->getName()); $oEmail = new EmailAlert($oUser->getEmail(), $emailSubject, $emailContent); $oEmail->send(); } @@ -409,7 +409,7 @@ class KTWorkflowNotification extends KTNotificationHandler { function resolveNotification($oKTNotification) { $notify_action = KTUtil::arrayGet($_REQUEST, 'notify_action', null); if ($notify_action == 'clear') { - $_SESSION['KTInfoMessage'][] = _('Workflow Notification cleared.'); + $_SESSION['KTInfoMessage'][] = _kt('Workflow Notification cleared.'); $oKTNotification->delete(); exit(redirect(generateControllerLink('dashboard'))); } diff --git a/lib/dashboard/dashlet.inc.php b/lib/dashboard/dashlet.inc.php index 206e8bd..f7425f1 100644 --- a/lib/dashboard/dashlet.inc.php +++ b/lib/dashboard/dashlet.inc.php @@ -36,7 +36,7 @@ class KTBaseDashlet { // precondition check. function is_active($oUser) { return true; } - function render() { return '' . _("This Dashlet is incomplete.") . '
' . _kt("This Dashlet is incomplete.") . '
' . _('If you feel that this is incorrect, please report both the action and your username to a system administrator.') . '
'; + $msg = '' . _kt('If you feel that this is incorrect, please report both the action and your username to a system administrator.') . '
'; $this->oPage->setPageContents($msg); $this->oPage->setUser($this->oUser); @@ -304,7 +304,7 @@ class KTAdminDispatcher extends KTStandardDispatcher { function KTAdminDispatcher() { $this->aBreadcrumbs = array( - array('action' => 'administration', 'name' => _('Administration')), + array('action' => 'administration', 'name' => _kt('Administration')), ); return parent::KTStandardDispatcher(); } diff --git a/lib/documentmanagement/DocumentTransaction.inc b/lib/documentmanagement/DocumentTransaction.inc index 2f6cadc..a0224e6 100644 --- a/lib/documentmanagement/DocumentTransaction.inc +++ b/lib/documentmanagement/DocumentTransaction.inc @@ -94,7 +94,7 @@ class DocumentTransaction { function & getTransactionType() { return KTDocumentTransactionType::getByNamespace($this->sTransactionNS); } function getAction() { $oType = $this->getTransactionType(); - $action = _('Unknown Action'); + $action = _kt('Unknown Action'); if (!PEAR::isError($oType)) { $action = $oType->getName(); } return $action; diff --git a/lib/documentmanagement/documentutil.inc.php b/lib/documentmanagement/documentutil.inc.php index 232efe0..1643690 100644 --- a/lib/documentmanagement/documentutil.inc.php +++ b/lib/documentmanagement/documentutil.inc.php @@ -62,7 +62,7 @@ class KTDocumentUtil { copy($sBackupPath, $oDocument->getPath()); // remove the backup unlink($sBackupPath); - return PEAR::raiseError(_("An error occurred while storing the new file")); + return PEAR::raiseError(_kt("An error occurred while storing the new file")); } $oDocument->setLastModifiedDate(getCurrentDateTime()); @@ -77,7 +77,7 @@ class KTDocumentUtil { if (PEAR::isError($bSuccess)) { return $bSuccess; } - return PEAR::raiseError(_("An error occurred while storing this document in the database")); + return PEAR::raiseError(_kt("An error occurred while storing this document in the database")); } // create the document transaction record @@ -127,7 +127,7 @@ class KTDocumentUtil { $oDocument->setIsCheckedOut(true); $oDocument->setCheckedOutUserID($oUser->getId()); - if (!$oDocument->update()) { return PEAR::raiseError(_("There was a problem checking out the document.")); } + if (!$oDocument->update()) { return PEAR::raiseError(_kt("There was a problem checking out the document.")); } $oKTTriggerRegistry = KTTriggerRegistry::getSingleton(); $aTriggers = $oKTTriggerRegistry->getTriggers('checkout', 'postValidate'); @@ -165,7 +165,7 @@ class KTDocumentUtil { } else { $iDocumentTypeId = 1; } - $oUploadChannel->sendMessage(new KTUploadGenericMessage(_("Creating database entry"))); + $oUploadChannel->sendMessage(new KTUploadGenericMessage(_kt("Creating database entry"))); $oDocument =& Document::createFromArray(array( 'name' => $sDescription, 'description' => $sDescription, @@ -185,7 +185,7 @@ class KTDocumentUtil { return $res; } } else { - // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_("Storing contents"))); + // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_kt("Storing contents"))); $res = KTDocumentUtil::storeContents($oDocument, $oContents, $aOptions); if (PEAR::isError($res)) { $oDocument->delete(); @@ -200,7 +200,7 @@ class KTDocumentUtil { return $res; } } else { - // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_("Saving metadata"))); + // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_kt("Saving metadata"))); $res = KTDocumentUtil::saveMetadata($oDocument, $aMetadata); if (PEAR::isError($res)) { $oDocument->delete(); @@ -387,12 +387,12 @@ class KTDocumentUtil { if (KTDocumentUtil::fileExists($oFolder, $sFilename)) { $oDoc = Document::getByFilenameAndFolder($sFilename, $oFolder->getId()); if (PEAR::isError($oDoc)) { - return PEAR::raiseError(_("Document with that filename already exists in this folder, and appears to be invalid. Please contact the system administrator.")); + return PEAR::raiseError(_kt("Document with that filename already exists in this folder, and appears to be invalid. Please contact the system administrator.")); } else { if ($oDoc->getStatusID != LIVE) { - return PEAR::raiseError(_("Document with that filename already exists in this folder, but it has been archived or deleted and is still available for restoration. To prevent it being overwritten, you are not allowed to add a document with the same title or filename.")); + return PEAR::raiseError(_kt("Document with that filename already exists in this folder, but it has been archived or deleted and is still available for restoration. To prevent it being overwritten, you are not allowed to add a document with the same title or filename.")); } else { - return PEAR::raiseError(_("Document with that filename already exists in this folder.")); + return PEAR::raiseError(_kt("Document with that filename already exists in this folder.")); } } } @@ -400,12 +400,12 @@ class KTDocumentUtil { if (KTDocumentUtil::nameExists($oFolder, $sName)) { $oDoc = Document::getByNameAndFolder($sName, $oFolder->getId()); if (PEAR::isError($oDoc)) { - return PEAR::raiseError(_("Document with that title already exists in this folder, and appears to be invalid. Please contact the system administrator.")); + return PEAR::raiseError(_kt("Document with that title already exists in this folder, and appears to be invalid. Please contact the system administrator.")); } else { if ($oDoc->getStatusID != LIVE) { - return PEAR::raiseError(_("Document with that title already exists in this folder, but it has been archived or deleted and is still available for restoration. To prevent it being overwritten, you are not allowed to add a document with the same title or filename.")); + return PEAR::raiseError(_kt("Document with that title already exists in this folder, but it has been archived or deleted and is still available for restoration. To prevent it being overwritten, you are not allowed to add a document with the same title or filename.")); } else { - return PEAR::raiseError(_("Document with that title already exists in this folder.")); + return PEAR::raiseError(_kt("Document with that title already exists in this folder.")); } } @@ -413,12 +413,12 @@ class KTDocumentUtil { $oUploadChannel =& KTUploadChannel::getSingleton(); $oUploadChannel->sendMessage(new KTUploadNewFile($sFilename)); $oDocument =& KTDocumentUtil::_add($oFolder, $sFilename, $oUser, $aOptions); - // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_("Document created"))); + // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_kt("Document created"))); if (PEAR::isError($oDocument)) { return $oDocument; } - // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_("Scanning file"))); + // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_kt("Scanning file"))); $oKTTriggerRegistry = KTTriggerRegistry::getSingleton(); $aTriggers = $oKTTriggerRegistry->getTriggers('content', 'scan'); $iTrigger = 0; @@ -426,7 +426,7 @@ class KTDocumentUtil { $sTrigger = $aTrigger[0]; $oTrigger = new $sTrigger; $oTrigger->setDocument($oDocument); - // $oUploadChannel->sendMessage(new KTUploadGenericMessage(sprintf(_(" (trigger %s)"), $sTrigger))); + // $oUploadChannel->sendMessage(new KTUploadGenericMessage(sprintf(_kt(" (trigger %s)"), $sTrigger))); $ret = $oTrigger->scan(); if (PEAR::isError($ret)) { $oDocument->delete(); @@ -434,7 +434,7 @@ class KTDocumentUtil { } } - $oUploadChannel->sendMessage(new KTUploadGenericMessage(_("Transforming file"))); + $oUploadChannel->sendMessage(new KTUploadGenericMessage(_kt("Transforming file"))); $oKTTriggerRegistry = KTTriggerRegistry::getSingleton(); $aTriggers = $oKTTriggerRegistry->getTriggers('content', 'transform'); foreach ($aTriggers as $aTrigger) { @@ -444,11 +444,11 @@ class KTDocumentUtil { } $oTrigger = new $sTrigger; $oTrigger->setDocument($oDocument); - // $oUploadChannel->sendMessage(new KTUploadGenericMessage(sprintf(_(" (trigger %s)"), $sTrigger))); + // $oUploadChannel->sendMessage(new KTUploadGenericMessage(sprintf(_kt(" (trigger %s)"), $sTrigger))); $oTrigger->transform(); } - // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_("Creating transaction"))); + // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_kt("Creating transaction"))); $aOptions = array('user' => $oUser); //create the document transaction record $oDocumentTransaction = & new DocumentTransaction($oDocument, "Document created", 'ktcore.transactions.create', $aOptions); @@ -458,7 +458,7 @@ class KTDocumentUtil { return $res; } - // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_("Sending subscriptions"))); + // $oUploadChannel->sendMessage(new KTUploadGenericMessage(_kt("Sending subscriptions"))); // fire subscription alerts for the checked in document $oSubscriptionEvent = new SubscriptionEvent(); $oFolder = Folder::get($oDocument->getFolderID()); @@ -479,7 +479,7 @@ class KTDocumentUtil { } KTDocumentUtil::updateSearchableText($oDocument, true); - $oUploadChannel->sendMessage(new KTUploadGenericMessage(_("All done..."))); + $oUploadChannel->sendMessage(new KTUploadGenericMessage(_kt("All done..."))); return $oDocument; } @@ -593,7 +593,7 @@ class KTDocumentUtil { } if (PEAR::isError($oDocument) || ($oDocument == false)) { return PEAR::raiseError('Invalid document object.'); } - if ($oDocument->getIsCheckedOut() == true) { return PEAR::raiseError(sprintf(_('The document is checked out and cannot be deleted: %s'), $oDocument->getName())); } + if ($oDocument->getIsCheckedOut() == true) { return PEAR::raiseError(sprintf(_kt('The document is checked out and cannot be deleted: %s'), $oDocument->getName())); } // IF we're deleted ... if ($oDocument->getStatusID() == DELETED) { return true; } @@ -607,7 +607,7 @@ class KTDocumentUtil { $res = $oDocument->update(); if (PEAR::isError($res) || ($res == false)) { DBUtil::rollback(); - return PEAR::raiseError(_("There was a problem deleting the document from the database.")); + return PEAR::raiseError(_kt("There was a problem deleting the document from the database.")); } // now move the document to the delete folder @@ -629,7 +629,7 @@ class KTDocumentUtil { $oDocument->update(); */ - return PEAR::raiseError(_("There was a problem deleting the document from storage.")); + return PEAR::raiseError(_kt("There was a problem deleting the document from storage.")); } $oDocumentTransaction = & new DocumentTransaction($oDocument, "Document deleted: " . $sReason, 'ktcore.transactions.delete'); @@ -774,7 +774,7 @@ class KTDocumentUtil { $res = $oStorage->renameDocument($oDocument, $oOldContentVersion, $sNewFilename); if (!$res) { - return PEAR::raiseError(_("An error occurred while storing the new file")); + return PEAR::raiseError(_kt("An error occurred while storing the new file")); } $oDocument->setLastModifiedDate(getCurrentDateTime()); @@ -786,7 +786,7 @@ class KTDocumentUtil { if (PEAR::isError($bSuccess)) { return $bSuccess; } - return PEAR::raiseError(_("An error occurred while storing this document in the database")); + return PEAR::raiseError(_kt("An error occurred while storing this document in the database")); } // create the document transaction record @@ -806,7 +806,7 @@ class KTDocumentUtil { class KTMetadataValidationError extends PEAR_Error { function KTMetadataValidationError ($aFailed) { $this->aFailed = $aFailed; - $message = _('Validation Failed'); + $message = _kt('Validation Failed'); parent::PEAR_Error($message); } } diff --git a/lib/email/Email.inc b/lib/email/Email.inc index 3488e5e..82b4385 100644 --- a/lib/email/Email.inc +++ b/lib/email/Email.inc @@ -212,7 +212,7 @@ class Email { $this->oMailer->FromName = $FromName; $this->oMailer->AddAddress($ToEmail); $this->oMailer->Subject = stripslashes($Subj) . ' ' . $hyperlink; //only difference from above - $this->oMailer->Body = stripslashes($EmailBody) . "