Changeset 18255 for other-projects

Show
Ignore:
Timestamp:
18.12.2008 15:22:41 (11 years ago)
Author:
cc108
Message:

add no script element to provide an alternate content for users that have disabled scripts in their browser.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/trunk/greenstone3-extension/mat/src/org/greenstone/gsdl3_extension/mat/servlet/MatServlet.java

    r18254 r18255  
    5959    out.println("<p>"+description+"</p>"); 
    6060    out.println("<div><form method=\"post\" action=\"http://"+hostName+":"+port_number+"/greenstone3/mat\">"); 
     61 
    6162    out.println("<p>OAI URL: <input type=\"text\" name=\"oaiurl\" size=\"140\"></p>");  
    6263    out.println("<p><input type=\"submit\" value=\"Analyse repository\"></p>"); 
    6364    out.println("</form>"); 
     65     
     66    out.println("<script type=\"text/javaacript\"></script>"); 
     67    out.println("<noscript>Sorry, your browser does not support JavaScript!  You need to enable JavaScript in your browser.</noscript>"); 
    6468     
    6569    out.println ("</body>"); 
     
    561565        for(int i = 0; i< arrays.length; i++){ 
    562566            arrays[i] = (String)alist.get(i); 
    563             System.out.println(arrays[i]); 
    564         } 
    565         System.out.println(wd.getAbsolutePath()); 
     567        } 
    566568        Process p = processBatch(arrays,out,wd); 
    567569        out.flush();