Changeset 864
- Timestamp:
- 02/09/08 11:04:52 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
bbpress-theme-switcher/trunk/bb-theme-switcher.php
r863 r864 43 43 $bb_ts_add_dropdown=true; 44 44 echo '<form style="float:right;position:relative;clear:both;padding:5px;white-space:nowrap;text-align:right;">' 45 .$bb_ts_optional_text.__('Theme Switcher').': ';bb_theme_switcher('dropdown'); echo '</form> ;45 .$bb_ts_optional_text.__('Theme Switcher').': ';bb_theme_switcher('dropdown'); echo '</form>'; 46 46 } 47 47 return $template; … … 49 49 50 50 function bb_ts_set_theme_cookie($timeout=180) { global $bbhash; 51 $expire = time() + $timeout;51 $expire = time() + intval($timeout); 52 52 if (!empty($_GET["bbtheme"])) { 53 53 if ( bb_get_option( 'cookiedomain' ) ) {
