Annotation of embedaddon/coova-chilli/www/chilliform.chi.sh, revision 1.1

1.1     ! misho       1: #!/bin/sh
        !             2: . ./config.sh
        !             3: 
        !             4: cat <<EOF
        !             5: HTTP/1.0 200 OK
        !             6: Content-Type: text/javascript
        !             7: Cache: none
        !             8: 
        !             9: var o = document.getElementById('logonForm');
        !            10: if (o != null) {
        !            11: EOF
        !            12: 
        !            13: chilliwww="http:\/\/$hs_uamlisten:$hs_uamport"
        !            14: echo "o.innerHTML='"$(cat json_html.tmpl|tr '\n' ' '|sed -e "s/'/\\'/"|sed -e "s/CHILLIWWW/$chilliwww/g")"';" 
        !            15: echo "}"
        !            16: 
        !            17: echo "setTimeout('chilliController.refresh()', 0);"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>