diff options
Diffstat (limited to 'ldap-site-mngmt/webinterface/dhcp/dhcp_header.inc.php')
-rw-r--r-- | ldap-site-mngmt/webinterface/dhcp/dhcp_header.inc.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ldap-site-mngmt/webinterface/dhcp/dhcp_header.inc.php b/ldap-site-mngmt/webinterface/dhcp/dhcp_header.inc.php new file mode 100644 index 00000000..9eaac019 --- /dev/null +++ b/ldap-site-mngmt/webinterface/dhcp/dhcp_header.inc.php @@ -0,0 +1,21 @@ +<?php +include("dhcp_menu.php"); + +$template = new FastTemplate("."); + +# dem erstellten Template-Objekt eine Vorlage zuweisen +$definedTemplates = array("Vorlage" => "dhcp.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)); + +?>
\ No newline at end of file |