Subversion Repositories wimsdev

Rev

Rev 5412 | Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1.  
  2. !set wims_form_method=post
  3. !read adm/title.phtml 1\
  4. $classname\
  5. $wims_name_csv
  6.  
  7. <center>
  8. !set wims_ref_class=wims_button
  9. !href cmd=reply $name_direct_score
  10. </center> <p>
  11.  
  12. !if $error!=$empty
  13.  !read lang/msg.phtml.$moduclass_lang
  14.  !if $error iswordof not_secure not_superclass
  15.   !exit
  16.  !endif
  17.  <p><hr> <p>
  18. !endif
  19.  
  20. !if $outfile!=$empty
  21.   $name_file <tt class="wims_fname">
  22.  !getfile $outfile $outfile
  23.  </tt> $name_download
  24.  <p><hr> <p>
  25. !endif
  26.  
  27. !if $processed=yes
  28.  !if $remark$change$added$missing$erased!=$empty or $manual=yes
  29.   $name_deposit<ul>
  30.   !if $change!=$empty
  31.    <li>$name_infochanged: <tt class="wims_login">
  32.    !replace internal , by ,$ $ in $change
  33.    </tt></li>
  34.   !endif
  35.   !if $added!=$empty
  36.    <li>$name_added: <tt class="wims_login">
  37.    !replace internal , by ,$ $ in $added
  38.    </tt></li>
  39.   !endif
  40.    !if $bad_login!=$empty
  41.    <li>$name_badlogin: <tt class="wims_login">
  42.    !replace internal , by ,$ $ in $bad_login
  43.    </tt></li>
  44.   !endif
  45.   !if full iswordof $remark
  46.    <li>$name_warning1</li>
  47.   !endif
  48.   !if noprop iswordof $remark
  49.    <li>$name_warning2</li>
  50.   !endif
  51.   !if noauto iswordof $remark
  52.    <li>$name_warning3</li>
  53.   !endif
  54.   !if $erased!=$empty
  55.    <li>$name_warning4:
  56.    <tt class="wims_login">
  57.    !replace internal , by ,$ $ in $erased
  58.    </tt></li>
  59.   !endif
  60.   !if $missing!=$empty
  61.    <li>
  62.    !if full notwordof $remark
  63.     $name_nologin1:
  64.    !else
  65.     $name_nologin2:
  66.    !endif
  67.    <tt class="wims_login">$missing</tt>
  68.   !endif
  69.   </li>
  70.   !if $manual=yes
  71.    <li>$name_manual1
  72.    !href module=adm/class/grades $name_check
  73. .</li>
  74.   !endif
  75.   </ul>
  76.  !else
  77.  $name_data1
  78.  !endif
  79.  <p><hr> <p>
  80. !endif
  81.  
  82. !form reply
  83. <input type="hidden" name="job" value="csv"/>
  84. <input type="hidden" name="csvtype" value="download"/>
  85. $name_data2<ul>
  86. <li>$name_format
  87. !formselect csvformat list csv,tsv
  88. &nbsp;
  89. !set wims_ref_class=wims_button_help
  90. !href module=$module&cmd=help&special_parm=csvformats $wims_name_help
  91. </li>
  92. <li>$name_column
  93. <input type="text" size="45" name="csvdownload" value="$csvdownload"/>
  94. &nbsp;
  95. !set wims_ref_class=wims_button_help
  96. !href module=$module&cmd=help&special_parm=csvfields $wims_name_help
  97. </li>
  98. </ul>
  99. <input type="submit" value="$wims_name_download"/>
  100.  
  101. </form>
  102. !! open the upload to the level supervisor  alternative use user_supervise
  103. !if $classtype notin 13 or $typename iswordof class course  or\
  104.    ($typename iswordof level and $wims_user=supervisor)
  105.  <hr>
  106.  !set wims_form_method=file
  107.  !form reply
  108.  <input type="hidden" name="job" value="csv"/>
  109.  <input type="hidden" name="csvtype" value="upload"/>
  110.  $name_data3
  111.  &nbsp;
  112. !set wims_ref_class=wims_button_help
  113.  !href module=$module&cmd=help&special_parm=upload $wims_name_help
  114.  <ul>
  115.  <li>$name_data <input type="file" size="30" name="wims_deposit"/> <br>
  116.  $name_format2: <tt>.csv</tt>, <tt>.tsv</tt>, <tt>.txt</tt>
  117.  &nbsp;
  118. !set wims_ref_class=wims_button_help
  119.  !href module=$module&cmd=help&special_parm=csvformats2 $wims_name_help
  120.  </li>
  121.  </ul>
  122.  <input type="submit" value="$wims_name_send"/>
  123.  </form>
  124. !endif
  125.  
  126. !set wims_menu_items=!append line back2,1,cmd=resume\
  127. to $wims_menu_items
  128.