summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/au/au_header.inc.php
blob: 3ba68fc9673fd671a161af601a47d8425e852b31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php

# standard header file for AU files

include("au_menu.php");
# 1. Title
$titel = "Administrative Unit Management";
# 2. Mainmenu Number (starting with 0)
$mainnr = 0;


$template = new FastTemplate(".");
# dem erstellten Template-Objekt eine Vorlage zuweisen
$definedTemplates = array("Vorlage" => "au.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));

?>