diff --git a/content/about.xul.php b/content/about.xul.php index 332d43da9..fcaa89db4 100644 --- a/content/about.xul.php +++ b/content/about.xul.php @@ -36,9 +36,9 @@ echo ''; xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > - + - + @@ -67,8 +67,9 @@ echo ''; Authors: Christian Paminger <christian.paminger@technikum-wien.at>, Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at>, - Rudolf Hangl <rudolf.hangl@technikum-wien.at> and - Gerald Raab <gerald.raab@technikum-wien.at>. + Rudolf Hangl <rudolf.hangl@technikum-wien.at>, + Gerald Raab <gerald.raab@technikum-wien.at> and + Gerald Simane-Sequens <gerald.simane-sequence@technikum-wien.at> diff --git a/content/fas.xul.php b/content/fas.xul.php index 203c13398..d4a1f42c4 100644 --- a/content/fas.xul.php +++ b/content/fas.xul.php @@ -97,6 +97,7 @@ echo ''; + @@ -404,6 +405,12 @@ echo ''; label = "&menu-statistic-mitarbeiterstatistik.label;" command = "menu-statistic-mitarbeiterstatistik:command" accesskey = "&menu-statistic-mitarbeiterstatistik.accesskey;"/> + diff --git a/content/fasoverlay.js.php b/content/fasoverlay.js.php index 8ded97f20..81389e4a5 100644 --- a/content/fasoverlay.js.php +++ b/content/fasoverlay.js.php @@ -1007,6 +1007,19 @@ function StatistikPrintMitarbeiterstatistik() window.open('content/statistik/mitarbeiterstatistik.php?stsem='+stsem,'Mitarbeiterstatistik'); } +// **** +// * Liefert eine Stromanalyse der Studenten +// **** +function StatistikPrintStromanalyse() +{ + var stsem = getStudiensemester(); + if(stsem.startsWith('WS')) + param = "?studiensemester_kurzbz="+stsem; + else + param =''; + window.open('content/statistik/stromanalyse.php'+param,'Stromanalyse'); +} + function StatistikPrintStudentExportExtended() { var tree = document.getElementById('student-tree'); diff --git a/content/functions.js.php b/content/functions.js.php index 0378f0ce2..76a3ab3a3 100644 --- a/content/functions.js.php +++ b/content/functions.js.php @@ -238,4 +238,10 @@ function getTreeCellText(tree, col, idx) // **** String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g,""); -} \ No newline at end of file +} + +// **** +// * StartsWidth Member Function fuer Strings +// **** +String.prototype.startsWith = function(str) +{return (this.match("^"+str)==str)} \ No newline at end of file diff --git a/locale/de-AT/fas.dtd b/locale/de-AT/fas.dtd index 829322e90..d5bcc6a96 100644 --- a/locale/de-AT/fas.dtd +++ b/locale/de-AT/fas.dtd @@ -168,6 +168,10 @@ + + + +