Subscribe to Comments - Version 2.0.7

Version Description

Download this release

Release Info

Developer markjaquith
Plugin Icon wp plugin Subscribe to Comments
Version 2.0.7
Comparing to
See all releases

Code changes from version 2.0.6 to 2.0.7

Files changed (1) hide show
  1. subscribe-to-comments.php +5 -4
subscribe-to-comments.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Subscribe To Comments
4
- Version: 2.0.6
5
  Plugin URI: http://txfx.net/code/wordpress/subscribe-to-comments/
6
  Description: Allows readers to recieve notifications of new comments that are posted to an entry. Based on version 1 from <a href="http://scriptygoddess.com/">Scriptygoddess</a>
7
  Author: Mark Jaquith
@@ -33,7 +33,7 @@ function show_subscription_checkbox ($id='0') {
33
  <?php /* This is the text that is displayed for users who are NOT subscribed */ ?>
34
  <?php /* ------------------------------------------------------------------- */ ?>
35
 
36
- <p <?php if ($sg_subscribe->clear_both) echo 'style="clear: both;" '; ?> class="subscribe-to-comments">
37
  <input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: auto;" <?php if ($sg_subscribe->default_subscribed) echo 'checked="checked" '; ?>/>
38
  <label for="subscribe"><?php echo $sg_subscribe->not_subscribed_text; ?></label>
39
  </p>
@@ -46,7 +46,7 @@ function show_subscription_checkbox ($id='0') {
46
  <?php /* This is the text that is displayed for the author of the post */ ?>
47
  <?php /* ------------------------------------------------------------- */ ?>
48
 
49
- <p <?php if ($sg_subscribe->clear_both) echo 'style="clear: both;" '; ?> class="subscribe-to-comments">
50
  <?php echo str_replace('[manager_link]', $sg_subscribe->manage_link($email, true, false), $sg_subscribe->author_text); ?>
51
  </p>
52
 
@@ -56,7 +56,7 @@ function show_subscription_checkbox ($id='0') {
56
  <?php /* This is the text that is displayed for users who ARE subscribed */ ?>
57
  <?php /* --------------------------------------------------------------- */ ?>
58
 
59
- <p <?php if ($sg_subscribe->clear_both) echo 'style="clear: both;" '; ?> class="subscribe-to-comments">
60
  <?php echo str_replace('[manager_link]', $sg_subscribe->manage_link($email, true, false), $sg_subscribe->subscribed_text); ?>
61
  </p>
62
 
@@ -272,6 +272,7 @@ class sg_subscribe {
272
  $this->not_subscribed_text = stripslashes($this->settings['not_subscribed_text']);
273
  $this->subscribed_text = stripslashes($this->settings['subscribed_text']);
274
  $this->author_text = stripslashes($this->settings['author_text']);
 
275
 
276
  $this->errors = '';
277
  $this->post_subscriptions = '';
1
  <?php
2
  /*
3
  Plugin Name: Subscribe To Comments
4
+ Version: 2.0.7
5
  Plugin URI: http://txfx.net/code/wordpress/subscribe-to-comments/
6
  Description: Allows readers to recieve notifications of new comments that are posted to an entry. Based on version 1 from <a href="http://scriptygoddess.com/">Scriptygoddess</a>
7
  Author: Mark Jaquith
33
  <?php /* This is the text that is displayed for users who are NOT subscribed */ ?>
34
  <?php /* ------------------------------------------------------------------- */ ?>
35
 
36
+ <p <?php if ($sg_subscribe->clear_both) echo 'style="clear: both;" '; ?>class="subscribe-to-comments">
37
  <input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: auto;" <?php if ($sg_subscribe->default_subscribed) echo 'checked="checked" '; ?>/>
38
  <label for="subscribe"><?php echo $sg_subscribe->not_subscribed_text; ?></label>
39
  </p>
46
  <?php /* This is the text that is displayed for the author of the post */ ?>
47
  <?php /* ------------------------------------------------------------- */ ?>
48
 
49
+ <p <?php if ($sg_subscribe->clear_both) echo 'style="clear: both;" '; ?>class="subscribe-to-comments">
50
  <?php echo str_replace('[manager_link]', $sg_subscribe->manage_link($email, true, false), $sg_subscribe->author_text); ?>
51
  </p>
52
 
56
  <?php /* This is the text that is displayed for users who ARE subscribed */ ?>
57
  <?php /* --------------------------------------------------------------- */ ?>
58
 
59
+ <p <?php if ($sg_subscribe->clear_both) echo 'style="clear: both;" '; ?>class="subscribe-to-comments">
60
  <?php echo str_replace('[manager_link]', $sg_subscribe->manage_link($email, true, false), $sg_subscribe->subscribed_text); ?>
61
  </p>
62
 
272
  $this->not_subscribed_text = stripslashes($this->settings['not_subscribed_text']);
273
  $this->subscribed_text = stripslashes($this->settings['subscribed_text']);
274
  $this->author_text = stripslashes($this->settings['author_text']);
275
+ $this->clear_both = $this->settings['clear_both'];
276
 
277
  $this->errors = '';
278
  $this->post_subscriptions = '';