X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Ftranslate%2Foptions.php;h=7e18ef2532ea9abb9fa45e356b74bf88e46f6b20;hp=97b861844bcab0409a35eec926923f779823c3df;hb=7f0dbd10f69bc6e80ae98f86bca0b970e2131f1a;hpb=2168398b414c9e0ab1ca6d612064d0bf5c798ce7 diff --git a/plugins/translate/options.php b/plugins/translate/options.php index 97b86184..7e18ef25 100644 --- a/plugins/translate/options.php +++ b/plugins/translate/options.php @@ -1,166 +1,81 @@ ' . $Desc . "\n"; - } - - function ShowTrad( $tit, $com, $url ) { - - echo "
  • $tit - ". - $com . - "[ $tit ]
  • "; - - } +displayPageHeader($color); ?> -
    -
    -
    +
    +

    ". - ''. - '\n"; +} ?> + +
    ' . + '
    '. + '' . + '' . + ''. + ''. '' . - ''. - ''. - ''. - '' . + ''.html_tag('td',_("When reading:"),'right','','style="white-space: nowrap;"'). + '\n"; + +if (!$disable_compose_translate) { + echo ''.html_tag('td',_("When composing:"),'right','','style="white-space: nowrap;"'). + ''. - ''. - '
    ' . _("Select your translator:") . '' . - '
    ' . - _("When reading:") . - ' - ' . _("Show translation box") . - '
    '. - ' - ' . _("Translate inside the SquirrelMail frames"). - '
    '. - _("When composing:") . '' . + '
    - ' . _("Show translation box") . + '
    '. + ' - ' . _("Translate inside the SquirrelMail frames"). + "
    - ' . _("Not yet functional, currently does nothing") . - '
    '. - ''. - '
    '. - '
    '. -"\n"; - + echo ' checked="checked"'; + echo ' /> - ' . _("Not yet functional, currently does nothing") . + "
    +" name="submit_translate" /> +
    + +