|
From: Jon O. <jon...@us...> - 2007-06-19 19:03:52
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4119 Modified Files: page_tail.php Log Message: Bug 38 MXBB_EXTRA style def moved to tpl file. Index: page_tail.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_tail.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** page_tail.php 19 Jun 2007 18:30:44 -0000 1.30 --- page_tail.php 19 Jun 2007 19:03:48 -0000 1.31 *************** *** 24,28 **** $template->set_filenames(array( - //'overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' : 'simple_footer.tpl' 'overall_footer' => empty($mx_page->page_ov_footer) || !file_exists($mx_root_path . TEMPLATE_ROOT_PATH . $mx_page->page_ov_footer) ? ( empty($gen_simple_header) ? 'overall_footer.tpl' : 'simple_footer.tpl' ) : $mx_page->page_ov_footer )); --- 24,27 ---- *************** *** 42,46 **** $mxbb_footer_text = $lang['mx_about_title']; ! $mxbb_footer_text = '<a href="' . PORTAL_URL . 'index.' . $phpEx . '?sid=' . $userdata['session_id'] . '&mx_copy=true' . '" target="_blank" class="copyright">' . $mxbb_footer_text . '</a>'; // --- 41,45 ---- $mxbb_footer_text = $lang['mx_about_title']; ! $mxbb_footer_text_url = PORTAL_URL . 'index.' . $phpEx . '?sid=' . $userdata['session_id'] . '&mx_copy=true'; // *************** *** 96,99 **** --- 95,99 ---- 'TEMPLATE_ROOT_PATH' => TEMPLATE_ROOT_PATH, 'MXBB_EXTRA' => $mxbb_footer_text, + 'MXBB_EXTRA_URL' => $mxbb_footer_text_url, 'POWERED_BY' => $lang['Powered_by'], 'MX_VERSION' => ($userdata['user_level'] == ADMIN && $userdata['user_id'] != ANONYMOUS) ? PORTAL_VERSION : '', |