Rev 3538 | Rev 4002 | 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 |
3535 | bpr | 21 | $name_parm |
22 | <code> |
||
23 | !replace internal & by & in $iniparm |
||
24 | </code> |
||
23 | reyssat | 25 | !endif |
26 | . <p> |
||
27 | |||
28 | !form reply |
||
1720 | bpr | 29 | $name_choose: |
3049 | bpr | 30 | <select name="picksheet"> |
23 | reyssat | 31 | !for i=1 to $sheetcnt |
32 | !set sh=!line $i of $sheets |
||
33 | !set se=!item 1 of $sh |
||
34 | !set ti=!item 2 to -1 of $sh |
||
1396 | bpr | 35 | !if $se=$sheetcnt |
3588 | bpr | 36 | <option value="$se" selected>$wims_name_Sheet $se: $ti</option> |
1396 | bpr | 37 | !else |
3535 | bpr | 38 | <option value="$se">$wims_name_Sheet $se: $ti</option> |
1396 | bpr | 39 | !endif |
23 | reyssat | 40 | !next i |
41 | </select> |
||
1720 | bpr | 42 | <p>$name_modifytitle |
1574 | bpr | 43 | <p> |
728 | bpr | 44 | !set iniparm1=!replace internal & by $ $ in $iniparm |
45 | !set exo=!getopt exo in $iniparm1 |
||
46 | !set title1=!lookup $exo in wimshome/public_html/modules/$dir/Extitles |
||
47 | !if $title1!=$empty |
||
48 | !set title=$title1 |
||
49 | !endif |
||
23 | reyssat | 50 | !set title=!trim $title |
1720 | bpr | 51 | !default title=$wims_name_Exercise |
3538 | bpr | 52 | $wims_name_title: <input size="50" name="title" value="$title"> <p> |
53 | $wims_name_Description: <textarea name="new_desc" rows="5" cols="50">$desc</textarea> |
||
23 | reyssat | 54 | !if $scoring=yes |
1720 | bpr | 55 | <p>$name_required: |
3535 | bpr | 56 | <input size="4" name="require" value="$require"> |
1720 | bpr | 57 | <small> |
58 | ($name_repeat) |
||
59 | </small><p> |
||
60 | $name_weight: |
||
3538 | bpr | 61 | <input size="6" name="weight" value="$weight">. |
23 | reyssat | 62 | !endif |
3538 | bpr | 63 | <p><center><input type="submit" value="$wims_name_Insert"></center> |
23 | reyssat | 64 | </form> |
65 | !goto end |
||
66 | !endif |
||
67 | |||
68 | !if $cmd=reply |
||
1720 | bpr | 69 | $name_end |
70 | $picksheet. |
||
1330 | bpr | 71 | |
23 | reyssat | 72 | !endif |
1330 | bpr | 73 | :end1 |
1336 | bpr | 74 | !set wims_menu_items=!append line sheetcheck,1, module=adm/class/sheet&sheet=$picksheet\ |
75 | to $wims_menu_items |
||
23 | reyssat | 76 | |
77 | :end |
||
1542 | bpr | 78 | !set wims_menu_items=!append line moduback,1,module=$dir\ |
1336 | bpr | 79 | to $wims_menu_items |
1542 | bpr | 80 | |
23 | reyssat | 81 | !tail |
82 | |||
83 | !set job= |
||
84 |