~cyrenity/zivios/devel

« back to all changes in this revision

Viewing changes to application/modules/dns/views/scripts/service/manageforwardentry.phtml

  • Committer: Mustafa A. Hashmi
  • Date: 2008-10-03 10:44:36 UTC
  • Revision ID: mhashmi@zivios.org-20081003104436-qrzicctzu7z2iw4k
* Redoing DNS frontend (for forward zone management)
* Partial fix for validation in hostname settings
* Controller internal call references updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Copyright (c) 2008 Zivios, LLC.
 
4
 *
 
5
 * This file is part of Zivios.
 
6
 *
 
7
 * Zivios is free software: you can redistribute it and/or modify
 
8
 * it under the terms of the GNU General Public License as published by
 
9
 * the Free Software Foundation, either version 3 of the License, or
 
10
 * (at your option) any later version.
 
11
 *
 
12
 * Zivios is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 * GNU General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU General Public License
 
18
 * along with Zivios.  If not, see <http://www.gnu.org/licenses/>.
 
19
 *
 
20
 * @package     mod_dns
 
21
 * @copyright   Copyright (c) 2008 Zivios, LLC. (http://www.zivios.org)
 
22
 * @license     http://www.zivios.org/legal/license
 
23
 **/
 
24
 
 
25
?>
 
26
<div id="dnsforwardhosts">
 
27
 
 
28
<div class="dnslisthead" style="width: 400px;">Host Name</div>
 
29
<div class="dnslisthead" style="width: 100px;">Options</div>
 
30
<div class="clear"></div>
 
31
<?php
 
32
foreach ($this->hostnames as $host) {
 
33
    echo '<div class="dnsentry" style="width: 400px;">'.$host->getProperty('dlzhostname') . '</div>';
 
34
    echo '<div class="dnsentry" style="width: 100px;"><a href="#" 
 
35
        onClick="javascript:dnsHostAction(\''. $host->getdn().'\',\'manage\',\'1\');">Manage</a> | 
 
36
        <a href="#" onClick="javascript:dnsHostAction(\''.$host->getdn().'\',\'delete\',\'1\');">Delete</a></div>';
 
37
 
 
38
    echo '<div class="clear"></div>';
 
39
}
 
40
?>
 
41
</div>
 
42
 
 
43
<div id="dnsforwardentry" style="display: none;">
 
44
&laquo; <a href="#" onClick="javascript:dnsHostAction('','','0'); return false;">Go back</a> to Listing.
 
45
    <div id="forrcdview"></div>
 
46
</div>