File: preview.phtml

package info (click to toggle)
wims 2%3A4.29a%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,704 kB
  • sloc: xml: 366,687; javascript: 120,570; ansic: 62,341; java: 62,170; sh: 7,744; perl: 3,937; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (67 lines) | stat: -rw-r--r-- 1,815 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
!! -------- display for user without email
!if $nbbad>0
  <div class="wims_msg alert">
    !if $method=login
      $name_noemail_login : $(bad_list).
    !endif
    !if $method=filter
      <dl class="field">
      <dt>$name_noemail_filter</dt>
      <dd><pre>
        !for k in $sending_nomail
          !let data=!record $k of wimshome/sessions/$wims_session/.userlist_nomail
$(data[1]) $(data[2])
      !next k
      </pre></dd>
      </dl>
    !endif
  </div>
!endif

<p class="wims_msg info">$name_warning</p>

<div class="field box">
<dl class="field">
  <dt>$name_subject</dt>
  <dd>$save_subject</dd>
  <dt>$name_message</dt>
  <dd><textarea rows="5" readonly="readonly" disabled="disabled">$save_msg</textarea></dd>
  <dt>$name_recipients</dt>
  <dd><pre>
      !for k in $sending_mail
        !set data=!record $k of wimshome/sessions/$wims_session/.userlist_mail
          !if $method=login
$(data[1]) $(data[2]) ($(data[3]))
          !else
$(data[1]) $(data[2])
          !endif
      !next k
  </pre></dd>
  !if $save_selfsend=1 or ($save_sendotherteacher=1 and $nb_teacher>0)
      <dt>$name_recip_teacher</dt>
      <dd><pre>
      !if $save_selfsend=1
      !! line for supervisor
$supervisorname
      !endif
      !if $nb_teacher>0 and $save_sendotherteacher=1
        !for k=1 to $nb_teacher
            !set data=!record $k of wimshome/sessions/$wims_session/.teacherlist_mail
$(data[1]) $(data[2])
        !next k
      !endif
      </pre></dd>
  !endif
</dl>
</div>
<div class="wimscenter">
      !set wims_ref_class=wims_button
      !href cmd=reply&job=sendmail $wims_name_send
      &nbsp;
      !set wims_ref_class=wims_button wims_secondary_button
      !href cmd=new&job=edit $wims_name_giveup
</div>


!set wims_menu_items=!append line back2,1,cmd=reply&job=edit\
 to $wims_menu_items