Subversion Repositories wimsdev

Rev

Rev 11457 | Rev 13807 | Go to most recent revision | 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
4785 bpr 6
 !distribute items $wims_name_title,$wims_name_Description,$wims_name_Type into tmp_title, tmp_description, tmp_category
7
 
5901 bpr 8
 Please fill in the field <span class="tt wims_warning">$(tmp_$(empty_data)</span>
4785 bpr 9
and check the other fields.
23 reyssat 10
 !exit
11
!endif
12
 
12043 bpr 13
!if bad_case iswordof $error
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
16
!endif
17
 
23 reyssat 18
!if bad_fname iswordof $error
19
 Illegal file name. Please choose another name for your file.
20
 !exit
21
!endif
22
 
23
!if binary_file iswordof $error
24
 Binary file is not allowed here.
25
 !exit
26
!endif
27
 
28
!if illegal_filedesc iswordof $error
7703 bpr 29
 You cannot put anything else than straightforward definitions in
5901 bpr 30
 <span class="tt wims_fname">filedesc</span>.
23 reyssat 31
 !exit
32
!endif
33
 
34
!if badoriginal iswordof $error
35
 This module cannot be copied.
36
 !exit
37
!endif
38
 
39
!if clash iswordof $error
40
 Target module already exists.
41
 !exit
42
!endif
43
 
44
!if badtarget iswordof $error
5901 bpr 45
  Target module address <span class="tt wims_address">$target</span> is bad: too long, too short, incomplete, or illegal characters.
4179 obado 46
 <ul>
47
  !if incorrect_t1 iswordof $error
48
   <li>incorrect zone</li>
49
  !endif
50
  !if incorrect_t2 iswordof $error
51
   <li>incorrect category</li>
52
  !endif
53
  !if incorrect_t3 iswordof $error
54
   <li>incorrect name</li>
55
  !endif
56
  !if incorrect_t4 iswordof $error
4785 bpr 57
   <li>incorrect language</li>
4179 obado 58
  !endif
59
  !if incorrect_tlen iswordof $error
60
   <li>too long or too short address</li>
61
  !endif
62
 </ul>
23 reyssat 63
 !exit
64
!endif
65
 
66
!if symlink iswordof $error
67
 The source module cannot be copied because it contains symbolic links.
68
 !exit
69
!endif
70
 
11457 bpr 71
!if file_too_large iswordof $error
72
  The module cannot be archived, it is too large.
73
  !exit
74
!endif
75
 
23 reyssat 76
!msg $error