From adb89a91a93b436dc5761687924119595574c441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Wed, 15 Dec 2010 12:59:55 +0000 Subject: [PATCH] --- wawi/index.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/wawi/index.php b/wawi/index.php index f928692af..5b0ea30b7 100644 --- a/wawi/index.php +++ b/wawi/index.php @@ -25,6 +25,21 @@ require_once('auth.php'); $menu = isset($_GET['menu'])?$_GET['menu']:'menu.php'; $content = isset($_GET['content'])?$_GET['content']:'home.php'; +//Vorhandene Parameter an Content dazuhaengen +$first=true; +foreach($_GET as $name=>$param) +{ + if($name!='menu' && $name!='content') + { + if($first) + { + $content.="?$name=$param"; + $first=false; + } + else + $content.="&$name=$param"; + } +} echo '