X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fhelp.php;h=b60902b5ff88d97f18decdf1f8613903825412ba;hb=6a6ce0a3a52fdfd73fdab55e30f1b8f410115a7a;hp=fd308540f7951156d0b154bd482b4b7f0cc60dae;hpb=e5916f84aece606bd90defd122c7f8f978166c6e;p=squirrelmail.git diff --git a/src/help.php b/src/help.php index fd308540..b60902b5 100644 --- a/src/help.php +++ b/src/help.php @@ -133,10 +133,10 @@ if (file_exists("../help/$squirrelmail_language")) { $user_language = 'en_US'; } else { $help_exists = false; - echo "
"; - echo _("Some or all of the help documents are not present!"); - echo '
'; - echo ''; + echo "
" . + _("Some or all of the help documents are not present!"). + '
'. + ''; /* this is really silly, because there may be some * footers. What about them. * TODO: Fix this so it's not just "exit". @@ -165,35 +165,33 @@ if ($help_exists == true) { } if (!isset($chapter)) { - echo '
'; - echo '
' . _("Table of Contents") . '

'; + echo '
' . + '
' . _("Table of Contents") . '

'; do_hook('help_chapter'); echo '
    '; for ($i=0; $i < count($helpdir); $i++) { $doc = file("../help/$user_language/$helpdir[$i]"); $help_info = get_info($doc, 0); - echo '
  1. ' . $help_info[0] . ''; echo '
      ' . $help_info[2] . '
    '; } - echo '
'; - echo '
'; + echo '
'; } else { $doc = file("../help/$user_language/" . $helpdir[$chapter-1]); $help_info = get_info($doc, 0); echo '
'; if ($chapter <= 1){ - echo '' . _("Previous") + echo '' . _("Previous") . ' | '; } else { - echo '' . _("Previous") . ' | '; } echo '' . _("Table of Contents") . ''; if ($chapter >= count($helpdir)){ echo ' | ' . _("Next") . ''; - } else { + } else { echo ' | ' . _("Next") . ''; }