diff --git a/content/projekt/gantt.overlay.js.php b/content/projekt/gantt.overlay.js.php index 06380c09b..f16055fb5 100755 --- a/content/projekt/gantt.overlay.js.php +++ b/content/projekt/gantt.overlay.js.php @@ -42,6 +42,7 @@ function getProperties() function showStudienjahr() { + netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); if(isNaN(global_year)) { var datumAktuell = new Date(); @@ -49,7 +50,6 @@ function showStudienjahr() global_year = jahrAktuell; } - netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var tree=document.getElementById('tree-projektmenue'); // Wenn auf die Ueberschrift geklickt wird, soll nix passieren if(tree.currentIndex==-1) @@ -62,6 +62,7 @@ function showStudienjahr() { oe_kurzbz = getTreeCellText(tree, "treecol-projektmenue-oe", tree.currentIndex); var url = 'projekt/gantt.svg.php?oe='+oe_kurzbz+'&studienjahr='+(global_year-1)+'&ansicht=studienjahr'; + global_url=url; } else { @@ -95,10 +96,11 @@ function showKalenderjahr() { oe_kurzbz = getTreeCellText(tree, "treecol-projektmenue-oe", tree.currentIndex); var url = 'projekt/gantt.svg.php?oe='+oe_kurzbz+'&studienjahr='+global_year+'&ansicht=kalenderjahr'; + global_url = url; } else { - var url = 'projekt/gantt.svg.php?projekt='+projekt_kurzbz+'&studienjahr='+global_year+'&ansicht=kalenderjahr'; + var url = 'projekt/gantt.svg.php?projekt='+projekt_kurzbz+'&studienjahr='+global_year+'&ansicht=kalenderjahr'; global_url = url; } diff --git a/content/projekt/gantt.svg.php b/content/projekt/gantt.svg.php index 1587a3003..9e88ee9f5 100755 --- a/content/projekt/gantt.svg.php +++ b/content/projekt/gantt.svg.php @@ -102,7 +102,7 @@ function getOeGantt() "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">'; echo ' + width="100%" height="100%" viewBox="0 0 750 700"> '; @@ -190,7 +190,7 @@ function getOeGantt() '; echo ''; + width="100%" height="100%" viewBox="0 0 750 700">'; // Überschriften echo'Studienjahr: '.$studienjahr.'/'.($studienjahr+1).''; @@ -397,7 +397,7 @@ function getProjektGantt() "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">'; echo ' + width="100%" height="100%" viewBox="0 0 750 700"> '; @@ -485,7 +485,7 @@ function getProjektGantt() '; echo ''; + width="100%" height="100%" viewBox="0 0 750 700">'; // Überschriften echo'Studienjahr: '.$studienjahr.'/'.($studienjahr+1).'';