"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/admin/modules/home/preferences.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

preferences.php  (mybb_1822):preferences.php  (mybb_1823)
skipping to change at line 125 skipping to change at line 125
$folders = array(); $folders = array();
while($folder = readdir($dir)) while($folder = readdir($dir))
{ {
if($folder != "." && $folder != ".." && @file_exists(MYBB_ADMIN_D IR."/styles/$folder/main.css")) if($folder != "." && $folder != ".." && @file_exists(MYBB_ADMIN_D IR."/styles/$folder/main.css"))
{ {
$folders[$folder] = ucfirst($folder); $folders[$folder] = ucfirst($folder);
} }
} }
closedir($dir); closedir($dir);
ksort($folders); ksort($folders);
$setting_code = $form->generate_select_box("cpstyle", $folders, $admin_op $styles = array_merge(array('' => $lang->use_default), $folders);
tions['cpstyle']); $setting_code = $form->generate_select_box("cpstyle", $styles, $admin_opt
ions['cpstyle']);
$languages = array_merge(array('' => $lang->use_default), $lang->get_lang uages(1)); $languages = array_merge(array('' => $lang->use_default), $lang->get_lang uages(1));
$language_code = $form->generate_select_box("cplanguage", $languages, $ad min_options['cplanguage']); $language_code = $form->generate_select_box("cplanguage", $languages, $ad min_options['cplanguage']);
$form_container = new FormContainer($lang->preferences); $form_container = new FormContainer($lang->preferences);
$form_container->output_row_header($lang->global_preferences); $form_container->output_row_header($lang->global_preferences);
$form_container->output_row($lang->acp_theme, $lang->select_acp_theme, $s etting_code); $form_container->output_row($lang->acp_theme, $lang->select_acp_theme, $s etting_code);
$form_container->output_row($lang->acp_language, $lang->select_acp_langua ge, $language_code); $form_container->output_row($lang->acp_language, $lang->select_acp_langua ge, $language_code);
$form_container->output_row($lang->codemirror, $lang->use_codemirror_desc , $form->generate_on_off_radio('codepress', $admin_options['codepress'])); $form_container->output_row($lang->codemirror, $lang->use_codemirror_desc , $form->generate_on_off_radio('codepress', $admin_options['codepress']));
 End of changes. 1 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)