aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/notification_by_mail.tpl
blob: c0c2424dbf2807ed07543ab9181bbf57bff0e523 (plain)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!-- $Id: notification_by_mail.tpl Ruben ARNAUD -->
<div class="titrePage">
  <ul class="categoryActions">
    <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
  </ul>
  <h2>{lang:nbm_Send mail to users} [{U_TABSHEET_TITLE}]</h2>
  <!-- BEGIN header_link -->
  <h3>
    <p style="text-align:center;">
      <a href="{header_link.PARAM_MODE}">{lang:nbm_param_mode}</a> | 
      <a href="{header_link.SUBSCRIBE_MODE}">{lang:nbm_subscribe_mode}</a> | 
      <a href="{header_link.SEND_MODE}">{lang:nbm_send_mode}</a>
    </p>
  </h3>
  <!-- END header_link -->
</div>

<form method="post" name="notification_by_mail" id="notification_by_mail" action="{F_ACTION}">

  <!-- BEGIN param -->
  <fieldset>
    <legend><strong>{lang:nbm_title_param}</strong></legend>

    <table>
      <tr>
     <tr>
        <td>
          <label for="send_mail_as">{lang:nbm_send_mail_as}</label>
          <br><i><small>{lang:nbm_info_send_mail_as}</small></i>
        </td>
        <td><input type="text" maxlength="35" size="35" name="nbm_send_mail_as" id="send_mail_as" value="{param.SEND_MAIL_AS}"/></td>
      </tr>
        <td><label for="send_detailed_content">{lang:nbm_send_detailed_content} </label></td>
        <td>
          <label><input type="radio" name="nbm_send_detailed_content" value="true"  {param.SEND_DETAILED_CONTENT_YES}/>{lang:yes}</label>
          <label><input type="radio" name="nbm_send_detailed_content" value="false" {param.SEND_DETAILED_CONTENT_NO}/>{lang:no}</label>
        </td>
      </tr>
     <tr>
        <td><label for="complementary_mail_content">{lang:nbm_complementary_mail_content} </label></td>
        <td><textarea cols="50" rows="5" name="nbm_complementary_mail_content" id="complementary_mail_content">{param.COMPLEMENTARY_MAIL_CONTENT}</textarea></td>
      </tr>
    </table>
  </fieldset>

  <p>
    <input type="submit" value="{lang:Submit}" name="param_submit" {TAG_INPUT_ENABLED}/>
    <input type="reset" value="{lang:Reset}" name="param_reset"/>
  </p>
  <!-- END param -->

  <!-- BEGIN subscribe -->
  <fieldset>
    <legend><strong>{lang:nbm_title_subscribe}</strong></legend>
    <br><center><i>{lang:nbm_warning_subscribe_unsubcribe}</i></center><br>
    {DOUBLE_SELECT}
  </fieldset>
  <!-- END subscribe -->

  <!-- BEGIN send -->
    <!-- BEGIN send_empty -->
    <center>
      {lang:nbm_no_user_available_to_send_L1}<br>
      {lang:nbm_no_user_available_to_send_L2}<br>
    </center>
    <!-- END send_empty -->
    <!-- BEGIN send_data -->
    <fieldset>
      <legend><strong>{lang:nbm_title_send}</strong></legend>
      <table class="table2">
        <tr class="throw">
          <th>{lang:nbm_col_user}</th>
          <th>{lang:nbm_col_mail}</th>
          <th>{lang:nbm_col_last_send}</th>
          <th>{lang:nbm_col_check_user_send_mail}</th>
        </tr>
        <!-- BEGIN user_send_mail -->
        <tr class="{send.send_data.user_send_mail.CLASS}">
          <td><label for="send_selection-{send.send_data.user_send_mail.ID}">{send.send_data.user_send_mail.USERNAME}</label></td>
          <td><label for="send_selection-{send.send_data.user_send_mail.ID}">{send.send_data.user_send_mail.EMAIL}</label></td>
          <td><label for="send_selection-{send.send_data.user_send_mail.ID}">{send.send_data.user_send_mail.LAST_SEND}</label></td>
          <td><input type="checkbox" name="send_selection[]" value="{send.send_data.user_send_mail.ID}" {send.send_data.user_send_mail.CHECKED} id="send_selection-{send.send_data.user_send_mail.ID}"/></td>
        </tr>
        <!-- END user_send_mail -->
      </table>
      <p>
          <a href="" onclick="SelectAll(document.getElementById('notification_by_mail')); return false;">{lang:nbm_send_check_all}</a>
        / <a href="" onclick="DeselectAll(document.getElementById('notification_by_mail')); return false;">{lang:nbm_send_uncheck_all}</a>
      </p>
    </fieldset>

    <fieldset>
      <legend><strong>{lang:nbm_send_options}</strong></legend>

      <table>
       <tr>
          <td><label for="send_customize_mail_content">{lang:nbm_send_complementary_mail_content} </label></td>
          <td><textarea cols="50" rows="5" name="send_customize_mail_content" id="send_customize_mail_content">{send.send_data.CUSTOMIZE_MAIL_CONTENT}</textarea></td>
        </tr>
      </table>
    </fieldset>

    <p>
      <input type="submit" value="{lang:nbm_send_submit}" name="send_submit" {TAG_INPUT_ENABLED}/>
    </p>
    <!-- END send_data -->
  <!-- END send -->

</form>