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

    - -
    - - - ' . - ''. - ''. - ''. - '\n"; +} +?> + +
    ' . - _("When reading:") . - ' - ' . _("Show translation box") . - '
    '. - ' - ' . _("Translate inside the SquirrelMail frames"). - '
    '. - _("When composing:") . ''. + '' . + '' . + ''. + ''. + '' . + ''.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:") . + '' . + '
    - ' . _("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" /> +
    + +