$this->addHidden('', 'devid', 'text', true);
}
- $this->addVariable(_("Device Name"), 'name', 'text', false);
+ $this->addVariable(_("Device Name"), 'name', 'text', true);
$this->addVariable(_("Mailbox"), 'mailbox', 'int', false);
$this->addVariable(_("CallerID"), 'callerid', 'text', false);
$this->addVariable(_("Reset authentication token?"), 'genauthtok',
<div id="extensionList">
<table width="100%" cellspacing="0" class="striped">
<tr>
- <td class="uheader">Device ID</td>
+ <td class="uheader">Name</td>
<td class="uheader">Mailbox</td>
- <td class="uheader">CallerID</td>
+ <td class="uheader">Device ID</td>
</tr>
<?php
$line = 0;
?>
<tr class="item">
<td>
- <?php echo Horde::link($editurl); echo $devid; ?></a>
+ <?php echo Horde::link($editurl); echo $info['name']; ?></a>
</td>
<td>
<?php echo $info['mailbox']; ?>
</td>
<td>
- <?php echo $info['callerid']; ?>
+ <?php echo Horde::link($editurl); echo $devid; ?></a>
</td>
</tr>
<?php
<tr>
<td class="uheader">Extension</td>
<td class="uheader">Destinations</td>
- <td class="uheader">E-Mail Address</td>
</tr>
<?php
foreach ($extensions as $extension => $info) {
<div class="extensionDestinations" id="destX<?php echo $extension; ?>info">
</div>
</td>
- <td>
- <?php echo $info['email']; ?>
- </td>
</tr>
<?php
}