mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 08:22:17 +00:00
This commit is contained in:
+69
-24
@@ -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';
|
||||
?>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
@@ -33,44 +57,65 @@ require_once('../config/cis.config.inc.php');
|
||||
<link href="../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function changeSprache(sprache)
|
||||
{
|
||||
var menu = '';
|
||||
var content = '';
|
||||
menu = document.getElementById('menue').contentWindow.location.href;
|
||||
content = document.getElementById('content').contentWindow.location.href;
|
||||
menu = escape(menu);
|
||||
content = escape(content);
|
||||
|
||||
window.location.href="index.php?sprache="+sprache+"&content_id=<?php echo $id;?>&menu="+menu+"&content="+content;
|
||||
}
|
||||
</script>
|
||||
<body style="margin-top:0; padding-top:0">
|
||||
<table class="tabcontent">
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td width="100%" ></td>
|
||||
<td width="100%" ></td>
|
||||
<td></td>
|
||||
<tr>
|
||||
<td width="170" class="tdwrap" onclick="self.location.href='index.php'">
|
||||
<div class="home_logo"> </div>
|
||||
</td>
|
||||
|
||||
<td id="header" width="100%">
|
||||
<td id="header" colspan="2">
|
||||
<div class="header_line" ></div>
|
||||
</td>
|
||||
<td nowrap class="tdwrap">
|
||||
<td nowrap >
|
||||
<div style="font-size: 10px;"><i>Powered by <a href="http://fhcomplete.technikum-wien.at/" target="blank">FH Complete 2.0</a></i></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id="footer"> </td>
|
||||
<td colspan="2"><?php require_once('../include/'.EXT_FKT_PATH.'/cis_menu_global.inc.php'); ?></td>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="right" nowrap colspan="2">
|
||||
<?php require_once('../include/'.EXT_FKT_PATH.'/cis_menu_global.inc.php'); ?>
|
||||
|
||||
</td>
|
||||
<td align="right">
|
||||
<?php
|
||||
|
||||
$sprache = new sprache();
|
||||
$sprache->getAll(true);
|
||||
foreach($sprache->result as $row)
|
||||
{
|
||||
echo ' <a href="#'.$row->sprache.'" title="'.$row->sprache.'" onclick="changeSprache(\''.$row->sprache.'\'); return false;"><img src="../cms/image.php?src=flag&sprache='.$row->sprache.'" alt="'.$row->sprache.'"></a>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<iframe id="menue" src="menu.php" name="menu" frameborder="0">
|
||||
<iframe id="menue" src="<?php echo $menu; ?>" name="menu" frameborder="0">
|
||||
No iFrames
|
||||
</iframe>
|
||||
<iframe id="content" src="public/news.php" name="content" frameborder="0">
|
||||
<!-- <iframe id="content" src="public/news.php" name="content" frameborder="0"> -->
|
||||
<iframe id="content" src="<?php echo $content; ?>" name="content" frameborder="0">
|
||||
No iFrames
|
||||
</iframe>
|
||||
</body>
|
||||
<!--<frameset rows="77,*,1" cols="*" frameborder="NO" border="0" framespacing="0">
|
||||
<frame src="topbar.html" name="topbar" scrolling="NO" noresize>
|
||||
<frameset rows="*" cols="200,*" framespacing="0" frameborder="NO" border="0">
|
||||
<frame src="menu.html" name="menu" scrolling="AUTO" noresize>
|
||||
<frame src="public/news.php" name="content">
|
||||
</frameset>
|
||||
<noframes>
|
||||
<body>
|
||||
<p>Diese Seite verwendet Frames. Frames werden von Ihrem Browser aber nicht unterstützt.</p>
|
||||
</body>
|
||||
</noframes>
|
||||
</frameset> -->
|
||||
</html>
|
||||
<?php
|
||||
ob_end_flush();
|
||||
?>
|
||||
|
||||
+33
-3
@@ -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> </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> </td>
|
||||
<td><a class="HyperItem" href="?content_id='.CIS_MENU_ENTRY_CONTENT.'"><< '.$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>
|
||||
@@ -1,22 +1,13 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>CIS - FH Technikum Wien</title>
|
||||
<title>FH-Complete</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon">
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
window.location.href='../../index.php';
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<frameset rows="77,*,1" cols="*" frameborder="NO" border="0" framespacing="0">
|
||||
<frame src="../../topbar.html" name="topbar" scrolling="NO" noresize>
|
||||
<frameset rows="*" cols="200,*" framespacing="0" frameborder="NO" border="0">
|
||||
<frame src="menu.php" name="menu" scrolling="AUTO" noresize>
|
||||
<frame src="pinboard.php" name="content">
|
||||
</frameset>
|
||||
<noframes>
|
||||
<body>
|
||||
<p>Diese Seite verwendet Frames. Frames werden von Ihrem Browser aber nicht unterstützt.</p>
|
||||
</body>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
||||
<body>
|
||||
Wenn Sie nicht weitergeleitet werden, klicken Sie bitte <a href="../../index.php">hier</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>CIS - FH Technikum Wien</title>
|
||||
<title>FH-Complete</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
window.location.href='../../index.php';
|
||||
|
||||
@@ -49,6 +49,9 @@ if(file_exists($filename))
|
||||
{
|
||||
if($handle = fopen($filename,"r"))
|
||||
{
|
||||
if($doc->mimetype=='')
|
||||
$doc->mimetype='application/octetstream';
|
||||
|
||||
header('Content-type: '.$doc->mimetype);
|
||||
header('Content-Disposition: inline; filename="'.$doc->name.'"');
|
||||
header('Content-Length: ' .filesize($filename));
|
||||
|
||||
@@ -859,7 +859,7 @@ class wochenplan extends basis_db
|
||||
echo '</td>';
|
||||
|
||||
echo '</tr></table></form>';
|
||||
echo ' <a href="/cis/private/lvplan/stpl_reserve_list.php">'.$p->t('global/reservierungenLoeschen').' </a>';
|
||||
echo ' <a href="/cis/private/lvplan/stpl_reserve_list.php">'.$p->t('lvplan/reservierungenLoeschen').' </a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user