X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Ftranslate%2Foptions.php;h=7974d6ff02c612bff90d4bd9c000fa274cf87782;hp=de3f592306ac4905e25c6dfb20fa8224b8beebe3;hb=a67cf4877d741cffdf17affd2fae6359921b12ab;hpb=38a7b6a0acbc146fb0ac9fc21bc0d174be2bb6b1;ds=sidebyside diff --git a/plugins/translate/options.php b/plugins/translate/options.php index de3f5923..7974d6ff 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, 'None'); ?> -
    -
    -
    +
    +

    - -
    - - - ' . - ''. - ''. - ''. - '\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" /> +
    + + \ No newline at end of file