Hello SRS Admins,
There was a rumour that SRS lost 90-% of its users !
The problem with srs5.1 wgetz was that it does not allow people to continue,
who turned off their javascript enable button!
Let us do it!
Add the following function to wgetz.c
static void PageSelectLibrary();
static void PageSelectLibrary()
{
if (ParGetBool("isJava") ) {
PageSelectLibrary_Java();
}
else {
PageSelectLibrary_NoJava();
}
}
Rename
PageSelectLibraryOld() to
PageSelectLibrary_NoJava()
and
PageSelectLibrary() to
PageSelectLibrary_Java()
Add the following to icarus/util/parameter.i
$parameter:["isJava" type:bool num:0
comment:"Supports for JavaScript "]
Add the following to icarus/util/arglist.i
$arg:[name:"-java" parameter:"isJava"]
add the following in the srswww.i under section
$selectLibraryActive= , somewhere
|<NOSCRIPT>
|<IMG SRC=/srs5/images/achtung.gif ALIGN=middle>
|<H2>SRS requires a javascript enabled browser</H2>
|<I> Enable javascript option in the preferences menu of your browser </I>
|<P>
| <A HREF=($ParStr:cgidir)/wgetz?-start> Restart without javaScript </A>
|</NOSCRIPT>
do a srssection and
srsmake wgetz
Now it is ready, you can use javaScript functionality with
wgetz+-start+-java
Now the default is no Java !
Cheers !
Ramu
_______________________________________________________________
Chenna Ramu; EMBL; Postfach 10.2209; 69012 Heidelberg; Germany.
Email: chenna at embl-heidelberg.de
Url: http://www.embl-heidelberg.de/~chenna/
Tel: (49) 6221 387530 (Off) ; Fax: (49) 6221 387517
______