Subversion Repositories wimsdev

Rev

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


!if $backdays>7
  !if $backdays>100
    <div class="wims_msg warning">
      Your class has not been backed up for more than 100 days.
    </div>
  !else
    <div class="wims_msg info">
      Last backup of your class: $backdays days ago.
    </div>
  !endif
  <div class="wims_msg warning">
    !if backup iswordof $warn
      <strong class="wims_warning">$wims_name_warning</strong>.
      <br>
      It is the teachers' responsability to backup their own teaching materials!
      The webmaster can only retreive lost worksheets or exercises exceptionally.
      Moreover, virtual classes which have not been regularly
      backed up will be considered as inactive and unimportant by the software,
      and may be erased at any time to make space for others.
    !else
      Protect yourself against server incidents!
    !endif
    !href cmd=reply&job=arch Backup the class
    regularly.
  </div>
!endif

!if creation iswordof $warn
  <div class="wims_msg warning">
    <strong class="wims_warning">$wims_name_warning</strong>.
    Your virtual class is too old! It already has $creatdays days.
  </div><p>
    It is highly recommended that you create a new virtual class structure at
    the end of each academic year. Continue using an old virtual class structure over
    the years will result in registry file and disk quota overflow, which risks
    blocking access to your class at crucial moments.
  </p>
  !if $class_type notin 13
    <p>
    Here is how to create your virtual class without recreating your teaching materials.
    </p>
    <ol>
    <li>
      !href cmd=reply&job=arch Backup
      your class at the end of the academic year.
    </li><li>
      <a href="$wims_ref_name?lang=$lang&module=adm/class/regclass">Create</a>
      a new virtual class (or a class group or an institutional gateway) at the beginning
      of the next academic year.
    </li><li>
      Restore the teaching materials you previously backed up to the new class
    (without necessarily restoring student accounts and activities that are obsolete.)
    </li></ol>
  !else
    <p>
      Please tell this to the administrator of the class group gateway to which
      your class belongs.
    </p><p>
      You can
      !href cmd=reply&job=arch backup
      the teaching materials of your current class then retore them to the newly
      created one.
    </p>
  !endif
!endif
!exit

!if $warn=$empty
  !set job=list
  !changeto list.phtml
!else
  <div class="wimscenter">
    !href cmd=reply&job=list Continue with class maintenance.
  </div>
!endif