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