Subversion Repositories wimsdev

Rev

Rev 12043 | 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
 
13807 czzmrn 44
!if fname_already iswordof $error
45
 The module already contains a file named <span class="tt wims_fname">$fnewname</span>.
46
  Choose a different name.
47
 !exit
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.
4179 obado 52
 <ul>
53
  !if incorrect_t1 iswordof $error
54
   <li>incorrect zone</li>
55
  !endif
56
  !if incorrect_t2 iswordof $error
57
   <li>incorrect category</li>
58
  !endif
59
  !if incorrect_t3 iswordof $error
60
   <li>incorrect name</li>
61
  !endif
62
  !if incorrect_t4 iswordof $error
4785 bpr 63
   <li>incorrect language</li>
4179 obado 64
  !endif
65
  !if incorrect_tlen iswordof $error
66
   <li>too long or too short address</li>
67
  !endif
68
 </ul>
23 reyssat 69
 !exit
70
!endif
71
 
72
!if symlink iswordof $error
73
 The source module cannot be copied because it contains symbolic links.
74
 !exit
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