Subversion Repositories wimsdev

Rev

Rev 15421 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2977 guerimand 1
!if $error!=$empty
10228 bpr 2
  <div class="wims_msg alert">
7178 bpr 3
  !read lang/msg.phtml.$modu_lang
5874 bpr 4
  </div>
2977 guerimand 5
!endif
2845 guerimand 6
 
2977 guerimand 7
!if $step=$empty
15421 bpr 8
  !form reply
11938 bpr 9
  <fieldset class="property_fields blockcenter">
10
  <legend>$name_message</legend>
7486 bpr 11
   <div class="field box">
12
    <label for="sendmail_subject">$name_subject</label>
17180 bpr 13
    <input type="text" name="sendmail_subject" id="sendmail_subject" size="45" value="$sendmail_subject">
7486 bpr 14
   </div>
15
   <div class="field box">
16
    <label for="sendmail_msg">$name_message</label>
17
    <textarea name="sendmail_msg" id="sendmail_msg" cols="80" rows="10">$sendmail_msg</textarea>
18
   </div>
11938 bpr 19
   </fieldset>
20
   <fieldset class="property_fields blockcenter">
21
    <legend>$(name_dest[1])</legend>
7486 bpr 22
     <ul>
2971 guerimand 23
     !for k=1 to $nbcheck_list
7486 bpr 24
     <li>
17180 bpr 25
      <input type="checkbox" name="sendmail_dest" value="$k" id="sendmail_dest$k">
11938 bpr 26
      <label for="sendmail_dest$k">$(check_list[$k])</label> ($(cnt_list[$k]))
7486 bpr 27
     </li>
2971 guerimand 28
     !next k
11938 bpr 29
     </ul>
30
   </fieldset>
7486 bpr 31
   <div class="wimscenter wimsform">
17180 bpr 32
     <input type="hidden" name="step" value="1">
33
     <input type="submit" name="sendmail_reg" value="$wims_name_send">
13692 obado 34
     !set wims_ref_class=wims_button wims_secondary_button
2983 bpr 35
     !href cmd=renew $wims_name_giveup
5932 bpr 36
   </div>
5927 bpr 37
!formend
2971 guerimand 38
!else
39
  $table_header
40
   $table_tr
8373 bpr 41
    <th>$name_subject</th>
2977 guerimand 42
    <td>$save_subject</td>
2971 guerimand 43
   </tr>
44
   $table_tr
8373 bpr 45
    <th>$name_message</th>
46
    <td style="text-align:left"><pre>$save_msg</pre></td>
2971 guerimand 47
   </tr>
48
   $table_tr
8373 bpr 49
    <th>$(name_dest[1])</th>
50
    <td style="text-align:left">
17180 bpr 51
     !replace internal , by <br> in $save_list
2977 guerimand 52
    </td>
2971 guerimand 53
   </tr>
5953 bpr 54
 $table_end
2982 guerimand 55
    !if $step=1
2977 guerimand 56
     !form reply
17180 bpr 57
      <input type="hidden" name="step" value="2">
7521 obado 58
      <div class="wimscenter actions">
17180 bpr 59
        <input type="submit" name="sendmail_reg" value="$wims_name_send"> &nbsp;
14281 obado 60
        !set wims_ref_class=wims_button wims_secondary_button
7521 obado 61
        !href cmd=renew $wims_name_giveup
5953 bpr 62
      </div>
5927 bpr 63
     !formend
2982 guerimand 64
    !else
14281 obado 65
      <div class="wims_msg success">$name_sending.</div>
66
      !reset step
2982 guerimand 67
    !endif
7486 bpr 68
 
2971 guerimand 69
!endif
7178 bpr 70
!reset sendmail_subject,sendmail_dest,sendmail_reg,sendmail_msg