2022-12-20 20:17:03 +00:00
|
|
|
<form method="post">
|
2023-01-21 00:27:52 +00:00
|
|
|
<label for="domain"><?= _('Domain') ?></label>
|
2022-12-20 20:17:03 +00:00
|
|
|
<select required="" name="domain" id="domain">
|
|
|
|
<option value="" disabled="" selected="">-</option>
|
|
|
|
<?php
|
|
|
|
foreach (regListUserDomains() as $domain)
|
|
|
|
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
<br>
|
2023-01-21 00:27:52 +00:00
|
|
|
<input type="submit" value="<?= _('Display') ?>">
|
2022-12-20 20:17:03 +00:00
|
|
|
</form>
|
|
|
|
|
2023-01-23 00:39:18 +00:00
|
|
|
<table class="zone">
|
2022-12-20 20:17:03 +00:00
|
|
|
<tr>
|
2023-01-21 00:27:52 +00:00
|
|
|
<th><?= _('Domain') ?></th>
|
|
|
|
<th><?= _('TTL') ?></th>
|
|
|
|
<th><?= _('Type') ?></th>
|
|
|
|
<th><?= _('Value') ?></th>
|
2022-12-20 20:17:03 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
if (isset($data['zone-content'])) {
|
|
|
|
foreach ($data['zone-content'] as $zone_line) {
|
|
|
|
echo ' <tr>' . LF;
|
|
|
|
foreach ($zone_line as $element)
|
|
|
|
echo ' <td><code>' . htmlspecialchars($element) . '</code></td>' . LF;
|
|
|
|
echo ' </tr>' . LF;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
</table>
|