X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions.php;h=b89cf21f036f68ea57328904cf4d582875c36ac3;hb=518613c12273fbd5e30e2b9cff9ec703204673c0;hp=1b296972a41d21978af3644d3e0f22634f828b30;hpb=895905c0f766ea03e85deab260b4bb1522dd0e3c;p=squirrelmail.git diff --git a/src/options.php b/src/options.php index 1b296972..b89cf21f 100644 --- a/src/options.php +++ b/src/options.php @@ -1,16 +1,16 @@ _("Index Order"), 'url' => 'options_order.php', - 'desc' => _("The order of the message index can be rearanged and changed to contain the headers in any order you want."), + 'desc' => _("The order of the message index can be rearranged and changed to contain the headers in any order you want."), 'js' => false ); @@ -297,7 +305,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { $first_optpage = false; echo "" . '
' . - ""; + "
"; foreach ($optpage_blocks as $next_optpage) { if ($first_optpage == false) { $first_optpage = $next_optpage; @@ -311,7 +319,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { print_optionpages_row($first_optpage); } - echo "
\n"; + echo "\n"; do_hook('options_link_and_description'); @@ -321,16 +329,13 @@ if ($optpage == SMOPT_PAGE_MAIN) { /*************************************************************************/ } else { echo '

' . "\n" - . '' . "\n" . create_optpage_element($optpage) - . create_optmode_element(SMOPT_MODE_SUBMIT); + . create_optmode_element(SMOPT_MODE_SUBMIT) + . '
' . "\n"; /* Output the option groups for this page. */ print_option_groups($optpage_data['options']); - /*** FIXME: CURRENTLY, THIS NEXT SWITCH STATEMENT DOES NOT TAKE - *** INTO ACCOUNT FOR PLUGINS. NEED TO FIX IT. ***/ - /* Set the inside_hook_name and submit_name. */ switch ($optpage) { case SMOPT_PAGE_PERSONAL: @@ -345,12 +350,12 @@ if ($optpage == SMOPT_PAGE_MAIN) { break; case SMOPT_PAGE_HIGHLIGHT: $inside_hook_name = 'options_highlight_inside'; - $bottom_hook_name = 'options_display_bottom'; + $bottom_hook_name = 'options_highlight_bottom'; $submit_name = 'submit_highlight'; break; case SMOPT_PAGE_FOLDER: $inside_hook_name = 'options_folder_inside'; - $bottom_hook_name = 'options_display_bottom'; + $bottom_hook_name = 'options_folder_bottom'; $submit_name = 'submit_folder'; break; case SMOPT_PAGE_ORDER: @@ -431,7 +436,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { echo ""; } - echo '' . + echo '' . "\n" . '' . ""; } - echo '' . + echo '' . "\n" . '
 
" . $leftopt['desc'] . @@ -445,10 +450,10 @@ if ($optpage == SMOPT_PAGE_MAIN) { echo " 
' . '' . "\n"; } -?> \ No newline at end of file +?>