Subversion Repositories wimsdev

Rev

Rev 17200 | 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

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

!if no_subclass iswordof $error
 V trenutnih okoli¹èinah nimate pravic za ustvarjanje uèilnic.
 !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
  <div class="wims_msg warning">
    Le mot de passe de création qui vous a été transmis par l'administrateur ne doit pas être communiqué. 
    !if $cltype=2
      De même, vous vous engagez à ne diffuser le mot de passe d'inscription des enseignants à votre groupement seulement aux enseignants dont vous souhaitez l'inscription dans votre groupement. En aucun cas ce mot de passe n'aura une diffusion publique. L'administrateur du serveur se réserve le droit de fermer votre groupement en cas de manquement à cette règle.
    !endif
  </div>
 !if $sendmail!=$empty
  <p class="wimscenter large">The password has been send by email to the address
  </p>
 !endif
 !if $regpass!=$empty
  Sorry, your password is not correct. Please try again.
 !else
  !set cname=!item $cltype+1 of virtual classes,,groups of classes,,\
        institution portals
  The creation of $cname on this site is protected by a password.
  You must enter this password before continuing.
 !endif
 <p>
 !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
  Remark. Please write to
  !mailurl $wims_site_manager the webmaster\
Virtual class creation password
  if you want an account for creating virtual classes.
  !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 wims_code_words">$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 wims_code_words">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 informations 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.
 !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 does not correspond to the first one. Your
 creation of class is therefore not taken into account; you may try it
 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!
 !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. <p>
 !read adm/lang/links.phtml.$modu_lang
 !exit
!endif

!if classdontexists=$error
 Cette classe n'existe pas.
 !exit
!endif

!if notexempleclass=$error
 Cette classe n'est pas une classe d'exemple : impossible de la copier.
 !exit
!endif

!if badcpmethod=$error
 Méthode de copie impossible à identifier. Recommencer l'opération. Si l'erreur persiste contacter l'administrateur du serveur.
 !exit
!endif

!if cloningnotallow=$error
 La duplication de cette classe n'est pas autorisée par son administrateur.
 !exit
!endif

!if badcloningpwd=$error
 Mauvais mot de passe de duplication.
 !exit
!endif

!if disallowcloning=$error
 Aucun duplication ne peut être réalisée sur cette classe.
 !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

!msg $error