Changeset 720
- Timestamp:
- 11/08/08 19:57:28 (2 months ago)
- Location:
- fluxbb/branches/fluxbb-1.3-dev/upload
- Files:
-
- 6 removed
- 6 modified
-
footer.php (modified) (3 diffs)
-
header.php (modified) (2 diffs)
-
include/cache.php (modified) (3 diffs)
-
include/functions.php (modified) (33 diffs)
-
include/template/main.tpl (modified) (3 diffs)
-
style/Oxygen/Oxygen.css (deleted)
-
style/Oxygen/Oxygen.php (modified) (1 diff)
-
style/Oxygen/Oxygen_cs.css (deleted)
-
style/Oxygen/Oxygen_ie6.css (deleted)
-
style/Oxygen/Oxygen_ie7.css (deleted)
-
style/Oxygen/tab.png (deleted)
-
style/Oxygen/tab_hover.png (deleted)
Legend:
- Unmodified
- Added
- Removed
-
fluxbb/branches/fluxbb-1.3-dev/upload/footer.php
r663 r720 13 13 exit; 14 14 15 // START SUBST - <!-- forum_about --> 15 // START SUBST - <!-- forum_qjump --> 16 if ($forum_user['g_read_board'] == '1' && $forum_config['o_quickjump'] == '1') 17 { 18 16 19 ob_start(); 17 20 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; 19 22 20 23 // Display the "Jump to" drop list 21 if ($forum_user['g_read_board'] == '1' && $forum_config['o_quickjump'] == '1')22 {23 24 // Load cached quickjump 24 25 if (file_exists(FORUM_CACHE_DIR.'cache_quickjump_'.$forum_user['g_id'].'.php')) … … 33 34 require FORUM_CACHE_DIR.'cache_quickjump_'.$forum_user['g_id'].'.php'; 34 35 } 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); 41 ob_end_clean(); 42 35 43 } 44 // END SUBST - <!-- forum_qjump --> 36 45 37 46 38 ($hook = get_hook('ft_about_pre_copyright')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 47 // START SUBST - <!-- forum_about --> 48 ob_start(); 49 50 ($hook = get_hook('ft_about_pre_about')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 39 51 40 52 // End the transaction … … 42 54 43 55 ?> 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> 45 59 <?php 46 60 -
fluxbb/branches/fluxbb-1.3-dev/upload/header.php
r664 r720 171 171 172 172 // 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>'; 174 174 175 175 // 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" : ''; 177 177 178 178 // Maintenance Warning … … 280 280 281 281 // 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>' : ''; 283 283 284 284 // 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>' : ''; 286 286 287 287 // Main section heading 288 $main_elements['<!-- forum_main_h ead -->'] = '<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"; 289 289 290 290 // 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>' : ''; 292 292 293 293 // 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>' : ''; 295 295 296 296 // 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>' : ''; 298 298 299 299 // Main section menu e.g. profile menu 300 300 if (substr(FORUM_PAGE, 0, 5) == 'admin' && FORUM_PAGE_TYPE != 'paged') 301 301 { 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>'; 303 303 304 304 $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>' : ''; 306 306 } 307 307 308 308 // 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>' : ''; 310 310 311 311 ($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 204 204 205 205 $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"; 207 207 208 208 // Get the list of categories and forums from the DB … … 237 237 { 238 238 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"; 242 242 $cur_category = $cur_forum['cid']; 243 243 } … … 249 249 } 250 250 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).');'; 253 253 254 254 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"; 258 259 259 260 if ($forum_count < 2) -
fluxbb/branches/fluxbb-1.3-dev/upload/include/functions.php
r716 r720 15 15 global $forum_user; 16 16 static $stopwords; 17 17 18 18 $return = ($hook = get_hook('fn_validate_search_word_start')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 19 19 if ($return != null) … … 50 50 return str_replace(']]>', ']]>', $str); 51 51 } 52 53 52 53 54 54 // 55 55 // Return a list of all URL schemes installed … … 58 58 { 59 59 $schemes = array(); 60 60 61 61 foreach (glob(FORUM_ROOT.'include/url/*') as $dirname) 62 62 if (is_dir($dirname) && file_exists($dirname.'/forum_urls.php')) 63 63 $schemes[] = basename($dirname); 64 64 65 65 ($hook = get_hook('fn_get_scheme_packs_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 66 66 67 67 return $schemes; 68 68 } 69 70 69 70 71 71 // 72 72 // Return a list of all styles installed … … 75 75 { 76 76 $styles = array(); 77 77 78 78 foreach (glob(FORUM_ROOT.'style/*') as $dirname) 79 79 { … … 82 82 $styles[] = $tempname; 83 83 } 84 85 84 ($hook = get_hook('fn_get_style_packs_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 86 85 … … 353 352 $forum_user['csrf_token'] = random_key(40, false, true); 354 353 $forum_user['prev_url'] = get_current_url(255); 355 354 356 355 // REPLACE INTO avoids a user having two rows in the online table 357 356 $query = array( … … 361 360 'UNIQUE' => 'user_id=1 AND ident=\''.$forum_db->escape($remote_addr).'\'' 362 361 ); 363 362 364 363 if ($forum_user['prev_url'] != null) 365 364 { … … 367 366 $query['VALUES'] .= ', \''.$forum_db->escape($forum_user['prev_url']).'\''; 368 367 } 369 368 370 369 ($hook = get_hook('fn_set_default_user_qr_add_online_guest_user')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 371 370 $forum_db->query_build($query) or error(__FILE__, __LINE__); … … 378 377 'WHERE' => 'ident=\''.$forum_db->escape($remote_addr).'\'' 379 378 ); 380 379 381 380 $current_url = get_current_url(255); 382 381 if ($current_url != null) 383 382 $query['SET'] .= ', prev_url=\''.$forum_db->escape($current_url).'\''; 384 383 385 384 ($hook = get_hook('fn_set_default_user_qr_update_online_guest_user')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 386 385 $forum_db->query_build($query) or error(__FILE__, __LINE__); … … 645 644 ($hook = get_hook('fn_generate_navlinks_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 646 645 647 return implode("\n\t\t ", $links);646 return implode("\n\t\t\t", $links); 648 647 } 649 648 … … 700 699 { 701 700 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'] : ''); 703 702 } 704 703 else … … 1474 1473 ); 1475 1474 } 1476 1475 1477 1476 ($hook = get_hook('fn_add_topic_qr_update_last_post')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 1478 1477 $forum_db->query_build($query) or error(__FILE__, __LINE__); … … 1750 1749 if (!isset($lang_url_replace)) 1751 1750 require FORUM_ROOT.'lang/'.$forum_user['language'].'/url_replace.php'; 1752 1751 1753 1752 if (!isset($forum_reserved_strings)) 1754 1753 { … … 1925 1924 // Generate a string with page and item information for multipage headings 1926 1925 // 1927 function generate_ items_info($label, $first, $total)1926 function generate_page_info($label, $first, $total) 1928 1927 { 1929 1928 global $forum_page, $lang_common; … … 1934 1933 1935 1934 if ($forum_page['num_pages'] == 1) 1935 { 1936 1936 $item_info = '<span class="item-info">'.sprintf($lang_common['Item info single'], $label, forum_number_format($total)).'</span>'; 1937 $info_string = $item_info; 1938 } 1937 1939 else 1940 { 1941 $page_info = '<span class="page-info">'.sprintf($lang_common['Page info'], $forum_page['page'], $forum_page['num_pages']).'</span>'; 1938 1942 $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 } 1939 1945 1940 1946 ($hook = get_hook('fn_generate_page_info_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 1941 1947 1942 return $i tem_info;1948 return $info_string; 1943 1949 } 1944 1950 … … 2059 2065 2060 2066 ?> 2061 <div class="main- contentmain-message">2067 <div class="main-section main-message"> 2062 2068 <p><?php echo $message.($link ? ' <span>'.$link.'</span>' : '') ?></p> 2063 2069 </div> … … 2067 2073 2068 2074 $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); 2070 2076 ob_end_clean(); 2071 2077 // END SUBST - <!-- forum_main --> … … 2155 2161 <h2><span><?php echo $lang_common['Confirm action head'] ?></span></h2> 2156 2162 </div> 2157 <div class="main- contentmain-frm">2163 <div class="main-section main-frm"> 2158 2164 <div class="frm-info"> 2159 2165 <p><?php echo $lang_common['CSRF token mismatch'] ?></p> … … 2175 2181 2176 2182 $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); 2178 2184 ob_end_clean(); 2179 2185 // END SUBST - <!-- forum_main --> … … 2222 2228 if ($return != null) 2223 2229 return $return; 2224 2230 2225 2231 if ($sublink == $forum_url['page'] && $subarg == 1) 2226 2232 return forum_link($link, $args); … … 2425 2431 // Clean up the URL so that it should match the rules we have 2426 2432 $url = str_replace('&', '&', urldecode($url)); 2427 2433 2428 2434 $return = ($hook = get_hook('fn_confirm_current_url_start')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 2429 2435 if ($return != null) … … 2437 2443 if ($url != $current_url && $url.'?login=1' != $current_url && $url.'&login=1' != $current_url) 2438 2444 { 2439 header('HTTP/1.1 301 Moved Permanently'); 2445 header('HTTP/1.1 301 Moved Permanently'); 2440 2446 header('Location: '.$url); 2441 2447 } … … 2515 2521 if ($return != null) 2516 2522 return $return; 2517 2523 2518 2524 2519 2525 // If we have cURL, we might as well use it … … 2529 2535 curl_setopt($ch, CURLOPT_TIMEOUT, $timeout); 2530 2536 curl_setopt($ch, CURLOPT_USERAGENT, 'FluxBB'); 2531 2537 2532 2538 ($hook = get_hook('fn_get_remote_file_curl_options')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 2533 2539 … … 2564 2570 fwrite($remote, 'Host: '.$parsed_url['host']."\r\n"); 2565 2571 fwrite($remote, 'User-Agent: FluxBB'."\r\n"); 2566 2572 2567 2573 ($hook = get_hook('fn_get_remote_file_socket_options')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 2568 2574 2569 2575 fwrite($remote, 'Connection: Close'."\r\n\r\n"); 2570 2576 … … 2614 2620 ) 2615 2621 ); 2616 2622 2617 2623 ($hook = get_hook('fn_get_remote_file_context_options')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 2618 2624 … … 2700 2706 <h1 class="hn"><span><?php echo $lang_common['Maintenance mode'] ?></span></h1> 2701 2707 </div> 2702 <div class="main- contentmain-message">2708 <div class="main-section main-message"> 2703 2709 <div class="ct-box user-box"> 2704 2710 <?php echo $message."\n" ?> … … 2824 2830 </div> 2825 2831 2826 <div class="main- contentmain-message">2832 <div class="main-section main-message"> 2827 2833 <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> 2828 2834 </div> … … 2966 2972 { 2967 2973 global $forum_config; 2968 2974 2969 2975 if (!isset($_SERVER['REQUEST_URI']) || (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) && strpos($_SERVER['REQUEST_URI'], '?') === false)) 2970 2976 { … … 2972 2978 if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) 2973 2979 $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_ORIGINAL_URL']; 2974 2980 2975 2981 // IIS6 also doesn't set REQUEST_URI, If we are using the default SEF URL scheme then we can work around it 2976 2982 else if (!isset($forum_config) || $forum_config['o_sef'] == 'Default') … … 2979 2985 $_SERVER['REQUEST_URI'] = $requested_page.(isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) ? '?'.$_SERVER['QUERY_STRING'] : ''); 2980 2986 } 2981 2987 2982 2988 // Otherwise I am not aware of a work around... 2983 2989 else … … 3050 3056 // Get the queries so that we can print them out 3051 3057 $saved_queries = $forum_db->get_saved_queries(); 3052 3058 3053 3059 ob_start(); 3054 3060 … … 3060 3066 </div> 3061 3067 3062 <div class="main- contentdebug">3068 <div class="main-section debug"> 3063 3069 <table cellspacing="0" summary="<?php echo $lang_common['Debug summary'] ?>"> 3064 3070 <thead> -
fluxbb/branches/fluxbb-1.3-dev/upload/include/template/main.tpl
r563 r720 11 11 <div <!-- forum_page -->> 12 12 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> 18 19 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> 23 24 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> 27 29 </div> 28 30 … … 32 34 33 35 <!-- 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 40 46 <!-- forum_crumbs_end --> 41 47 <!-- forum_qpost --> … … 45 51 <div class="hr"><hr /></div> 46 52 47 <div id="brd-about" class="gen-content"> 53 <div id="brd-end" class="gen"> 54 <!-- forum_qjump --> 48 55 <!-- forum_about --> 49 56 </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
