Rev 13807 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !set wims_module_log=error: $error |
2 | |||
4028 | bpr | 3 | <span class="wims_warning">$wims_name_Error</span>. |
23 | reyssat | 4 | |
5 | !if empty_data iswordof $error |
||
16810 | bpr | 6 | !distribute items $wims_name_title,$wims_name_Description,$wims_name_Type into tmp_title, tmp_description, tmp_category |
4785 | bpr | 7 | |
16810 | bpr | 8 | Please fill in the field <span class="tt wims_warning">$(tmp_$(empty_data)</span> |
9 | and check the other fields. |
||
10 | !exit |
||
23 | reyssat | 11 | !endif |
12 | |||
12043 | bpr | 13 | !if bad_case iswordof $error |
16810 | bpr | 14 | There is already a file with the same name except for majuscules. Please change the name of the file you want to upload. |
15 | !exit |
||
12043 | bpr | 16 | !endif |
17 | |||
23 | reyssat | 18 | !if bad_fname iswordof $error |
16810 | bpr | 19 | Illegal file name. Please choose another name for your file. |
20 | !exit |
||
23 | reyssat | 21 | !endif |
22 | |||
23 | !if binary_file iswordof $error |
||
16810 | bpr | 24 | Binary file is not allowed here. |
25 | !exit |
||
23 | reyssat | 26 | !endif |
27 | |||
28 | !if illegal_filedesc iswordof $error |
||
16810 | bpr | 29 | You cannot put anything else than straightforward definitions in |
30 | <span class="tt wims_fname">filedesc</span>. |
||
31 | !exit |
||
23 | reyssat | 32 | !endif |
33 | |||
34 | !if badoriginal iswordof $error |
||
16810 | bpr | 35 | This module cannot be copied. |
36 | !exit |
||
23 | reyssat | 37 | !endif |
38 | |||
39 | !if clash iswordof $error |
||
16810 | bpr | 40 | Target module already exists. |
41 | !exit |
||
23 | reyssat | 42 | !endif |
43 | |||
13807 | czzmrn | 44 | !if fname_already iswordof $error |
16810 | bpr | 45 | The module already contains a file named <span class="tt wims_fname">$fnewname</span>. |
46 | Choose a different name. |
||
47 | !exit |
||
13807 | czzmrn | 48 | !endif |
49 | |||
23 | reyssat | 50 | !if badtarget iswordof $error |
5901 | bpr | 51 | Target module address <span class="tt wims_address">$target</span> is bad: too long, too short, incomplete, or illegal characters. |
16810 | bpr | 52 | <ul> |
4179 | obado | 53 | !if incorrect_t1 iswordof $error |
16810 | bpr | 54 | <li>incorrect zone</li> |
4179 | obado | 55 | !endif |
56 | !if incorrect_t2 iswordof $error |
||
16810 | bpr | 57 | <li>incorrect category</li> |
4179 | obado | 58 | !endif |
59 | !if incorrect_t3 iswordof $error |
||
16810 | bpr | 60 | <li>incorrect name</li> |
4179 | obado | 61 | !endif |
62 | !if incorrect_t4 iswordof $error |
||
16810 | bpr | 63 | <li>incorrect language</li> |
4179 | obado | 64 | !endif |
65 | !if incorrect_tlen iswordof $error |
||
16810 | bpr | 66 | <li>too long or too short address</li> |
4179 | obado | 67 | !endif |
16810 | bpr | 68 | </ul> |
69 | !exit |
||
23 | reyssat | 70 | !endif |
71 | |||
72 | !if symlink iswordof $error |
||
16810 | bpr | 73 | The source module cannot be copied because it contains symbolic links. |
74 | !exit |
||
23 | reyssat | 75 | !endif |
76 | |||
11457 | bpr | 77 | !if file_too_large iswordof $error |
78 | The module cannot be archived, it is too large. |
||
79 | !exit |
||
80 | !endif |
||
81 | |||
23 | reyssat | 82 | !msg $error |