diff options
Diffstat (limited to 'ldap-site-mngmt/webinterface/dns')
| -rw-r--r-- | ldap-site-mngmt/webinterface/dns/dns.dwt | 76 | ||||
| -rw-r--r-- | ldap-site-mngmt/webinterface/dns/dns.php | 21 | ||||
| -rw-r--r-- | ldap-site-mngmt/webinterface/dns/dns_footer.inc.php | 18 | ||||
| -rw-r--r-- | ldap-site-mngmt/webinterface/dns/dns_header.inc.php | 27 | ||||
| -rwxr-xr-x | ldap-site-mngmt/webinterface/dns/dns_inwork.dwt | 15 | ||||
| -rw-r--r-- | ldap-site-mngmt/webinterface/dns/dns_menu.php | 73 | ||||
| -rw-r--r-- | ldap-site-mngmt/webinterface/dns/dns_start.dwt | 30 | ||||
| -rw-r--r-- | ldap-site-mngmt/webinterface/dns/menu.dwt | 22 |
8 files changed, 0 insertions, 282 deletions
diff --git a/ldap-site-mngmt/webinterface/dns/dns.dwt b/ldap-site-mngmt/webinterface/dns/dns.dwt deleted file mode 100644 index 968d8c16..00000000 --- a/ldap-site-mngmt/webinterface/dns/dns.dwt +++ /dev/null @@ -1,76 +0,0 @@ -<html> - -<head> - <title>{SEITENTITEL}</title> - <link rel='stylesheet' href='../styles.css' type='text/css'></head> -<body> - -<table cellpadding='0' cellspacing='0' border='0' width='100%' style='background-color: #F0F0F0;border-color: #505050; border-style: solid; border-width: 0 0 1 0;'> - <tr> - <td width='30%'> - <table cellpadding='5' cellspacing='0' border='0' width='100%'> - <tr valign='top'> - <td width='1'></td> - <td><h2>Client / IP Management</h2></td> - </tr> - </table> - </td> - - <td width='45%'> - <table cellpadding='5' cellspacing='0' border='0' width='100%'> - <tr valign='top' align='left'> - <td> - <h4><a href='../start.php' class='headerlink'>Startseite</a> - >> <a href='../au/au.php' class='headerlink'>{AU}</a> [ {DOMAIN} ]</h4> - </td> - </tr> - </table> - </td> - <td width='25%'> - <table cellpadding='5' cellspacing='0' border='0' width='100%' align='right'> - <tr valign='top' align='right'> - <td> - {LOGIN} - </td> - </tr> - </table> - </td> - </tr> - <tr> - <td colspan='3'>{MAINMENU}</td> - </tr> -</table> - -<!-- <hr align='center' width='98%' noshade> --> -<br> - - -<table cellpadding='5' cellspacing='0' border='0' width='100%' height='85%'> - - <tr valign='top' height='100%'> - <td width='28%'> - <table cellpadding='5' cellspacing='0' border='0' width='100%'> - <tr><td> - - {NAVIGATION} - - </td></tr> - </table> - </td> - - <td width='72%'> - <table cellpadding='5' cellspacing='0' border='0' width='100%'> - <tr><td> - - {HAUPTFENSTER} - - </td></tr> - </table> - </td> - - </tr> -</table> - -</body> - -</html> diff --git a/ldap-site-mngmt/webinterface/dns/dns.php b/ldap-site-mngmt/webinterface/dns/dns.php deleted file mode 100644 index 4368d6a9..00000000 --- a/ldap-site-mngmt/webinterface/dns/dns.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php -include('../standard_header.inc.php'); - -# Dateiname und evtl. Pfad des Templates für die Webseite -$webseite = "dns_inwork.dwt"; - -include('dns_header.inc.php'); - -################################################################################### - -$mnr = 0; - -# Menuleisten erstellen -createMainMenu($rollen, $mainnr); -createDNSMenu($rollen, $mnr); - -################################################################################### - -include("dns_footer.inc.php"); - -?>
\ No newline at end of file diff --git a/ldap-site-mngmt/webinterface/dns/dns_footer.inc.php b/ldap-site-mngmt/webinterface/dns/dns_footer.inc.php deleted file mode 100644 index 311721c5..00000000 --- a/ldap-site-mngmt/webinterface/dns/dns_footer.inc.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -$template->assign(array("PFAD" => $START_PATH)); - -# Daten in die Vorlage parsen -$template->parse("LOGIN", "Login"); -$template->parse("MAINMENU", "Mmenu"); -$template->parse("NAVIGATION", "Menu"); -$template->parse("HAUPTFENSTER", "Webseite"); -$template->parse("PAGE", "Vorlage"); - -# Fertige Seite an den Browser senden -$template->FastPrint("PAGE"); - -# Abmelden vom LDAP -ldap_unbind($ds); - -?>
\ No newline at end of file diff --git a/ldap-site-mngmt/webinterface/dns/dns_header.inc.php b/ldap-site-mngmt/webinterface/dns/dns_header.inc.php deleted file mode 100644 index b6dfd984..00000000 --- a/ldap-site-mngmt/webinterface/dns/dns_header.inc.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php - -# 1. Seitentitel - wird in der Titelleiste des Browser angezeigt. -$titel = "DNS Zone Management"; -# 2. Nummer des zugehörigen Hauptmenus (Registerkarte) beginnend bei 0, siehe Dokumentation.doc. -$mainnr = 4; - - -$template = new FastTemplate("."); -# dem erstellten Template-Objekt eine Vorlage zuweisen -$definedTemplates = array("Vorlage" => "dns.dwt", - "Login" => "../logout_form.inc.dwt", - "Mmenu" => "../hauptmenue.dwt", - "Menu" => "menu.dwt", - "Webseite" => $webseite); -if (isset($additionalTemplates)) { - foreach ($additionalTemplates as $templateKey => $templateFile) { - $definedTemplates[$templateKey] = $templateFile; - } -} -$template->define($definedTemplates); -$template->assign(array("SEITENTITEL" => $titel, "ROLLE" => "mainadmin", "AU" => $au_ou, "DOMAIN" => $assocdom, "USERCN" => $usercn)); - - -include("dns_menu.php"); - -?>
\ No newline at end of file diff --git a/ldap-site-mngmt/webinterface/dns/dns_inwork.dwt b/ldap-site-mngmt/webinterface/dns/dns_inwork.dwt deleted file mode 100755 index d64dc090..00000000 --- a/ldap-site-mngmt/webinterface/dns/dns_inwork.dwt +++ /dev/null @@ -1,15 +0,0 @@ -<table border='0' cellpadding='5' cellspacing='0' width='90%'> - <tr> - <td colspan='2'><h3>Modul - DNS Zonen Management: </h3></td> - </tr> - <tr> - <td height='10'></td> - </tr> - <tr> - <td> - <p>Dieses Modul steht noch nicht zur Verfügung ...<br> - - </td> - </tr> - -</table>
\ No newline at end of file diff --git a/ldap-site-mngmt/webinterface/dns/dns_menu.php b/ldap-site-mngmt/webinterface/dns/dns_menu.php deleted file mode 100644 index bf6e5bbe..00000000 --- a/ldap-site-mngmt/webinterface/dns/dns_menu.php +++ /dev/null @@ -1,73 +0,0 @@ -<?php - -function createDNSMenu($rollen , $mnr) { - global $template; - global $START_PATH; - # Struktur der Registerkartenleiste - $hauptmenu = array(array("link" => "dns.php", - "text" => "Übersicht", - "zugriff" => "alle"), - #array("link" => "dns.php", - # "text" => "SOA Record", - # "zugriff" => array("MainAdmin")), - #array("link" => "dns.php", - # "text" => "INCLUDE Direktiven", - # "zugriff" => array("MainAdmin","ZoneAdmin")), - #array("link" => "dns.php", - # "text" => "Zonen Delgierung", - # "zugriff" => array("MainAdmin")), - #array("link" => "dns.php", - # "text" => "Resource Records", - # "zugriff" => array("MainAdmin","HostAdmin","ZoneAdmin")) - ); - - #$rollen = array_keys($roles); - - # Zusammenstellen der Menuleiste - $template->define_dynamic("Hauptmenu", "Menu"); - $i=0; - foreach($hauptmenu as $item) { - if($item['zugriff'] === "alle" || vergleicheArrays($rollen , $item['zugriff'])) { - if ($i==0) { - if ($mnr==0) { - $zwisch=""; - $lastaktive=true; - $farb="#505050"; - } - else { - $zwisch=""; - $farb="#A0A0A0"; - $lastaktive=false; - } - } - else { - if ($mnr==$i) { - $zwisch=""; - $lastaktive=true; - $farb="#505050"; - } - else { - $farb="#A0A0A0"; - if ($lastaktive) {$zwisch="";} - else {$zwisch="";} - $lastaktive=false; - } - } - $template->assign(array("ZWISCHEN" => $zwisch, - "FARBE" => $farb, - "LINK_M" => $item["link"], - "TEXT_M" => $item["text"])); - $template->parse("HAUPTMENU_LIST", ".Hauptmenu"); - - } - $i=$i+1; - } - if ($lastaktive) {$template->assign(array("ENDE" => ""));} - else { - $template->assign(array("ENDE" => "")); - } - -} - - -?>
\ No newline at end of file diff --git a/ldap-site-mngmt/webinterface/dns/dns_start.dwt b/ldap-site-mngmt/webinterface/dns/dns_start.dwt deleted file mode 100644 index 0595dde7..00000000 --- a/ldap-site-mngmt/webinterface/dns/dns_start.dwt +++ /dev/null @@ -1,30 +0,0 @@ -<table border='0' cellpadding='5' cellspacing='0' width='90%'> - <tr> - <td colspan='2'><h3>Modul - DNS Zonen Management: </h3></td> - </tr> - <tr> - <td height='10'></td> - </tr> - <tr> - <td> - <p>Dieses Modul dient der Verwaltung ...<br> - Benutzen Sie die Navigation links, um die einzelnen Verwaltungsbereiche anzusteuern:</p> - <ul> - <li><p><b>SOA Record</b></p> - Verwalten Sie hier den Start Of Authority (SOA) ihrer DNS Zone ... - </li> - <li><p><b>Include Direktiven</b></p> - Verwalten Sie hier die $INCLUDE Direktiven ihrer includeten Zonendateien ... - </li> - <li><p><b>Zonen Delegierung</b></p> - Delegieren Sie hier neue DNS Zonen ... - </li> - <li><p><b>Resource Records Zone</b></p> - Verwalten Sie hier alle weiteren Namenseintraege ihrer Zone und deren RRs ... - </li> - </ul> - - </td> - </tr> - -</table>
\ No newline at end of file diff --git a/ldap-site-mngmt/webinterface/dns/menu.dwt b/ldap-site-mngmt/webinterface/dns/menu.dwt deleted file mode 100644 index a57ab962..00000000 --- a/ldap-site-mngmt/webinterface/dns/menu.dwt +++ /dev/null @@ -1,22 +0,0 @@ - -<table cellpadding='5' cellspacing='0' border='0' width='100%'> - - - - <!-- BEGIN DYNAMIC BLOCK: Hauptmenu --> - - <tr valign='middle' align='left'>
-
- <td width='8%' align='right' style="border-style=none;"></td> - <td width="8%" align="left" style="border-width:1 0 1 1;border-color:#000000;border-style:solid;padding:5;background-color:{FARBE}"> </td>
- <td width="74%" align="left" style="border-width:1 1 1 0;border-color:#000000;border-style:solid;padding:5;background-color:{FARBE}"> - <a href="{LINK_M}" style="text-decoration:none"><b class="standard_schrift">{TEXT_M}</b></a></td>
- <td width='10%'> </td> - - </tr> - <tr height='5'></tr> - <!-- END DYNAMIC BLOCK: Hauptmenu -->
- - - -</table>
\ No newline at end of file |
