1<?php if (!empty($this->identities)): ?>
2<?php echo _("Identity to use when sending email via ActiveSync."); ?>
3<div>
4 <select id="activesync_identity" name="activesync_identity">
5  <?php foreach($this->identities as $id => $desc): ?>
6    <option value="<?php echo $id ?>" <?php echo $id == $this->default ? 'selected="selected"' : '' ?>><?php echo $desc ?></option>
7  <?php endforeach ?>
8 </select>
9</div>
10<?php endif ?>
11
12<br class="spacer" />
13<h2 class="smallheader"><?php echo _("State Management") ?></h2>
14<p>
15 <input class="horde-delete" type="submit" value="<?php echo _("Reset all device state") ?>" name="reset" />
16 <?php echo _("This will cause your devices to resyncronize all items.") ?>
17</p>
18
19<br class="spacer" />
20<h2 class="smallheader"><?php echo _("Device Management") ?></h2>
21<?php if ($this->devices): ?>
22<input type="hidden" id="removedevice" name="removedevice" />
23<input type="hidden" name="wipeid" id="wipeid" />
24<input type="hidden" name="cancelwipe" id="cancelwipe" />
25
26<?php echo $this->render('device_table');?>
27
28<?php else: ?>
29<p>
30 <em><?php echo _("None") ?></em>
31</p>
32<?php endif; ?>
33
34<p>
35 <strong>
36  <?php echo _("NOTE: WIPING A DEVICE MAY RESET IT TO FACTORY DEFAULTS. PLEASE MAKE SURE YOU REALLY WANT TO DO THIS BEFORE REQUESTING A WIPE") ?>
37 </strong>
38</p>
39