Rev 9436 | Rev 12315 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9436 | Rev 12116 | ||
---|---|---|---|
Line 100... | Line 100... | ||
100 | title=!module title_$lang $dir |
100 | title=!module title_$lang $dir |
101 | desc=!module description_$lang $dir |
101 | desc=!module description_$lang $dir |
102 | !endif |
102 | !endif |
103 | !default title=!module title $dir |
103 | !default title=!module title $dir |
104 | !default desc=!module description $dir |
104 | !default desc=!module description $dir |
- | 105 | desc_module=$desc |
|
105 | cat=!module category $dir |
106 | cat=!module category $dir |
106 | !if exercise notin $cat and oef notin $cat |
107 | !if exercise notin $cat and oef notin $cat |
107 | error=not_exo |
108 | error=not_exo |
108 | !exit |
109 | !exit |
109 | !endif |
110 | !endif |
Line 160... | Line 161... | ||
160 | !endif |
161 | !endif |
161 | !next i |
162 | !next i |
162 | !if $lerror=1 |
163 | !if $lerror=1 |
163 | listalready=!append item $ex to $listalready |
164 | listalready=!append item $ex to $listalready |
164 | !else |
165 | !else |
- | 166 | !reset desc |
|
165 | desc_=!lookup $ex in wimshome/public_html/modules/$smodule/Descindex |
167 | desc_=!lookup $ex in wimshome/public_html/modules/$smodule/Descindex |
166 | !if $desc_!=$empty |
168 | !if $desc_!=$empty |
167 | desc=$desc_ |
169 | desc=$desc_ |
168 | !endif |
170 | !endif |
- | 171 | !default desc=$desc_module |
|
169 | obs_=!lookup $ex in wimshome/public_html/modules/$smodule/Obsindex |
172 | obs_=!lookup $ex in wimshome/public_html/modules/$smodule/Obsindex |
170 | writedon=!append line :$smodule\ |
173 | writedon=!append line :$smodule\ |
171 | $exoiniparm\ |
174 | $exoiniparm\ |
172 | $require\ |
175 | $require\ |
173 | $weight\ |
176 | $weight\ |