[% META title = 'Reminder' %]

    <div id="headimg">
      <img src="/grafik/area.jpg" width="869" height="69" alt="" />
    </div>
    <div id="headtxt">[% Catalyst.loc('Set your personal alarm.') %]</div>

    <div id="main">

      <div id="topmsg">
        <p> [% messages.topmsg %] </p>
      </div>
      <div id="toperr">
        <p> [% messages.toperr %] </p>
        <p> [% messages.prov_error %] </p>
      </div>

      <div class="sperrehead">
        <h3>[% Catalyst.loc('Reminder') %]</h3>
        <h2 class="umleitungfuer">[% Catalyst.loc('Settings for [_1]', subscriber.active_number) %]</h2>
      </div>
      <div id="spalten31">

        <div class="spalte1">

          <form id="reminder" action="/reminder/save" method="post">
              <h3 class="blueh3">[% Catalyst.loc('When') %]</h3>
              <p>
                <label class="lleft" for="reminder_time">[% Catalyst.loc('time of day:') %] </label>
                <input type="text" id="reminder_time" name="time" size="5" class="input5" value="[% subscriber.reminder.time %]" />
                [% IF messages.time %]<div id="errormsg">[% messages.time %]</div><br clear="all" />[% END %]
              </p>
              <p>
                <label class="lleft">[% Catalyst.loc('recurrence:') %]</label>
                <p class="recur">
                  <input type="radio" id="reminder_recur_never" value="never" name="recur" class="no_border"
                         [% IF subscriber.reminder.recur == "never" %]checked="checked"[% END %] />
                  <label for="reminder_recur_never">[% Catalyst.loc('never') %]</label><br />
                  <input type="radio" id="reminder_recur_weekdays" value="weekdays" name="recur" class="no_border"
                         [% IF subscriber.reminder.recur == "weekdays" %]checked="checked"[% END %] />
                  <label for="reminder_recur_weekdays">[% Catalyst.loc('on weekdays') %]</label><br />
                  <input type="radio" id="reminder_recur_always" value="always" name="recur" class="no_border"
                         [% IF subscriber.reminder.recur == "always" %]checked="checked"[% END %] />
                  <label for="reminder_recur_always">[% Catalyst.loc('every day') %]</label><br />
                </p>
              </p>

            <span id="reminder_save" class="save">
              <label for="save_settings">[% Catalyst.loc('enable reminder') %]</label>
              <input type="image" class="hidden" src="/grafik/dot_trans.gif" alt="" id="save_settings">
            </span>
          </form>

          <form action="/reminder/save" method="post">
            <span class="save">
              <label for="clear_settings">[% Catalyst.loc('disable reminder') %]</label>
              <input type="image" class="hidden" src="/grafik/dot_trans.gif" alt="" id="clear_settings">
            </span>
          </form>
          
          <br clear="all" />

        </div>
        <div class="spalte2">

          <p class="rufumleitung">
            [% IF subscriber.reminder.time %]
              <img src="/grafik/reminder_on.gif" width="34" height="43" alt="" /> 
              [% Catalyst.loc('reminder is active') %]
            [% ELSE %]
              <img src="/grafik/reminder_off.gif" width="34" height="43" alt="" /> 
              [% Catalyst.loc('no reminder set') %]
            [% END %]
          </p>

        </div>

      </div>

    </div><br clear="all" />
