~zivios-maintainers/zivios/zivios-0.5.1-release

« back to all changes in this revision

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

  • Committer: Mustafa A. Hashmi
  • Date: 2008-10-03 12:50:48 UTC
  • Revision ID: mhashmi@zivios.org-20081003125048-a2sq1tw58yve96de
* Adding additional templates for DNS reverse entries
* Redoing calls and controller side redirection
* Updated frontend for easier navigation

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 class="zonelist" style="border-left: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; border-bottom: 2px solid #e5e5e5; width: 520px;">
 
27
    <div class="dnslisthead" style="width: 100px;">IP Map</div>
 
28
    <div class="dnslisthead" style="width: 250px;">Hostname</div>
 
29
    <div class="dnslisthead" style="width: 149px;">Options</div>
 
30
    <div class="clear"></div>
 
31
 
 
32
    <?php
 
33
    foreach ($this->ptrs as $ptr) {
 
34
        echo '<div class="dnsentry" style="width: 100px;">'.$ptr->getProperty('cn').'</div>';
 
35
        echo '<div class="dnsentry" style="width: 250px;">'.$ptr->getHostName().'</div>';
 
36
        echo '<div class="dnsentry" style="width: 149px;"><a href="#" onclick="javascript:ptrAction(\''.$ptr->getdn().'\' , \'delete\');">Delete</a></div>';
 
37
        echo '<div class="clear"></div>';
 
38
    }
 
39
    ?>
 
40
</div>