Rev 2174 | Rev 3049 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2368 | bpr | 1 | |
2164 | bpr | 2 | !read adm/css.phtml |
1720 | bpr | 3 | |
1051 | bpr | 4 | !header1 |
23 | reyssat | 5 | |
2164 | bpr | 6 | |
1336 | bpr | 7 | !read adm/title.phtml 1\ |
8 | $classname\ |
||
1720 | bpr | 9 | $name_title |
2174 | bpr | 10 | |
23 | reyssat | 11 | !if $error!=$empty |
12 | <p> |
||
2174 | bpr | 13 | !read lang/msg.phtml.$moduclass_lang |
23 | reyssat | 14 | <p> |
1330 | bpr | 15 | !goto end1 |
23 | reyssat | 16 | !endif |
17 | |||
18 | !if $cmd=new or $cmd=resume |
||
1720 | bpr | 19 | $name_insert <tt>$dir</tt> |
1401 | bpr | 20 | !if $iniparm!=$empty |
1720 | bpr | 21 | $name_parm <tt>$iniparm</tt> |
23 | reyssat | 22 | !endif |
23 | . <p> |
||
24 | |||
25 | !form reply |
||
1720 | bpr | 26 | $name_choose: |
23 | reyssat | 27 | <select name=picksheet> |
28 | !for i=1 to $sheetcnt |
||
29 | !set sh=!line $i of $sheets |
||
30 | !set se=!item 1 of $sh |
||
31 | !set ti=!item 2 to -1 of $sh |
||
1396 | bpr | 32 | !if $se=$sheetcnt |
1720 | bpr | 33 | <option value=$se selected>$wims_name_Sheet $se: $ti |
1396 | bpr | 34 | !else |
1720 | bpr | 35 | <option value=$se>$wims_name_Sheet $se: $ti |
1396 | bpr | 36 | !endif |
23 | reyssat | 37 | !next i |
38 | </select> |
||
1720 | bpr | 39 | <p>$name_modifytitle |
1574 | bpr | 40 | <p> |
728 | bpr | 41 | !set iniparm1=!replace internal & by $ $ in $iniparm |
42 | !set exo=!getopt exo in $iniparm1 |
||
43 | !set title1=!lookup $exo in wimshome/public_html/modules/$dir/Extitles |
||
44 | !if $title1!=$empty |
||
45 | !set title=$title1 |
||
46 | !endif |
||
23 | reyssat | 47 | !set title=!trim $title |
1720 | bpr | 48 | !default title=$wims_name_Exercise |
1574 | bpr | 49 | $wims_name_title: <input size=50 name=title value="$title"> <p> |
50 | $wims_name_Description: <textarea name=new_desc rows=5 cols=50>$desc</textarea> |
||
23 | reyssat | 51 | !if $scoring=yes |
1720 | bpr | 52 | <p>$name_required: |
53 | <input size=4 name=require value="$require"> |
||
54 | <small> |
||
55 | ($name_repeat) |
||
56 | </small><p> |
||
57 | $name_weight: |
||
23 | reyssat | 58 | <input size=6 name=weight value="$weight">. |
59 | !endif |
||
1720 | bpr | 60 | <p><center><input type=submit value="$wims_name_Insert"></center> |
23 | reyssat | 61 | </form> |
62 | !goto end |
||
63 | !endif |
||
64 | |||
65 | !if $cmd=reply |
||
1720 | bpr | 66 | $name_end |
67 | $picksheet. |
||
1330 | bpr | 68 | |
23 | reyssat | 69 | !endif |
1330 | bpr | 70 | :end1 |
1336 | bpr | 71 | !set wims_menu_items=!append line sheetcheck,1, module=adm/class/sheet&sheet=$picksheet\ |
72 | to $wims_menu_items |
||
23 | reyssat | 73 | |
74 | :end |
||
1542 | bpr | 75 | !set wims_menu_items=!append line moduback,1,module=$dir\ |
1336 | bpr | 76 | to $wims_menu_items |
1542 | bpr | 77 | |
23 | reyssat | 78 | !tail |
79 | |||
80 | !set job= |
||
81 |