1<div id="logintasks" data-role="page" data-theme="a">
2 <div data-role="header" data-nobackbtn="true">
3 <h1><?php echo $this->title ?></h1>
4 </div>
5
6 <div data-role="content" style="max-width:480px; margin:0 auto;">
7
8 <h3><?php echo $this->header ?></h3>
9
10 <form method="post" action="<?php echo $this->logintasks_url ?>" id="logintasks_confirm" name="logintasks_confirm" data-ajax="false">
11  <input type="hidden" name="logintasks_page" value="1" />
12
13<?php foreach ($this->tasks as $t): ?>
14  <div class="logintasks-item">
15<?php if ($this->confirm): ?>
16   <input type="checkbox" class="checkbox" name="<?php echo $t['name'] ?>" id="<?php echo $t['name'] ?>"<?php if ($t['checked']) echo ' checked="checked"' ?>>
17   <label for="<?php echo $t['name'] ?>">
18<?php endif; ?>
19   <?php echo $t['descrip'] ?>
20<?php if ($this->confirm): ?>
21   </label>
22<?php endif; ?>
23  </div>
24<?php endforeach; ?>
25
26<?php if ($this->confirm): ?>
27  <fieldset class="ui-grid-a horde-logintasks-buttons">
28   <div class="ui-block-a">
29    <button type="submit" data-theme="a" name="ok"><?php echo _("Run Login Tasks") ?></button>
30   </div>
31   <div class="ui-block-b">
32    <span id="logintasks_skip" style="display:none">
33     <button type="submit" data-theme="c"><?php echo _("Skip Login Tasks") ?></button>
34    </span>
35   </div>
36  </fieldset>
37<?php endif; ?>
38
39<?php if ($this->agree): ?>
40  <fieldset class="ui-grid-a horde-logintasks-buttons">
41   <div class="ui-block-a">
42    <button type="submit" data-theme="a" name="agree"><?php echo _("Yes, I Agree") ?></button>
43   </div>
44   <div class="ui-block-b">
45    <button type="submit" data-theme="c" name="not_agree"><?php echo _("NO, I Do NOT Agree") ?></button>
46   </div>
47  </fieldset>
48<?php endif; ?>
49
50<?php if ($this->notice): ?>
51  <fieldset class="horde-logintasks-buttons">
52   <button type="submit" name="ok"><?php echo _("Click to Continue") ?></button>
53  </fieldset>
54<?php endif; ?>
55
56 </form>
57 </div>
58</div>
59