diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-29 20:42:51 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-29 20:42:51 +0000 |
commit | d05ddcc7a11e9380a98d1f7cc9cad6fe20f0f6af (patch) | |
tree | 1ac0d4ed39b00a6aad1a8d6f4a10b438ef8846d9 /update | |
parent | 6c12a9b9d1bb51a74e97dc337e2ec2053253327f (diff) | |
download | instadisc-d05ddcc7a11e9380a98d1f7cc9cad6fe20f0f6af.tar.gz instadisc-d05ddcc7a11e9380a98d1f7cc9cad6fe20f0f6af.tar.bz2 instadisc-d05ddcc7a11e9380a98d1f7cc9cad6fe20f0f6af.zip |
Update: Fixed "blog-comment"
Fixes #72
Diffstat (limited to 'update')
-rw-r--r-- | update/plugin/wordpress/trunk/instadisc/instadisc.php | 2 | ||||
-rw-r--r-- | update/plugin/wordpress/trunk/instadisc/subscription.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/update/plugin/wordpress/trunk/instadisc/instadisc.php b/update/plugin/wordpress/trunk/instadisc/instadisc.php index 6237080..912d9a6 100644 --- a/update/plugin/wordpress/trunk/instadisc/instadisc.php +++ b/update/plugin/wordpress/trunk/instadisc/instadisc.php | |||
@@ -175,7 +175,7 @@ function sendComment($id) | |||
175 | $author = $comment->comment_author; | 175 | $author = $comment->comment_author; |
176 | $url = get_permalink($comment->comment_post_ID) . "#comments-" . $id; | 176 | $url = get_permalink($comment->comment_post_ID) . "#comments-" . $id; |
177 | 177 | ||
178 | $subscriptionURL = 'http://' . $_SERVER['SERVER_NAME'] . '/blog-comment/' . generateSlug(get_option('instaDisc_subscription_title')) . '/'; | 178 | $subscriptionURL = 'http://' . $_SERVER['SERVER_NAME'] . '/comment/' . generateSlug(get_option('instaDisc_subscription_title')) . '/'; |
179 | 179 | ||
180 | $encID = 0; | 180 | $encID = 0; |
181 | if (get_option('instaDisc_comment_password') != '') | 181 | if (get_option('instaDisc_comment_password') != '') |
diff --git a/update/plugin/wordpress/trunk/instadisc/subscription.php b/update/plugin/wordpress/trunk/instadisc/subscription.php index 9889655..06abad9 100644 --- a/update/plugin/wordpress/trunk/instadisc/subscription.php +++ b/update/plugin/wordpress/trunk/instadisc/subscription.php | |||
@@ -7,7 +7,7 @@ echo('<DIV STYLE="display: none">: ' . "\n"); | |||
7 | if (isset($_GET['comment'])) | 7 | if (isset($_GET['comment'])) |
8 | { | 8 | { |
9 | echo('Subscription: '); | 9 | echo('Subscription: '); |
10 | echo('http://' . $_SERVER['SERVER_NAME'] . '/blog-comment/' . generateSlug(get_option('instaDisc_subscription_title')) . '/'); | 10 | echo('http://' . $_SERVER['SERVER_NAME'] . '/comment/' . generateSlug(get_option('instaDisc_subscription_title')) . '/'); |
11 | echo("\n"); | 11 | echo("\n"); |
12 | 12 | ||
13 | echo('Title: '); | 13 | echo('Title: '); |
@@ -15,7 +15,7 @@ if (isset($_GET['comment'])) | |||
15 | echo(' Comments'); | 15 | echo(' Comments'); |
16 | echo("\n"); | 16 | echo("\n"); |
17 | 17 | ||
18 | echo('Category: blog-comment'); | 18 | echo('Category: comment'); |
19 | echo("\n"); | 19 | echo("\n"); |
20 | 20 | ||
21 | if (get_option('instaDisc_comment_password') != '') | 21 | if (get_option('instaDisc_comment_password') != '') |
@@ -27,7 +27,7 @@ if (isset($_GET['comment'])) | |||
27 | } | 27 | } |
28 | 28 | ||
29 | ?> | 29 | ?> |
30 | End: </DIV><DIV STYLE="margin: 0 auto; margin-top: 5em; width: 500px; background-color: #FBEC5D; text-align: center; padding: 4px;"><B>This is an InstaDisc Subscription file.</B><P>If you would like to subscribe to the InstaDisc subscription:<BR><I><?php echo(get_option('instaDisc_subscription_title')); ?></I> (<U>blog-comment</U>)<BR>Copy the address of this file to the "Add Subscription" form on your InstaDisc client.</DIV> | 30 | End: </DIV><DIV STYLE="margin: 0 auto; margin-top: 5em; width: 500px; background-color: #FBEC5D; text-align: center; padding: 4px;"><B>This is an InstaDisc Subscription file.</B><P>If you would like to subscribe to the InstaDisc subscription:<BR><I><?php echo(get_option('instaDisc_subscription_title')); ?></I> (<U>comment</U>)<BR>Copy the address of this file to the "Add Subscription" form on your InstaDisc client.</DIV> |
31 | <?php | 31 | <?php |
32 | 32 | ||
33 | if (get_option('instaDisc_comment_password') != '') | 33 | if (get_option('instaDisc_comment_password') != '') |