Fix: Menu slection when using frames
This commit is contained in:
parent
e0610967b7
commit
201cec124d
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -36,6 +36,7 @@ if (empty($conf->global->EXTERNALSITE_URL))
|
|||||||
|
|
||||||
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
|
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
|
||||||
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
|
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
|
||||||
|
$idmenu=isset($_GET["idmenu"])?$_GET["idmenu"]:"";
|
||||||
|
|
||||||
print "
|
print "
|
||||||
<html>
|
<html>
|
||||||
@ -44,7 +45,7 @@ print "
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<frameset rows=\"28,*\" border=0 framespacing=0 frameborder=0>
|
<frameset rows=\"28,*\" border=0 framespacing=0 frameborder=0>
|
||||||
<frame name=\"barre\" src=\"frametop.php?mainmenu=".$mainmenu."&leftmenu=".$leftmenu."\" noresize scrolling=\"NO\" noborder>
|
<frame name=\"barre\" src=\"frametop.php?mainmenu=".$mainmenu."&leftmenu=".$leftmenu."&idmenu=".$idmenu."&nobackground=1\" noresize scrolling=\"NO\" noborder>
|
||||||
<frame name=\"main\" src=\"".$conf->global->EXTERNALSITE_URL."\">
|
<frame name=\"main\" src=\"".$conf->global->EXTERNALSITE_URL."\">
|
||||||
<noframes>
|
<noframes>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@ -40,7 +40,6 @@ function print_eldy_menu($db,$atarget,$hideifnotallowed)
|
|||||||
if (isset($_GET["idmenu"])) $_SESSION["idmenu"]=$_GET["idmenu"];
|
if (isset($_GET["idmenu"])) $_SESSION["idmenu"]=$_GET["idmenu"];
|
||||||
$_SESSION["leftmenuopened"]="";
|
$_SESSION["leftmenuopened"]="";
|
||||||
|
|
||||||
|
|
||||||
print '<table class="tmenu" summary="topmenu"><tr class="tmenu">';
|
print '<table class="tmenu" summary="topmenu"><tr class="tmenu">';
|
||||||
|
|
||||||
// Home
|
// Home
|
||||||
|
|||||||
@ -36,6 +36,7 @@ if (empty($conf->global->PHPMANTIS_URL))
|
|||||||
|
|
||||||
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
|
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
|
||||||
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
|
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
|
||||||
|
$idmenu=isset($_GET["idmenu"])?$_GET["idmenu"]:"";
|
||||||
|
|
||||||
print "
|
print "
|
||||||
<html>
|
<html>
|
||||||
@ -44,7 +45,7 @@ print "
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<frameset rows=\"28,*\" border=0 framespacing=0 frameborder=0>
|
<frameset rows=\"28,*\" border=0 framespacing=0 frameborder=0>
|
||||||
<frame name=\"barre\" src=\"mantistop.php?mainmenu=".$mainmenu."&leftmenu=".$leftmenu."\" noresize scrolling=\"NO\" noborder>
|
<frame name=\"barre\" src=\"mantistop.php?mainmenu=".$mainmenu."&leftmenu=".$leftmenu."&idmenu=".$idmenu."&nobackground=1\" noresize scrolling=\"NO\" noborder>
|
||||||
<frame name=\"main\" src=\"".$conf->global->PHPMANTIS_URL."\">
|
<frame name=\"main\" src=\"".$conf->global->PHPMANTIS_URL."\">
|
||||||
<noframes>
|
<noframes>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -34,6 +34,7 @@ if (empty($conf->global->PHPPHENIX_URL))
|
|||||||
|
|
||||||
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
|
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
|
||||||
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
|
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
|
||||||
|
$idmenu=isset($_GET["idmenu"])?$_GET["idmenu"]:"";
|
||||||
|
|
||||||
print "
|
print "
|
||||||
<html>
|
<html>
|
||||||
@ -42,7 +43,7 @@ print "
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<frameset rows=\"28,*\" border=0 framespacing=0 frameborder=0>
|
<frameset rows=\"28,*\" border=0 framespacing=0 frameborder=0>
|
||||||
<frame name=\"barre\" src=\"phenixtop.php?mainmenu=".$mainmenu."&leftmenu=".$leftmenu."\" noresize scrolling=\"NO\" noborder>
|
<frame name=\"barre\" src=\"phenixtop.php?mainmenu=".$mainmenu."&leftmenu=".$leftmenu."&idmenu=".$idmenu."&nobackground=1\" noresize scrolling=\"NO\" noborder>
|
||||||
<frame name=\"main\" src=\"".$conf->global->PHPPHENIX_URL."\">
|
<frame name=\"main\" src=\"".$conf->global->PHPPHENIX_URL."\">
|
||||||
<noframes>
|
<noframes>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -34,6 +34,7 @@ if (empty($conf->global->PHPWEBCALENDAR_URL))
|
|||||||
|
|
||||||
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
|
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
|
||||||
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
|
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
|
||||||
|
$idmenu=isset($_GET["idmenu"])?$_GET["idmenu"]:"";
|
||||||
|
|
||||||
print "
|
print "
|
||||||
<html>
|
<html>
|
||||||
@ -42,7 +43,7 @@ print "
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<frameset rows=\"28,*\" border=0 framespacing=0 frameborder=0>
|
<frameset rows=\"28,*\" border=0 framespacing=0 frameborder=0>
|
||||||
<frame name=\"barre\" src=\"webcaltop.php?mainmenu=".$mainmenu."&leftmenu=".$leftmenu."\" noresize scrolling=\"NO\" noborder>
|
<frame name=\"barre\" src=\"webcaltop.php?mainmenu=".$mainmenu."&leftmenu=".$leftmenu."&idmenu=".$idmenu."&nobackground=1\" noresize scrolling=\"NO\" noborder>
|
||||||
<frame name=\"main\" src=\"".$conf->global->PHPWEBCALENDAR_URL."\">
|
<frame name=\"main\" src=\"".$conf->global->PHPWEBCALENDAR_URL."\">
|
||||||
<noframes>
|
<noframes>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user