X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions.php;h=dad4282779dd1ed622c1355ce8aa1c1ee8884b97;hb=46d38f7894542146367a4b22c63f41564829abd2;hp=1d5e8fcc1f5d4276f21daee012d1ed6dfd5f6e7d;hpb=a3439b271e1b5fa7e61362970dbbcc5bfc75e5b1;p=squirrelmail.git diff --git a/src/options.php b/src/options.php index 1d5e8fcc..dad42827 100644 --- a/src/options.php +++ b/src/options.php @@ -3,7 +3,7 @@ /** * options.php * - * Copyright (c) 1999-2001 The Squirrelmail Development Team + * Copyright (c) 1999-2002 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Displays the options page. Pulls from proper user preference files @@ -17,6 +17,7 @@ require_once('../functions/display_messages.php'); require_once('../functions/imap.php'); require_once('../functions/array.php'); require_once('../functions/options.php'); +require_once('../functions/strings.php'); /* Set the base uri. */ ereg ("(^.*/)[^/]+/[^/]+$", $PHP_SELF, $regs); @@ -278,7 +279,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { $optpage_blocks[] = array( 'name' => _("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 ); @@ -305,7 +306,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { $first_optpage = false; echo "" . '
' . - ""; + "
"; foreach ($optpage_blocks as $next_optpage) { if ($first_optpage == false) { $first_optpage = $next_optpage; @@ -319,7 +320,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { print_optionpages_row($first_optpage); } - echo "
\n"; + echo "\n"; do_hook('options_link_and_description'); @@ -329,9 +330,9 @@ 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']); @@ -436,7 +437,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { echo ""; } - echo '' . + echo '' . "\n" . '' . ""; } - echo '' . + echo '' . "\n" . '
 
" . $leftopt['desc'] . @@ -450,7 +451,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { echo " 
' . '' . "\n";