|
From: Florin C B. <ory...@us...> - 2014-05-19 18:14:43
|
Update of /cvsroot/mxbb/core/admin In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31805/admin Modified Files: admin_mx_portal.php Log Message: some fixes for ascareus backend Index: admin_mx_portal.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_portal.php,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** admin_mx_portal.php 28 Jun 2013 15:32:37 -0000 1.52 --- admin_mx_portal.php 19 May 2014 18:14:40 -0000 1.53 *************** *** 96,100 **** $sql = "UPDATE " . PORTAL_TABLE . " SET " . $db->sql_build_array('UPDATE', $new); - if( !($db->sql_query($sql)) ) { --- 96,99 ---- *************** *** 103,109 **** $message = update_portal_backend($new['portal_backend']) ? "The CMS configuration file was upgraded ...<br /><br />" : update_portal_backend($new['portal_backend']); ! $mx_cache->put('mxbb_config', $new); ! $message .= $lang['Portal_Config_updated'] . "<br /><br />" . sprintf($lang['Click_return_portal_config'], "<a href=\"" . mx_append_sid("admin_mx_portal.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid("index.$phpEx?pane=right") . "\">", "</a>"); --- 102,108 ---- $message = update_portal_backend($new['portal_backend']) ? "The CMS configuration file was upgraded ...<br /><br />" : update_portal_backend($new['portal_backend']); ! $mx_cache->put('mxbb_config', $new); ! $message .= $lang['Portal_Config_updated'] . "<br /><br />" . sprintf($lang['Click_return_portal_config'], "<a href=\"" . mx_append_sid("admin_mx_portal.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid("index.$phpEx?pane=right") . "\">", "</a>"); *************** *** 120,124 **** $portal_config['override_user_style'] = $portal_config['override_user_style'] == -1 ? $board_config['override_user_style'] : $portal_config['override_user_style']; ! $portal_backend_select = get_list_static('portal_backend', array('internal' => 'Internal', 'phpbb2' => 'phpBB2', 'phpbb3' => 'phpBB3'), $portal_config['portal_backend']); $style_select = mx_style_select($portal_config['default_style'], 'mx_default_style'); --- 119,123 ---- $portal_config['override_user_style'] = $portal_config['override_user_style'] == -1 ? $board_config['override_user_style'] : $portal_config['override_user_style']; ! $portal_backend_select = get_list_static('portal_backend', array('internal' => 'Internal', 'phpbb2' => 'phpBB2', 'phpbb3' => 'phpBB3', 'olympus' => 'Olympus', 'ascraeus' => 'Ascraeus', 'smf2' => 'SMF2', 'mybb' => 'myBB'), $portal_config['portal_backend']); $style_select = mx_style_select($portal_config['default_style'], 'mx_default_style'); |