Changeset 2387
- Timestamp:
- 12/31/2009 01:10:17 AM (16 years ago)
- Location:
- trunk/bb-includes
- Files:
-
- 2 edited
-
functions.bb-meta.php (modified) (1 diff)
-
functions.bb-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/functions.bb-meta.php
r2336 r2387 298 298 break; 299 299 case 'version': 300 return '1. 0.2'; // Don't filter300 return '1.1-alpha'; // Don't filter 301 301 break; 302 302 case 'bb_db_version' : -
trunk/bb-includes/functions.bb-template.php
r2385 r2387 3390 3390 3391 3391 function bb_user_subscribe_link() { 3392 global $topic, $bb_current_user, $bbdb ;3392 global $topic, $bb_current_user, $bbdb, $bb; 3393 3393 3394 3394 if ( !$bb_current_user ) … … 3404 3404 3405 3405 if ( $there ) 3406 echo '<a href="'. bb_nonce_url( " /?doit=bb-subscribe&topic_id=$topic->topic_id&and=remove", 'toggle-subscribe_' . $topic->topic_id ) .'">' . __( 'Unsubscribe from Topic' ) . '</a>';3406 echo '<a href="'. bb_nonce_url( "$bb->uri?doit=bb-subscribe&topic_id=$topic->topic_id&and=remove", 'toggle-subscribe_' . $topic->topic_id ) .'">' . __( 'Unsubscribe from Topic' ) . '</a>'; 3407 3407 else 3408 echo '<a href="'. bb_nonce_url( " /?doit=bb-subscribe&topic_id=$topic->topic_id&and=add", 'toggle-subscribe_' . $topic->topic_id ) .'">' . __( 'Subscribe to Topic' ) . '</a>';3408 echo '<a href="'. bb_nonce_url( "$bb->uri?doit=bb-subscribe&topic_id=$topic->topic_id&and=add", 'toggle-subscribe_' . $topic->topic_id ) .'">' . __( 'Subscribe to Topic' ) . '</a>'; 3409 3409 3410 3410 }
Note: See TracChangeset
for help on using the changeset viewer.