Commit 1a15c8376e8987ff6f54442435412d0cfc1324ad

Authored by Michael Joseph
1 parent f1785df4

s/http/https/g


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@910 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/subscriptions/AlertContent.inc
@@ -35,27 +35,27 @@ class AlertContent { @@ -35,27 +35,27 @@ class AlertContent {
35 $aAlertContent = array(SubscriptionConstants::subscriptionAlertType("AddFolder") => 35 $aAlertContent = array(SubscriptionConstants::subscriptionAlertType("AddFolder") =>
36 "A new folder '" . $aValues["newFolderName"] . "' has been added to folder '" . $aValues["parentFolderName"] . "'.<br>" . 36 "A new folder '" . $aValues["newFolderName"] . "' has been added to folder '" . $aValues["parentFolderName"] . "'.<br>" .
37 "Please clear this subscription alert by clicking on the following link: " . 37 "Please clear this subscription alert by clicking on the following link: " .
38 - "<a href=\"http://" . $_SERVER["SERVER_NAME"] . "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php?fSubscriptionID=" . $aValues["subscriptionID"] . "&fSubscriptionType=" . $aValues["subscriptionType"] . "\">" . $aValues["parentFolderName"] . "</a>", 38 + "<a href=\"https://" . $_SERVER["SERVER_NAME"] . "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php?fSubscriptionID=" . $aValues["subscriptionID"] . "&fSubscriptionType=" . $aValues["subscriptionType"] . "\">" . $aValues["parentFolderName"] . "</a>",
39 39
40 SubscriptionConstants::subscriptionAlertType("RemoveFolder") => 40 SubscriptionConstants::subscriptionAlertType("RemoveFolder") =>
41 "The folder '" . $aValues["removedFolderName"] . "' has been removed from folder '" . $aValues["parentFolderName"] . "'.<br>" . 41 "The folder '" . $aValues["removedFolderName"] . "' has been removed from folder '" . $aValues["parentFolderName"] . "'.<br>" .
42 "Please clear this subscription alert by clicking on the following link: " . 42 "Please clear this subscription alert by clicking on the following link: " .
43 - "<a href=\"http://" . $_SERVER["SERVER_NAME"] . "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php?fSubscriptionID=" . $aValues["subscriptionID"] . "&fSubscriptionType=" . $aValues["subscriptionType"] . "\">" . $aValues["parentFolderName"] . "</a>", 43 + "<a href=\"https://" . $_SERVER["SERVER_NAME"] . "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php?fSubscriptionID=" . $aValues["subscriptionID"] . "&fSubscriptionType=" . $aValues["subscriptionType"] . "\">" . $aValues["parentFolderName"] . "</a>",
44 44
45 SubscriptionConstants::subscriptionAlertType("AddDocument") => 45 SubscriptionConstants::subscriptionAlertType("AddDocument") =>
46 "A new document '" . $aValues["newDocumentName"] . "' has been added to folder '" . $aValues["folderName"] . "'.<br>" . 46 "A new document '" . $aValues["newDocumentName"] . "' has been added to folder '" . $aValues["folderName"] . "'.<br>" .
47 "Please clear this subscription alert by clicking on the following link: " . 47 "Please clear this subscription alert by clicking on the following link: " .
48 - "<a href=\"http://" . $_SERVER["SERVER_NAME"] . "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php?fSubscriptionID=" . $aValues["subscriptionID"] . "&fSubscriptionType=" . $aValues["subscriptionType"] . "\">" . $aValues["newDocumentName"] . "</a>", 48 + "<a href=\"https://" . $_SERVER["SERVER_NAME"] . "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php?fSubscriptionID=" . $aValues["subscriptionID"] . "&fSubscriptionType=" . $aValues["subscriptionType"] . "\">" . $aValues["newDocumentName"] . "</a>",
49 49
50 SubscriptionConstants::subscriptionAlertType("RemoveDocument") => 50 SubscriptionConstants::subscriptionAlertType("RemoveDocument") =>
51 "The document '" . $aValues["removedDocumentName"] . "' has been removed from folder '" . $aValues["folderName"] . "'.<br>" . 51 "The document '" . $aValues["removedDocumentName"] . "' has been removed from folder '" . $aValues["folderName"] . "'.<br>" .
52 "Please clear this subscription alert by clicking on the following link: " . 52 "Please clear this subscription alert by clicking on the following link: " .
53 - "<a href=\"http://" . $_SERVER["SERVER_NAME"] . "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php?fSubscriptionID=" . $aValues["subscriptionID"] . "&fSubscriptionType=" . $aValues["subscriptionType"] . "\">" . $aValues["folderName"] . "</a>", 53 + "<a href=\"https://" . $_SERVER["SERVER_NAME"] . "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php?fSubscriptionID=" . $aValues["subscriptionID"] . "&fSubscriptionType=" . $aValues["subscriptionType"] . "\">" . $aValues["folderName"] . "</a>",
54 54
55 SubscriptionConstants::subscriptionAlertType("ModifyDocument") => 55 SubscriptionConstants::subscriptionAlertType("ModifyDocument") =>
56 "The document '" . $aValues["modifiedDocumentName"] . "' has been modified.<br>" . 56 "The document '" . $aValues["modifiedDocumentName"] . "' has been modified.<br>" .
57 "Please clear this subscription alert by clicking on the following link: " . 57 "Please clear this subscription alert by clicking on the following link: " .
58 - "<a href=\"http://" . $_SERVER["SERVER_NAME"] . "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php?fSubscriptionID=" . $aValues["subscriptionID"] . "&fSubscriptionType=" . $aValues["subscriptionType"] . "\">" . $aValues["modifiedDocumentName"] . "</a>"); 58 + "<a href=\"https://" . $_SERVER["SERVER_NAME"] . "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php?fSubscriptionID=" . $aValues["subscriptionID"] . "&fSubscriptionType=" . $aValues["subscriptionType"] . "\">" . $aValues["modifiedDocumentName"] . "</a>");
59 59
60 return array ("subject" => $aAlertSubject[$iSubscriptionAlertType], 60 return array ("subject" => $aAlertSubject[$iSubscriptionAlertType],
61 "text" => "Hello " . $aValues["subscriberName"] . "<br><br>" . $aAlertContent[$iSubscriptionAlertType]); 61 "text" => "Hello " . $aValues["subscriberName"] . "<br><br>" . $aAlertContent[$iSubscriptionAlertType]);