about summary refs log tree commit diff stats
path: root/update/library/trunk/instadisc.php
diff options
context:
space:
mode:
Diffstat (limited to 'update/library/trunk/instadisc.php')
-rw-r--r--update/library/trunk/instadisc.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/update/library/trunk/instadisc.php b/update/library/trunk/instadisc.php index 7c1a763..1b764f8 100644 --- a/update/library/trunk/instadisc.php +++ b/update/library/trunk/instadisc.php
@@ -9,6 +9,7 @@ $idusSubscriptionID = array();
9$idusSeriesUsername = array(); 9$idusSeriesUsername = array();
10$idusSeriesPassword = array(); 10$idusSeriesPassword = array();
11$idusSubscriptionURL = array(); 11$idusSubscriptionURL = array();
12$idusSubscriptionTitle = array();
12$idusSubscriptionCategory = array(); 13$idusSubscriptionCategory = array();
13$idusSubscriptionPersonal = array(); 14$idusSubscriptionPersonal = array();
14$idusEncryptionKey = array(); 15$idusEncryptionKey = array();
@@ -16,7 +17,7 @@ $instaDisc_subCount = 0;
16 17
17function instaDisc_sendItem($id, $title, $author, $url, $semantics) 18function instaDisc_sendItem($id, $title, $author, $url, $semantics)
18{ 19{
19 global $idusSubscriptionSeriesURL, $idusSubscriptionID, $idusSeriesUsername, $idusSeriesPassword, $idusSubscriptionURL, $idusSubscriptionCategory, $idusSubscriptionPersonal, $idusEncryptionKey; 20 global $idusSubscriptionSeriesURL, $idusSubscriptionID, $idusSeriesUsername, $idusSeriesPassword, $idusSubscriptionURL, $idusSubscriptionTitle, $idusSubscriptionCategory, $idusSubscriptionPersonal, $idusEncryptionKey;
20 21
21 $encID = 0; 22 $encID = 0;
22 if (($idusEncryptionKey[$id] != '') && extension_loaded('mcrypt')) 23 if (($idusEncryptionKey[$id] != '') && extension_loaded('mcrypt'))
@@ -72,14 +73,15 @@ function instaDisc_sendItem($id, $title, $author, $url, $semantics)
72 } 73 }
73} 74}
74 75
75function instaDisc_addSubscription($url, $id, $un, $pw, $sUrl, $cat, $personal = '', $enc = '') 76function instaDisc_addSubscription($url, $id, $un, $pw, $sUrl, $title, $cat, $personal = '', $enc = '')
76{ 77{
77 global $instaDisc_subCount, $idusSubscriptionSeriesURL, $idusSubscriptionID, $idusSeriesUsername, $idusSeriesPassword, $idusSubscriptionURL, $idusSubscriptionCategory, $idusSubscriptionPersonal, $idusEncryptionKey; 78 global $instaDisc_subCount, $idusSubscriptionSeriesURL, $idusSubscriptionID, $idusSeriesUsername, $idusSeriesPassword, $idusSubscriptionURL, $idusSubscriptionTitle, $idusSubscriptionCategory, $idusSubscriptionPersonal, $idusEncryptionKey;
78 $idusSubscriptionSeriesURL[$instaDisc_subCount] = $url; 79 $idusSubscriptionSeriesURL[$instaDisc_subCount] = $url;
79 $idusSubscriptionID[$instaDisc_subCount] = $id; 80 $idusSubscriptionID[$instaDisc_subCount] = $id;
80 $idusSeriesUsername[$instaDisc_subCount] = $un; 81 $idusSeriesUsername[$instaDisc_subCount] = $un;
81 $idusSeriesPassword[$instaDisc_subCount] = $pw; 82 $idusSeriesPassword[$instaDisc_subCount] = $pw;
82 $idusSubscriptionURL[$instaDisc_subCount] = $sUrl; 83 $idusSubscriptionURL[$instaDisc_subCount] = $sUrl;
84 $idusSubscriptionTitle[$instaDisc_subCount] = $title;
83 $idusSubscriptionCategory[$instaDisc_subCount] = $cat; 85 $idusSubscriptionCategory[$instaDisc_subCount] = $cat;
84 $idusSubscriptionPersonal[$instaDisc_subCount] = ($personal != '' ? 'true' : 'false'); 86 $idusSubscriptionPersonal[$instaDisc_subCount] = ($personal != '' ? 'true' : 'false');
85 $idusEncryptionKey[$instaDisc_subCount] = $enc; 87 $idusEncryptionKey[$instaDisc_subCount] = $enc;