Rev 16728 | Rev 16777 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16728 | Rev 16729 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | 36 | ||
37 | tmp=!defof MAX_SHEETS\ |
37 | tmp=!defof MAX_SHEETS\ |
38 | MAX_REQUIRE\ |
38 | MAX_REQUIRE\ |
39 | DF_SEVERITY\ |
39 | DF_SEVERITY\ |
40 | MIN_WEIGHT\ |
40 | MIN_WEIGHT\ |
- | 41 | MAX_WEIGHT\ |
|
41 |
|
42 | MAX_EXOS in wimshome/public_html/bases/sys/define.conf |
42 | !distribute line $tmp into |
43 | !distribute line $tmp into max_sheets,require_limit,df_severity,min_weight,max_weight,max_exos |
43 | title_limit=80 |
44 | title_limit=80 |
44 | desc_limit=4000 |
45 | desc_limit=4000 |
45 | etitle_limit=100 |
46 | etitle_limit=100 |
46 | edesc_limit=400 |
47 | edesc_limit=400 |
47 | 48 | ||
Line 151... | Line 152... | ||
151 | !else |
152 | !else |
152 | !reset indivtechvar |
153 | !reset indivtechvar |
153 | !endif |
154 | !endif |
154 | !endif |
155 | !endif |
155 | !if $job=prep_activate |
156 | !if $job=prep_activate |
- | 157 | nb=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
|
- | 158 | !if $nb>$max_exos |
|
- | 159 | error=toomanyexo |
|
- | 160 | !reset job |
|
- | 161 | !exit |
|
- | 162 | !endif |
|
156 | !read adm/sheet/checkdepindiv |
163 | !read adm/sheet/checkdepindiv |
157 | !if $sheet isitemof $sheet_dependancy and $sheet isitemof $sheet_indivtechvar |
164 | !if $sheet isitemof $sheet_dependancy and $sheet isitemof $sheet_indivtechvar |
158 | error=depindiv |
165 | error=depindiv |
159 | !reset job |
166 | !reset job |
160 | !endif |
167 | !endif |