FluxBB.org

Changeset 720

Show
Ignore:
Timestamp:
11/08/08 19:57:28 (2 months ago)
Author:
Paul
Message:

See note with r.719

Location:
fluxbb/branches/fluxbb-1.3-dev/upload
Files:
6 removed
6 modified

Legend:

Unmodified
Added
Removed
  • fluxbb/branches/fluxbb-1.3-dev/upload/footer.php

    r663 r720  
    1313        exit; 
    1414 
    15 // START SUBST - <!-- forum_about --> 
     15// START SUBST - <!-- forum_qjump --> 
     16if ($forum_user['g_read_board'] == '1' && $forum_config['o_quickjump'] == '1') 
     17{ 
     18 
    1619ob_start(); 
    1720 
    18 ($hook = get_hook('ft_about_output_start')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
     21($hook = get_hook('ft_qjump_output_start')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    1922 
    2023// Display the "Jump to" drop list 
    21 if ($forum_user['g_read_board'] == '1' && $forum_config['o_quickjump'] == '1') 
    22 { 
    2324        // Load cached quickjump 
    2425        if (file_exists(FORUM_CACHE_DIR.'cache_quickjump_'.$forum_user['g_id'].'.php')) 
     
    3334                require FORUM_CACHE_DIR.'cache_quickjump_'.$forum_user['g_id'].'.php'; 
    3435        } 
     36 
     37($hook = get_hook('ft_qjump_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
     38 
     39$tpl_temp = forum_trim(ob_get_contents()); 
     40$tpl_main = str_replace('<!-- forum_qjump -->', $tpl_temp, $tpl_main); 
     41ob_end_clean(); 
     42 
    3543} 
     44// END SUBST - <!-- forum_qjump --> 
    3645 
    3746 
    38 ($hook = get_hook('ft_about_pre_copyright')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
     47// START SUBST - <!-- forum_about --> 
     48ob_start(); 
     49 
     50($hook = get_hook('ft_about_pre_about')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    3951 
    4052// End the transaction 
     
    4254 
    4355?> 
    44         <p id="copyright"><?php echo sprintf($lang_common['Powered by'], '<a href="http://fluxbb.org/">FluxBB</a>'.($forum_config['o_show_version'] == '1' ? ' '.$forum_config['o_cur_version'] : '')); ?></p> 
     56        <div id="brd-about"> 
     57                <p id="copyright"><?php echo sprintf($lang_common['Powered by'], '<a href="http://fluxbb.org/">FluxBB</a>'.($forum_config['o_show_version'] == '1' ? ' '.$forum_config['o_cur_version'] : '')); ?></p> 
     58        </div> 
    4559<?php 
    4660 
  • fluxbb/branches/fluxbb-1.3-dev/upload/header.php

    r664 r720  
    171171 
    172172// Main Navigation 
    173 $gen_elements['<!-- forum_navlinks -->'] = '<ul>'."\n\t\t".generate_navlinks()."\n\t".'</ul>'; 
     173$gen_elements['<!-- forum_navlinks -->'] = '<ul>'."\n\t\t\t".generate_navlinks()."\n\t\t".'</ul>'; 
    174174 
    175175// Announcement 
    176 $gen_elements['<!-- forum_announcement -->'] = ($forum_config['o_announcement'] == '1' && $forum_user['g_read_board'] == '1') ? '<div id="brd-announcement" class="gen-content">'."\n\t".'<div class="userbox">'.($forum_config['o_announcement_heading'] != '' ? "\n\t\t".'<h1 class="msg-head">'.$forum_config['o_announcement_heading'].'</h1>' : '')."\n\t\t".$forum_config['o_announcement_message']."\n\t".'</div>'."\n".'</div>'."\n" : ''; 
     176$gen_elements['<!-- forum_announcement -->'] = ($forum_config['o_announcement'] == '1' && $forum_user['g_read_board'] == '1') ? '<div class="gen">'."\n\t".'<div id="brd-announcement" class="content">'."\n\t\t".'<div class="userbox">'.($forum_config['o_announcement_heading'] != '' ? "\n\t\t\t".'<h1 class="msg-head">'.$forum_config['o_announcement_heading'].'</h1>' : '')."\n\t\t\t".$forum_config['o_announcement_message']."\n\t\t".'</div>'."\n\t".'</div>'."\n".'</div>'."\n" : ''; 
    177177 
    178178// Maintenance Warning 
     
    280280 
    281281// Top breadcrumbs 
    282 $main_elements['<!-- forum_crumbs_top -->'] = (FORUM_PAGE != 'index') ? '<div id="brd-crumbs-top" class="crumbs gen-content">'."\n\t".'<p>'.generate_crumbs(false).'</p>'."\n".'</div>' : ''; 
     282$main_elements['<!-- forum_crumbs_top -->'] = (FORUM_PAGE != 'index') ? '<div id="brd-crumbs-top" class="s1-gen s1-crumbs">'."\n\t".'<p>'.generate_crumbs(false).'</p>'."\n".'</div>' : ''; 
    283283 
    284284// Bottom breadcrumbs 
    285 $main_elements['<!-- forum_crumbs_end -->'] = (FORUM_PAGE != 'index') ? '<div id="brd-crumbs-end" class="crumbs gen-content">'."\n\t".'<p>'.generate_crumbs(false).'</p>'."\n".'</div>' : ''; 
     285$main_elements['<!-- forum_crumbs_end -->'] = (FORUM_PAGE != 'index') ? '<div id="brd-crumbs-end" class="s1-gen s1-crumbs">'."\n\t".'<p>'.generate_crumbs(false).'</p>'."\n".'</div>' : ''; 
    286286 
    287287// Main section heading 
    288 $main_elements['<!-- forum_main_head -->'] =  '<div class="main-head">'."\n\t".'<h1 class="hn"><span>'.((isset($forum_page['main_head'])) ? $forum_page['main_head'] : end($forum_page['crumbs'])).(isset($forum_page['main_head_pages']) ? ' <small>'.$forum_page['main_head_pages'].'</small>' : '').'</span></h1>'."\n".'</div>'; 
     288$main_elements['<!-- forum_main_hd -->'] =  '<div class="main-hd">'."\n\t\t".'<h1 class="hn"><span>'.$forum_page['main_hd'].'</span></h1>'."\n\t".'</div>'."\n"; 
    289289 
    290290// Top pagination and post links 
    291 $main_elements['<!-- forum_main_pagepost_top -->'] = (!empty($forum_page['page_post'])) ? '<div id="brd-pagepost-top" class="main-pagepost gen-content">'."\n\t".implode("\n\t", $forum_page['page_post'])."\n".'</div>' : ''; 
     291$main_elements['<!-- forum_main_pagepost_top -->'] = (!empty($forum_page['page_post'])) ? '<div id="brd-pagepost-top" class="main-pagepost">'."\n\t\t".implode("\n\t\t", $forum_page['page_post'])."\n\t".'</div>' : ''; 
    292292 
    293293// Bottom pagination and postlink 
    294 $main_elements['<!-- forum_main_pagepost_end -->'] = (!empty($forum_page['page_post'])) ? '<div id="brd-pagepost-end" class="main-pagepost gen-content">'."\n\t".implode("\n\t", $forum_page['page_post'])."\n".'</div>' : ''; 
     294$main_elements['<!-- forum_main_pagepost_end -->'] = (!empty($forum_page['page_post'])) ? '<div id="brd-pagepost-end" class="main-pagepost">'."\n\t\t".implode("\n\t\t", $forum_page['page_post'])."\n\t".'</div>' : ''; 
    295295 
    296296// Main section menu e.g. profile menu 
    297 $main_elements['<!-- forum_main_menu -->'] = (!empty($forum_page['main_menu'])) ? '<div class="main-menu gen-content">'."\n\t".'<ul>'."\n\t\t".implode("\n\t\t", $forum_page['main_menu'])."\n\t".'</ul>'."\n".'</div>' : ''; 
     297$main_elements['<!-- forum_main_menu -->'] = (!empty($forum_page['main_menu'])) ? '<div class="main-menu gen-section">'."\n\t".'<ul>'."\n\t\t".implode("\n\t\t", $forum_page['main_menu'])."\n\t".'</ul>'."\n".'</div>' : ''; 
    298298 
    299299// Main section menu e.g. profile menu 
    300300if (substr(FORUM_PAGE, 0, 5) == 'admin' && FORUM_PAGE_TYPE != 'paged') 
    301301{ 
    302         $main_elements['<!-- forum_admin_menu -->'] = '<div class="admin-menu gen-content">'."\n\t".'<ul>'."\n\t\t".generate_admin_menu(false)."\n\t".'</ul>'."\n".'</div>'; 
     302        $main_elements['<!-- forum_admin_menu -->'] = '<div class="admin-menu gen-section">'."\n\t".'<ul>'."\n\t\t".generate_admin_menu(false)."\n\t".'</ul>'."\n".'</div>'; 
    303303 
    304304        $forum_page['admin_sub'] = generate_admin_menu(true); 
    305                 $main_elements['<!-- forum_admin_submenu -->'] = ($forum_page['admin_sub'] != '') ? '<div class="admin-submenu gen-content">'."\n\t".'<ul>'."\n\t\t".$forum_page['admin_sub']."\n\t".'</ul>'."\n".'</div>' : ''; 
     305                $main_elements['<!-- forum_admin_submenu -->'] = ($forum_page['admin_sub'] != '') ? '<div class="admin-submenu gen-section">'."\n\t".'<ul>'."\n\t\t".$forum_page['admin_sub']."\n\t".'</ul>'."\n".'</div>' : ''; 
    306306} 
    307307 
    308308// Main section options bar 
    309 $main_elements['<!-- forum_main_options -->'] = (!empty($forum_page['main_options'])) ? '<div class="main-options gen-content">'."\n\t\t".'<h2 class="hn"><span>'.$forum_page['main_options_head'].'</span></h2>'."\n\t\t".'<p class="options">'.implode(' ', $forum_page['main_options']).'</p>'."\n\t".'</div>' : ''; 
     309$main_elements['<!-- forum_main_options -->'] = (!empty($forum_page['main_options'])) ? '<div class="main-options">'."\n\t\t".'<h2 class="hn"><span>'.$forum_page['main_options_head'].'</span></h2>'."\n\t\t".'<p class="options">'.implode(' ', $forum_page['main_options']).'</p>'."\n\t".'</div>' : ''; 
    310310 
    311311($hook = get_hook('hd_main_elements')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
  • fluxbb/branches/fluxbb-1.3-dev/upload/include/cache.php

    r649 r720  
    204204 
    205205                $output = '<?php'."\n\n".'if (!defined(\'FORUM\')) exit;'."\n".'define(\'FORUM_QJ_LOADED\', 1);'."\n".'$forum_id = isset($forum_id) ? $forum_id : 0;'."\n\n".'?>'; 
    206                 $output .= '<form id="qjump" method="get" accept-charset="utf-8" action="'.$base_url.'/viewforum.php">'."\n\t".'<div class="frm-fld frm-select">'."\n\t\t".'<label for="qjump-select"><span><?php echo $lang_common[\'Jump to\'] ?>'.'</span></label><br />'."\n\t\t".'<span class="frm-input"><select id="qjump-select" name="id">'."\n"; 
     206                $output .= '<div id="brd-qjump">'."\n\t\t".'<form id="qjump" method="get" accept-charset="utf-8" action="'.$base_url.'/viewforum.php">'."\n\t\t".'<div class="frm-fld frm-select">'."\n\t\t\t".'<label for="qjump-select"><span><?php echo $lang_common[\'Jump to\'] ?>'.'</span></label><br />'."\n\t\t\t".'<span class="frm-input"><select id="qjump-select" name="id">'."\n"; 
    207207 
    208208                // Get the list of categories and forums from the DB 
     
    237237                        { 
    238238                                if ($cur_category) 
    239                                         $output .= "\t\t\t".'</optgroup>'."\n"; 
    240  
    241                                 $output .= "\t\t\t".'<optgroup label="'.forum_htmlencode($cur_forum['cat_name']).'">'."\n"; 
     239                                        $output .= "\t\t\t\t".'</optgroup>'."\n"; 
     240 
     241                                $output .= "\t\t\t\t".'<optgroup label="'.forum_htmlencode($cur_forum['cat_name']).'">'."\n"; 
    242242                                $cur_category = $cur_forum['cid']; 
    243243                        } 
     
    249249                } 
    250250 
    251                 $output .= "\t\t\t".'</optgroup>'."\n\t\t".'</select>'."\n\t\t".'<input type="submit" value="<?php echo $lang_common[\'Go\'] ?>" onclick="return Forum.doQuickjumpRedirect(forum_quickjump_url, sef_friendly_url_array);" /></span>'."\n\t".'</div>'."\n".'</form>'."\n"; 
    252                 $output .= '<script type="text/javascript">'."\n\t\t".'var forum_quickjump_url = "'.forum_link($forum_url['forum']).'";'."\n\t\t".'var sef_friendly_url_array = new Array('.$forum_db->num_rows($result).');'; 
     251                $output .= "\t\t\t\t".'</optgroup>'."\n\t\t\t".'</select>'."\n\t\t\t".'<input type="submit" value="<?php echo $lang_common[\'Go\'] ?>" onclick="return Forum.doQuickjumpRedirect(forum_quickjump_url, sef_friendly_url_array);" /></span>'."\n\t\t".'</div>'."\n\t\t".'</form>'."\n"; 
     252                $output .= "\t\t".'<script type="text/javascript">'."\n\t\t\t".'var forum_quickjump_url = "'.forum_link($forum_url['forum']).'";'."\n\t\t\t".'var sef_friendly_url_array = new Array('.$forum_db->num_rows($result).');'; 
    253253 
    254254                foreach ($sef_friendly_names as $forum_id => $forum_name) 
    255                         $output .= "\n\t".'sef_friendly_url_array['.$forum_id.'] = "'.forum_htmlencode($forum_name).'";'; 
    256  
    257                 $output .= "\n".'</script>'."\n"; 
     255                        $output .= "\n\t\t\t".'sef_friendly_url_array['.$forum_id.'] = "'.forum_htmlencode($forum_name).'";'; 
     256 
     257                $output .= "\n\t\t".'</script>'."\n"; 
     258                $output .= "\t".'</div>'."\n"; 
    258259 
    259260                if ($forum_count < 2) 
  • fluxbb/branches/fluxbb-1.3-dev/upload/include/functions.php

    r716 r720  
    1515        global $forum_user; 
    1616        static $stopwords; 
    17          
     17 
    1818        $return = ($hook = get_hook('fn_validate_search_word_start')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    1919        if ($return != null) 
     
    5050        return str_replace(']]>', ']]&gt;', $str); 
    5151} 
    52   
    53   
     52 
     53 
    5454 // 
    5555 // Return a list of all URL schemes installed 
     
    5858 { 
    5959        $schemes = array(); 
    60   
     60 
    6161        foreach (glob(FORUM_ROOT.'include/url/*') as $dirname) 
    6262                if (is_dir($dirname) && file_exists($dirname.'/forum_urls.php')) 
    6363                        $schemes[] = basename($dirname); 
    64          
     64 
    6565        ($hook = get_hook('fn_get_scheme_packs_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    6666 
    6767        return $schemes; 
    6868 } 
    69   
    70   
     69 
     70 
    7171 // 
    7272 // Return a list of all styles installed 
     
    7575 { 
    7676        $styles = array(); 
    77   
     77 
    7878        foreach (glob(FORUM_ROOT.'style/*') as $dirname) 
    7979        { 
     
    8282                        $styles[] = $tempname; 
    8383        } 
    84   
    8584        ($hook = get_hook('fn_get_style_packs_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    8685 
     
    353352                        $forum_user['csrf_token'] = random_key(40, false, true); 
    354353                        $forum_user['prev_url'] = get_current_url(255); 
    355          
     354 
    356355                        // REPLACE INTO avoids a user having two rows in the online table 
    357356                        $query = array( 
     
    361360                                'UNIQUE'        => 'user_id=1 AND ident=\''.$forum_db->escape($remote_addr).'\'' 
    362361                        ); 
    363          
     362 
    364363                        if ($forum_user['prev_url'] != null) 
    365364                        { 
     
    367366                                $query['VALUES'] .= ', \''.$forum_db->escape($forum_user['prev_url']).'\''; 
    368367                        } 
    369          
     368 
    370369                        ($hook = get_hook('fn_set_default_user_qr_add_online_guest_user')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    371370                        $forum_db->query_build($query) or error(__FILE__, __LINE__); 
     
    378377                                'WHERE'         => 'ident=\''.$forum_db->escape($remote_addr).'\'' 
    379378                        ); 
    380          
     379 
    381380                        $current_url = get_current_url(255); 
    382381                        if ($current_url != null) 
    383382                                $query['SET'] .= ', prev_url=\''.$forum_db->escape($current_url).'\''; 
    384          
     383 
    385384                        ($hook = get_hook('fn_set_default_user_qr_update_online_guest_user')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    386385                        $forum_db->query_build($query) or error(__FILE__, __LINE__); 
     
    645644        ($hook = get_hook('fn_generate_navlinks_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    646645 
    647         return implode("\n\t\t", $links); 
     646        return implode("\n\t\t\t", $links); 
    648647} 
    649648 
     
    700699        { 
    701700                for ($i = ($num_crumbs - 1); $i >= 0; --$i) 
    702                         $crumbs .= (is_array($forum_page['crumbs'][$i]) ? forum_htmlencode($forum_page['crumbs'][$i][0]) : forum_htmlencode($forum_page['crumbs'][$i])).((isset($forum_page['page']) && $i == ($num_crumbs - 1)) ? ' ('.$lang_common['Page'].' '.forum_number_format($forum_page['page']).')' : '').($i > 0 ? $lang_common['Title separator'] : ''); 
     701                        $crumbs .= (is_array($forum_page['crumbs'][$i]) ? forum_htmlencode($forum_page['crumbs'][$i][0]) : forum_htmlencode($forum_page['crumbs'][$i])).((isset($forum_page['page']) && $i == ($num_crumbs - 1)) ? ' '.sprintf($lang_common['Title page'], forum_number_format($forum_page['page']), forum_number_format($forum_page['num_pages'])) : '').($i > 0 ? $lang_common['Title separator'] : ''); 
    703702        } 
    704703        else 
     
    14741473                        ); 
    14751474                } 
    1476                  
     1475 
    14771476                ($hook = get_hook('fn_add_topic_qr_update_last_post')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    14781477                $forum_db->query_build($query) or error(__FILE__, __LINE__); 
     
    17501749        if (!isset($lang_url_replace)) 
    17511750                require FORUM_ROOT.'lang/'.$forum_user['language'].'/url_replace.php'; 
    1752          
     1751 
    17531752        if (!isset($forum_reserved_strings)) 
    17541753        { 
     
    19251924// Generate a string with page and item information for multipage headings 
    19261925// 
    1927 function generate_items_info($label, $first, $total) 
     1926function generate_page_info($label, $first, $total) 
    19281927{ 
    19291928        global $forum_page, $lang_common; 
     
    19341933 
    19351934        if ($forum_page['num_pages'] == 1) 
     1935        { 
    19361936                $item_info =  '<span class="item-info">'.sprintf($lang_common['Item info single'], $label, forum_number_format($total)).'</span>'; 
     1937                $info_string = $item_info; 
     1938        } 
    19371939        else 
     1940        { 
     1941                $page_info = '<span class="page-info">'.sprintf($lang_common['Page info'], $forum_page['page'], $forum_page['num_pages']).'</span>'; 
    19381942                $item_info = '<span class="item-info">'.sprintf($lang_common['Item info plural'], $label, forum_number_format($first), forum_number_format($forum_page['finish_at']), forum_number_format($total)).'</span>'; 
     1943                $info_string = $page_info.' '.$item_info; 
     1944        } 
    19391945 
    19401946        ($hook = get_hook('fn_generate_page_info_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    19411947 
    1942         return $item_info; 
     1948        return $info_string; 
    19431949} 
    19441950 
     
    20592065 
    20602066?> 
    2061         <div class="main-content main-message"> 
     2067        <div class="main-section main-message"> 
    20622068                <p><?php echo $message.($link ? ' <span>'.$link.'</span>' : '') ?></p> 
    20632069        </div> 
     
    20672073 
    20682074        $tpl_temp = forum_trim(ob_get_contents()); 
    2069         $tpl_main = str_replace('<!-- forum_main -->', "\t".$tpl_temp, $tpl_main); 
     2075        $tpl_main = str_replace('<!-- forum_main_content -->', "\t".$tpl_temp, $tpl_main); 
    20702076        ob_end_clean(); 
    20712077        // END SUBST - <!-- forum_main --> 
     
    21552161                <h2><span><?php echo $lang_common['Confirm action head'] ?></span></h2> 
    21562162        </div> 
    2157         <div class="main-content main-frm"> 
     2163        <div class="main-section main-frm"> 
    21582164                <div class="frm-info"> 
    21592165                        <p><?php echo $lang_common['CSRF token mismatch'] ?></p> 
     
    21752181 
    21762182        $tpl_temp = forum_trim(ob_get_contents()); 
    2177         $tpl_main = str_replace('<!-- forum_main -->', $tpl_temp, $tpl_main); 
     2183        $tpl_main = str_replace('<!-- forum_main_content -->', $tpl_temp, $tpl_main); 
    21782184        ob_end_clean(); 
    21792185        // END SUBST - <!-- forum_main --> 
     
    22222228        if ($return != null) 
    22232229                return $return; 
    2224          
     2230 
    22252231        if ($sublink == $forum_url['page'] && $subarg == 1) 
    22262232                return forum_link($link, $args); 
     
    24252431        // Clean up the URL so that it should match the rules we have 
    24262432        $url = str_replace('&amp;', '&', urldecode($url)); 
    2427          
     2433 
    24282434        $return = ($hook = get_hook('fn_confirm_current_url_start')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    24292435        if ($return != null) 
     
    24372443        if ($url != $current_url && $url.'?login=1' != $current_url && $url.'&login=1' != $current_url) 
    24382444        { 
    2439                 header('HTTP/1.1 301 Moved Permanently');  
     2445                header('HTTP/1.1 301 Moved Permanently'); 
    24402446                header('Location: '.$url); 
    24412447        } 
     
    25152521        if ($return != null) 
    25162522                return $return; 
    2517          
     2523 
    25182524 
    25192525        // If we have cURL, we might as well use it 
     
    25292535                curl_setopt($ch, CURLOPT_TIMEOUT, $timeout); 
    25302536                curl_setopt($ch, CURLOPT_USERAGENT, 'FluxBB'); 
    2531                  
     2537 
    25322538                ($hook = get_hook('fn_get_remote_file_curl_options')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    25332539 
     
    25642570                        fwrite($remote, 'Host: '.$parsed_url['host']."\r\n"); 
    25652571                        fwrite($remote, 'User-Agent: FluxBB'."\r\n"); 
    2566                          
     2572 
    25672573                        ($hook = get_hook('fn_get_remote_file_socket_options')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    2568                          
     2574 
    25692575                        fwrite($remote, 'Connection: Close'."\r\n\r\n"); 
    25702576 
     
    26142620                                ) 
    26152621                        ); 
    2616                          
     2622 
    26172623                        ($hook = get_hook('fn_get_remote_file_context_options')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 
    26182624 
     
    27002706                <h1 class="hn"><span><?php echo $lang_common['Maintenance mode'] ?></span></h1> 
    27012707        </div> 
    2702         <div class="main-content main-message"> 
     2708        <div class="main-section main-message"> 
    27032709                <div class="ct-box user-box"> 
    27042710                        <?php echo $message."\n" ?> 
     
    28242830        </div> 
    28252831 
    2826         <div class="main-content main-message"> 
     2832        <div class="main-section main-message"> 
    28272833                <p><?php printf($lang_common['Forwarding info'], $forum_config['o_redirect_delay'], intval($forum_config['o_redirect_delay']) == 1 ? $lang_common['second'] : $lang_common['seconds']) ?><span> <a href="<?php echo $destination_url ?>"><?php echo $lang_common['Click redirect'] ?></a></span></p> 
    28282834        </div> 
     
    29662972{ 
    29672973        global $forum_config; 
    2968          
     2974 
    29692975        if (!isset($_SERVER['REQUEST_URI']) || (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) && strpos($_SERVER['REQUEST_URI'], '?') === false)) 
    29702976        { 
     
    29722978                if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) 
    29732979                        $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_ORIGINAL_URL']; 
    2974                  
     2980 
    29752981                // IIS6 also doesn't set REQUEST_URI, If we are using the default SEF URL scheme then we can work around it 
    29762982                else if (!isset($forum_config) || $forum_config['o_sef'] == 'Default') 
     
    29792985                        $_SERVER['REQUEST_URI'] = $requested_page.(isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) ? '?'.$_SERVER['QUERY_STRING'] : ''); 
    29802986                } 
    2981                  
     2987 
    29822988                // Otherwise I am not aware of a work around... 
    29832989                else 
     
    30503056        // Get the queries so that we can print them out 
    30513057        $saved_queries = $forum_db->get_saved_queries(); 
    3052          
     3058 
    30533059        ob_start(); 
    30543060 
     
    30603066        </div> 
    30613067 
    3062         <div class="main-content debug"> 
     3068        <div class="main-section debug"> 
    30633069                <table cellspacing="0" summary="<?php echo $lang_common['Debug summary'] ?>"> 
    30643070                        <thead> 
  • fluxbb/branches/fluxbb-1.3-dev/upload/include/template/main.tpl

    r563 r720  
    1111<div <!-- forum_page -->> 
    1212 
    13 <div id="brd-head" class="gen-content"> 
    14         <!-- forum_skip --> 
    15         <!-- forum_title --> 
    16         <!-- forum_desc --> 
    17 </div> 
     13<div id="brd-start" class="gen"> 
     14        <div id="brd-head"> 
     15                <!-- forum_skip --> 
     16                <!-- forum_title --> 
     17                <!-- forum_desc --> 
     18        </div>   
    1819 
    19 <div id="brd-navlinks" class="gen-content"> 
    20         <!-- forum_navlinks --> 
    21         <!-- forum_admod --> 
    22 </div> 
     20        <div id="brd-navlinks"> 
     21                <!-- forum_navlinks --> 
     22                <!-- forum_admod --> 
     23        </div> 
    2324 
    24 <div id="brd-visit" class="gen-content"> 
    25         <!-- forum_welcome --> 
    26         <!-- forum_visit --> 
     25        <div id="brd-visit"> 
     26                <!-- forum_welcome --> 
     27                <!-- forum_visit --> 
     28        </div> 
    2729</div> 
    2830 
     
    3234 
    3335<!-- forum_crumbs_top --> 
    34 <!-- forum_main_menu --> 
    35 <!-- forum_main_pagepost_top --> 
    36 <!-- forum_main_head --> 
    37 <!-- forum_main --> 
    38 <!-- forum_main_options --> 
    39 <!-- forum_main_pagepost_end --> 
     36 
     37<div id="brd-main" class="main"> 
     38        <!-- forum_main_menu --> 
     39        <!-- forum_main_pagepost_top --> 
     40        <!-- forum_main_hd --> 
     41        <!-- forum_main_content --> 
     42        <!-- forum_main_options --> 
     43        <!-- forum_main_pagepost_end --> 
     44</div> 
     45 
    4046<!-- forum_crumbs_end --> 
    4147<!-- forum_qpost --> 
     
    4551<div class="hr"><hr /></div> 
    4652 
    47 <div id="brd-about" class="gen-content"> 
     53<div id="brd-end" class="gen"> 
     54        <!-- forum_qjump --> 
    4855        <!-- forum_about --> 
    4956</div> 
  • fluxbb/branches/fluxbb-1.3-dev/upload/style/Oxygen/Oxygen.php

    r560 r720  
    1 <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $base_url.'/style/'.$forum_user['style'] ?>/Oxygen.css" /> 
    2 <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $base_url.'/style/'.$forum_user['style'] ?>/Oxygen_cs.css" /> 
    3 <!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="<?php echo $base_url.'/style/'.$forum_user['style'] ?>/Oxygen_ie6.css" /><![endif]--> 
    4 <!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo $base_url.'/style/'.$forum_user['style'] ?>/Oxygen_ie7.css" /><![endif]--> 
     1// Holding file