Subversion Repositories wimsdev

Rev

Rev 13076 | Rev 13345 | 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
 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 institution portals.
 !exit
!endif

!if getpass iswordof $error
 !if $sendmail!=$empty
  <div class="wimscenter">
  The password has beed send by email to the adress
  </div>
 !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

 !form reply
  <input type="hidden" name="step" value="0" />
  Enter the password: <input size="16" name="regpass" type="password" />

!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

 !form reply
  <table class="wimscenter wimsnoborder">
  <tr><td style="text-align:right">
  Entrez the name of your account:</td><td><input size="20" name="regid" /></td>
  </tr><tr><td style="text-align:right">
  And the password:</td><td><input size="16" name="regpass" type="password" />
  <input type="submit" value="$wims_name_tosave" /></td>
  </tr></table>

!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.
 <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=$error
 The password you retyped 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
 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
 Aucune duplication de cette classe ne peut être réalisée.
 !exit
!endif

!msg $error