- Timestamp:
- 02/10/09 10:58:57 (3 years ago)
- Location:
- branches/portal_by_daris
- Files:
-
- 2 modified
-
manifest.xml (modified) (4 diffs)
-
panels.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/portal_by_daris/manifest.xml
r20 r21 60 60 ]]></hook> 61 61 62 <hook id="vt_qpost_output_start"><![CDATA[ 63 64 if ($forum_config['o_portal_panels_all_pages'] == 1) 65 echo '<div>'."\n\t".'<p></p>'."\n".'</div>'; 66 67 ]]></hook> 68 62 69 <hook id="hd_head"><![CDATA[ 63 70 // hd_head hook could be executed from a function (like message), so we need to globalize language variable … … 84 91 85 92 86 if (!defined('FORUM_PORTAL') && $forum_config['o_portal_panels_all_pages'] == 1 && strpos(FORUM_PAGE, ' admin-') === false && FORUM_PAGE != 'message')93 if (!defined('FORUM_PORTAL') && $forum_config['o_portal_panels_all_pages'] == 1 && strpos(FORUM_PAGE, 'profile-') === false && strpos(FORUM_PAGE, 'admin-') === false && FORUM_PAGE != 'message') 87 94 define('FORUM_PORTAL', $ext_info['path'].'/'); 88 95 … … 91 98 $forum_head['style_portal'] = '<link rel="stylesheet" type="text/css" media="screen" href="'. $ext_info['url'].'/style/style.css" />'; 92 99 100 $tpl_main = str_replace('<!-- forum_crumbs_top -->', '', $tpl_main); 93 101 $tpl_main = str_replace('<!-- forum_crumbs_end -->', '', $tpl_main); 94 102 95 103 // add portal_top before forum_main 96 $tpl_main = str_replace('< !-- forum_main_menu -->', '<!-- portal_top -->'."\n".'<!-- forum_main_menu -->', $tpl_main);104 $tpl_main = str_replace('<div id="brd-main">', '<!-- forum_crumbs_top -->'."\n".'<!-- portal_top -->'."\n".'<div id="brd-main">', $tpl_main); 97 105 98 106 /* if (FORUM_PAGE == 'news' || FORUM_PAGE == 'pages') … … 100 108 */ 101 109 // add portal_bottom before forum_stats 102 $tpl_main = str_replace('<!-- forum_ qpost -->', '<!-- forum_qpost -->'."\n".'<!-- portal_bottom -->'."\n".'<!-- forum_crumbs_end-->', $tpl_main);110 $tpl_main = str_replace('<!-- forum_info -->', "\n".'<!-- portal_bottom -->'."\n".'<!-- forum_crumbs_end -->'."\n".'<!-- forum_info -->', $tpl_main); 103 111 104 112 -
branches/portal_by_daris/panels.php
r18 r21 29 29 foreach ($panels as $cur_panel) 30 30 { 31 if ($left_width == 0 && $location == 0 || $right_width == 0 && $location == 3 || FORUM_PAGE == 'pages' && $location == 3 )31 if ($left_width == 0 && $location == 0 || $right_width == 0 && $location == 3 || FORUM_PAGE == 'pages' && $location == 3 || $forum_config['o_portal_panels_all_pages'] == 1 && $location == 3) 32 32 continue; 33 33 … … 98 98 99 99 $tpl_temp .= "\n".'<div style="clear: both"></div>'; 100 101 100 $tpl_main = str_replace('<!-- portal_bottom -->', $tpl_temp, $tpl_main); 102 101