From b73760009c0016728a1ea69898478a777fe2836f Mon Sep 17 00:00:00 2001 From: amontano Date: Sat, 23 Nov 2002 01:57:00 +0000 Subject: [PATCH] added warning against using tibetanmachineweb, while the html script is not working. --- source/org/thdl/tib/scanner/OnLineScannerFilter.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/org/thdl/tib/scanner/OnLineScannerFilter.java b/source/org/thdl/tib/scanner/OnLineScannerFilter.java index 0cf372b..5e87df5 100644 --- a/source/org/thdl/tib/scanner/OnLineScannerFilter.java +++ b/source/org/thdl/tib/scanner/OnLineScannerFilter.java @@ -63,7 +63,9 @@ public class OnLineScannerFilter extends HttpServlet { out.println(""); out.println("The Online Tibetan to English Translation/Dictionary Tool"); script = request.getParameter("script"); - wantsTibetan = (script==null || script.equals("tibetan")); + + // script==null || makes default tibetan + wantsTibetan = (script!=null && script.equals("tibetan")); if (wantsTibetan) { out.println(""); @@ -90,7 +92,7 @@ public class OnLineScannerFilter extends HttpServlet { out.println(" "); out.println("

Tibetan script (using Tibetan Machine Web font)
"); + out.println("name=\"script\">Tibetan script (CURRENTLY UNSTABLE, DO NOT USE)
"); //(using Tibetan Machine Web font)
"); out.println(" Roman script");