Subversion Repositories wimsdev

Rev

Rev 13807 | Blame | Compare with Previous | Last modification | View Log | RSS feed

!set wims_module_log=error: $error

<span class="wims_warning">$wims_name_Error</span>.

!if empty_data iswordof $error
  !distribute items $wims_name_title,$wims_name_Description,$wims_name_Type into tmp_title, tmp_description, tmp_category

  Please fill in the field <span class="tt wims_warning">$(tmp_$(empty_data)</span>
  and check the other fields.
  !exit
!endif

!if bad_case iswordof $error
  There is already a file with the same name except for majuscules. Please change the name of the file you want to upload.
  !exit
!endif

!if bad_fname iswordof $error
  Illegal file name. Please choose another name for your file.
  !exit
!endif

!if binary_file iswordof $error
  Binary file is not allowed here.
  !exit
!endif

!if illegal_filedesc iswordof $error
  You cannot put anything else than straightforward definitions in
  <span class="tt wims_fname">filedesc</span>.
  !exit
!endif

!if badoriginal iswordof $error
  This module cannot be copied.
  !exit
!endif

!if clash iswordof $error
  Target module already exists.
  !exit
!endif

!if fname_already iswordof $error
  The module already contains a file named <span class="tt wims_fname">$fnewname</span>.
   Choose a different name.
  !exit
!endif

!if badtarget iswordof $error
  Target module address <span class="tt wims_address">$target</span> is bad: too long, too short, incomplete, or illegal characters.
  <ul>
  !if incorrect_t1 iswordof $error
    <li>incorrect zone</li>
  !endif
  !if incorrect_t2 iswordof $error
    <li>incorrect category</li>
  !endif
  !if incorrect_t3 iswordof $error
    <li>incorrect name</li>
  !endif
  !if incorrect_t4 iswordof $error
    <li>incorrect language</li>
  !endif
  !if incorrect_tlen iswordof $error
    <li>too long or too short address</li>
  !endif
  </ul>
  !exit
!endif

!if symlink iswordof $error
  The source module cannot be copied because it contains symbolic links.
  !exit
!endif

!if file_too_large iswordof $error
  The module cannot be archived, it is too large.
  !exit
!endif

!msg $error