Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6348 | bpr | 1 | !reset validate_out |
2 | !reset test_validate |
||
3 | |||
4 | test_validate=!sh cat $wims_home/s2/$(wims_session)_test/last.html |
||
5 | |||
6 | !if $test_validate!=$empty |
||
7 | !!delete the lines coming from post method |
||
8 | test_validate=!line 6 to -1 of $test_validate |
||
9 | !! must copy in an other place : this is done only from modtool |
||
10 | !! must we check again the developper status ?? |
||
11 | !filewrite getfile/last.html $test_validate |
||
12 | !! parametre à aller chercher dans wims.conf |
||
13 | !! validator_address="http://wimstest1.di.u-psud.fr/w3c-validator/check"; |
||
14 | !! en local : validator_address="/usr/share/w3c-markup-validator/cgi-bin/check" |
||
15 | |||
16 | !if $validator_address!=$empty and $validation_ask!=$empty |
||
17 | validate_out=!sh scripts/adm/validation/validator.pl $wims_home/sessions/$(wims_session)/getfile/last.html $validator_address |
||
18 | !endif |
||
19 | !endif |
||
20 |