This commit is contained in:
Andreas Österreicher
2011-08-29 12:47:47 +00:00
parent 8f9f5621a2
commit cd15d0e121
6 changed files with 116 additions and 47 deletions
+33 -3
View File
@@ -24,8 +24,14 @@
require_once('../config/cis.config.inc.php');
require_once('../include/functions.inc.php');
require_once('../include/content.class.php');
require_once('../cms/menu.inc.php');
require_once('../include/phrasen.class.php');
$sprache = getSprache();
$p = new phrasen($sprache);
//Output Buffering aktivieren
//Falls eine Authentifizierung benoetigt wird, muss ein Header
//gesendet werden. Dies funktioniert nur, wenn vorher nicht ausgegeben wurde
ob_start();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
@@ -91,9 +97,33 @@ $sprache = getSprache();
//-->
</script>
</head>
<body>
<body style="margin:0; padding:0">
<table class="menue">
<tr>
<td>&nbsp;</td>
</tr>
<?php
require_once('../include/'.EXT_FKT_PATH.'/cis_menu_main.inc.php');
if(isset($_GET['content_id']) && $_GET['content_id']!='')
$content_id=$_GET['content_id'];
else
$content_id=CIS_MENU_ENTRY_CONTENT;
if($content_id!=CIS_MENU_ENTRY_CONTENT)
{
echo '<tr>
<td class="tdwidth10" nowrap>&nbsp;</td>
<td><a class="HyperItem" href="?content_id='.CIS_MENU_ENTRY_CONTENT.'">&lt;&lt; '.$p->t('lvplan/home').'</a></td>
</tr>
<tr><td></td></tr>';
}
require_once('../cms/menu.inc.php');
drawSubmenu($content_id);
//Gepufferten Output ausgeben
ob_end_flush();
?>
</table>
</body>
</html>