Subversion Repositories wimsdev

Rev

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