Subversion Repositories wimsdev

Rev

Rev 17200 | Rev 17260 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

!set lang_exists=yes

!default wims_name_passsup=$wims_name_Password ($name_sup)
!default wims_name_password=$wims_name_Password ($name_classesss)
!default wims_name_institution=$name_Name_portal
!default wims_name_description=$wims_name_name $name_classesss

!set cname=!item $cltype+1 of virtual classes,,groups of classes,,\
  institution portals

!if noagreecgu iswordof $error
  $noagreecgu_msg
  !exit
!endif

!if no_subclass iswordof $error
  You have no right to create subclasses under the current circumstances.
  !set restart=no
  !exit
!endif

!if no_right iswordof $error
 Sorry, you have no right to create virtual classes on this site. Please
  !mailurl $wims_site_manager contact the webmaster\
Virtual class creation
  for more details.
  !set restart=no
  !exit
!endif

!if not_manager iswordof $error
  Sorry but only the webmaster has the right to create $cname.
  !exit
!endif

!if getpass iswordof $error
  !if $sendmail!=$empty
    The password has beed send by email to the adress $sendmail.
  !endif
  !if $regpass!=$empty
    Sorry, your password is not correct. Please try again.
  !else
    The creation of $cname on this site is protected by a password.
    You must enter this password before continuing.
  !endif
 !form reply
  <input type="hidden" name="step" value="$step">
  <input type="hidden" name="job" value="$job">
  <label for="regpass">Enter the password:</label>
  <input size="16" name="regpass" id="regpass" type="password" required>
 !formend

 Remark. The password for creation of virtual classes should be obtained from
 !mailurl $wims_site_manager the manager\
Virtual class creation password
 of this WIMS site.
 !set restart=no
 !exit
!endif

!if getid iswordof $error
  !if $regpass$regid!=$empty
    Sorry, your password is not correct. Please try again.
  !else
    The creation of virtual classes on this site is protected by a system of
    authentication. Please identify yourself.
  !endif
  </div>
  !form reply
    <fieldset class="property_fields halfwidth blockcenter">
      <div class="field box">
        <label for="regid">
          Name of your account:
        </label>
        <input size="20" name="regid" id="regid" required>
      </div>
      <div class="field box">
        <label for="regpass">
          And the password:
        </label>
        <input size="16" name="regpass" id="regpass" type="password"  required>
      </div>
      <div class="wimscenter">
        <input type="submit" value="$wims_name_send">
      </div>
    </fieldset>
  !formend

  <p>
    Remark. Please write to
    !mailurl $wims_site_manager the webmaster\
Virtual class creation password
    if you want an account for creating virtual classes.
  </p>
  !set restart=no
  !exit
!endif

!if class_quota=$error
  You have the right to install up to $r_quota1 classes.
  You've had all; no room for more.
  !set restart=no
  !exit
!endif

!if bad_secure=$error
  Your current host does not fit your definition of secure access
  (<span class="tt">$secure</span>)! This is probably an error which would make you unable
  to control your class.
  <p>
  Please read attentively the documentation below. If you still do not
  understand, leave this field empty (you will be sent temporary secret codes
  for sensitive operations), or put the word <span class="tt">all</span> to disable this
    security measure.
  </p><hr>
  !read help/hosts.phtml
  !reset secure
  !exit
!endif

!if has_empty=$error
  You have not given all the necessary information for the creation of a
  class. Please complete your data before submitting them.<br>
  <span class="tt wims_code_words">$(wims_name_$error_subject) required.</span>
  !exit
!endif

!if too_short=$error
  The data field <span class="tt wims_code_words">$(wims_name_$(error_subject))</span> seems to be too short.
  !exit
!endif

!if bad_date=$error
  Your expiration data is not correct.
  !exit
!endif

!if anti_date=$error
  Your class has an expiration date before today. It would be expired before
  being created!
  !exit
!endif

!if bad_level=$error
  Bad level value.
  !exit
!endif

!if bad_email=$error
  Your email address is apparently not valid.
  <p>
  Please be aware that your creation of class will not succeed, unless
  you submit a REAL email address of YOUR OWN.
  </p>
  !exit
!endif

!if existing=$error
  The class $classname seems already exist. You should not recreate the
  same class.
  !exit
!endif

!if pass_discord isin $error
  The password you retyped (
  !if sup isin $error
    teacher
    !if class isin $error
      and class
    !endif
  !else
    !if class isin $error
      class
    !endif
  !endif
  ) does not correspond to the one originally given. Your
  class can therefore not be created. Please try again.
  again.
  !exit
!endif

!if bad_pass=$error
  Your $(wims_name_$(error_subject)) contains illegal characters.
  Please use a word containing only digits or letters without accent, and
  without space between them.
  !exit
!endif

!if bad_code=$error
  You did not enter the right code for the class. Have you given your
  email address correctly?
  <p>
  This failure has been logged.
  </p>
  !exit
!endif

!if define_fail=$error or abuse=$error
  The server has failed to insert your class into the database. This is
  an internal error of the software.
  <p>
    Please report the problem to the
    !mailurl $wims_site_manager webmaster\
user registration failure
. Thanks!
  </p>
  !exit
!endif

!if duplicate=$error
  You have tried to recreate an existing class. Perhaps because you clicked
  on the button `reload'? In any case, your class $classname is already
  there, and the second tentative of creation is ignored.
  <div>
  !read adm/lang/links.phtml.$modu_lang
  </div>
  !exit
!endif

!if classdontexists=$error
  This class does not exist.
  !exit
!endif

!if notexempleclass=$error
  This class is not an example class: you can't copy it.
  !exit
!endif

!if badcpmethod=$error
  Unidentifiable copy method. Repeat the operation.
  If the error persists, contact the server administrator.
  !exit
!endif

!if cloningnotallow=$error
  Duplication of this class is not allowed by its administrator.
  !exit
!endif

!if badcloningpwd=$error
  Wrong duplication password.
  !exit
!endif

!if disallowcloning=$error
  No duplication of this class can be performed.
  !exit
!endif

!if subclasslimit=$error
  Vous avez atteint le nombre maximum de sous-classes ($max_subclasses). Il n'est pas possible d'en créer d'autres.
  !exit
!endif

!if bad_file iswordof $error
  Sorry, but I cannot recognize <em>$wims_deposit</em> as a class backup file.
  Either you have sent a wrong file, or it is corrupt.
  !exit
!endif

!msg $error