Changeset 864

Show
Ignore:
Timestamp:
02/09/08 11:04:52 (10 months ago)
Author:
_ck_
Message:

oops, typo, let's try this again

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bbpress-theme-switcher/trunk/bb-theme-switcher.php

    r863 r864  
    4343$bb_ts_add_dropdown=true; 
    4444echo '<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>'
    4646} 
    4747return $template;        
     
    4949 
    5050function bb_ts_set_theme_cookie($timeout=180) { global $bbhash; 
    51         $expire = time() + $timeout;           
     51        $expire = time() + intval($timeout);           
    5252        if (!empty($_GET["bbtheme"])) {          
    5353                if ( bb_get_option( 'cookiedomain' ) ) {