X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Ftranslate%2Foptions.php;h=46af6a43f372a3905fd5569dbc13af317b3dd5a4;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hp=64c99843eb769f21b96567c248c73023a8b86f39;hpb=88cb1b4d2ebd3e74fcee1d756df4e420da8bdf09;p=squirrelmail.git diff --git a/plugins/translate/options.php b/plugins/translate/options.php index 64c99843..46af6a43 100644 --- a/plugins/translate/options.php +++ b/plugins/translate/options.php @@ -1,169 +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" /> +
    + +