Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
16013 | guerimand | 1 | !! this script restore data in list key from .def in arch to .def in class. |
2 | !! only configuration class |
||
3 | listkey=password,supervisor,description,institution,location,lang,email,expiration,\ |
||
4 | limit,topscores,level,secure,bgcolor,bgimg,scorecolor,actcolor,css,logo,\ |
||
5 | refcolor,ref_menucolor,ref_button_bgcolor,ref_button_help_color,\ |
||
6 | ref_button_help_bgcolor,theme,theme_icon,exolog,anonymtopscores,\ |
||
7 | authscoresuspend,supconnectshowed,exotitleform,examlog,examscore_withoutip,\ |
||
8 | examshow,option,connections,lock,homepage,ent,sendmailteacher,allowcloning,cloninpwd,\ |
||
9 | showlivret |
||
10 | |||
11 | !reset data_ |
||
12 | !sh cp $wims_home/log/classes/$wims_class/.def $wims_home/log/classes/$wims_class/.def.bak |
||
13 | !for k in $listkey |
||
14 | t_=!getdef class_$k in wimshome/sessions/$wims_session/upload/class/.def |
||
15 | data_=!append line !set class_$k=$t_ to $data_ |
||
16 | !next k |
||
17 | !setdef $data_ in wimshome/log/classes/$wims_class/.def |