From cd15d0e12139c0e81cc9f25b7794846bd851a1dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Mon, 29 Aug 2011 12:47:47 +0000 Subject: [PATCH] --- cis/index.php | 93 ++++++++++++++++++++++-------- cis/menu.php | 36 +++++++++++- cis/private/freifaecher/index.html | 27 +++------ cis/private/lehre/index.html | 2 +- cms/dms.php | 3 + include/wochenplan.class.php | 2 +- 6 files changed, 116 insertions(+), 47 deletions(-) diff --git a/cis/index.php b/cis/index.php index 6f550c02d..8f9cef38f 100644 --- a/cis/index.php +++ b/cis/index.php @@ -21,8 +21,32 @@ * Gerald Simane-Sequens < gerald.simane-sequens@technikum-wien.at > * */ - require_once('../config/cis.config.inc.php'); +require_once('../include/functions.inc.php'); +require_once('../include/sprache.class.php'); +ob_start(); +if(isset($_GET['sprache'])) +{ + $sprache = new sprache(); + if($sprache->load($_GET['sprache'])) + setSprache($_GET['sprache']); + else + die('Sprache invalid'); +} +if(isset($_GET['content_id'])) + $id = $_GET['content_id']; +else + $id = ''; + +if(isset($_GET['menu'])) + $menu = $_GET['menu']; +else + $menu = 'menu.php?content_id='.$id; + +if(isset($_GET['content'])) + $content = $_GET['content']; +else + $content = '../cms/news.php'; ?> @@ -33,44 +57,65 @@ require_once('../config/cis.config.inc.php'); - + + - + + + + + - - - - - - - + + + +
+
Powered by FH Complete 2.0
+ + + + getAll(true); + foreach($sprache->result as $row) + { + echo ' '.$row->sprache.''; + } + ?> +
- - - + diff --git a/cis/menu.php b/cis/menu.php index f1fb819d7..e933956a2 100644 --- a/cis/menu.php +++ b/cis/menu.php @@ -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(); ?> @@ -91,9 +97,33 @@ $sprache = getSprache(); //--> - + + + + + + + + + '; + } + require_once('../cms/menu.inc.php'); + drawSubmenu($content_id); + + //Gepufferten Output ausgeben + ob_end_flush(); ?> + + \ No newline at end of file diff --git a/cis/private/freifaecher/index.html b/cis/private/freifaecher/index.html index 9bdb6c48b..8c22909a0 100644 --- a/cis/private/freifaecher/index.html +++ b/cis/private/freifaecher/index.html @@ -1,22 +1,13 @@ - + - CIS - FH Technikum Wien + FH-Complete - - + - - - - - - - - - <body> - <p>Diese Seite verwendet Frames. Frames werden von Ihrem Browser aber nicht unterstützt.</p> - </body> - - - + +Wenn Sie nicht weitergeleitet werden, klicken Sie bitte hier + + \ No newline at end of file diff --git a/cis/private/lehre/index.html b/cis/private/lehre/index.html index 4ffbf6dd6..c2ed9ce59 100644 --- a/cis/private/lehre/index.html +++ b/cis/private/lehre/index.html @@ -1,7 +1,7 @@ - CIS - FH Technikum Wien + FH-Complete