This commit is contained in:
Christian Paminger
2007-03-21 16:26:34 +00:00
parent e87679344e
commit 469b5fd7b7
3 changed files with 36 additions and 36 deletions
+12 -12
View File
@@ -139,7 +139,7 @@ var LeLvbgrpDDObserver=
var gruppe = arr[4];
//alert("stg: "+stg_kz+" sem: "+sem+" ver: "+ver+" grp: "+grp+" gruppe: "+gruppe+" TO Lehreinheit:"+lehreinheit_id);
var req = new phpRequest('lehrveranstaltungDBDML.php','','');
var req = new phpRequest('lvplanung/lehrveranstaltungDBDML.php','','');
neu = document.getElementById('lehrveranstaltung-detail-checkbox-new').checked;
req.add('type','lehreinheit_gruppe_add');
@@ -227,7 +227,7 @@ var LektorFunktionDDObserver=
}
var ds = dragservice_ds;
var tree = document.getElementById('tree-lektor')
var row = { }
var col = { }
@@ -239,26 +239,26 @@ var LektorFunktionDDObserver=
//Beim Scrollen soll kein DnD gemacht werden
if(col.value==null)
return false;
//Daten ermitteln
col = tree.columns ? tree.columns["studiengang_kz"] : "studiengang_kz";
var stg=tree.view.getCellText(row.value,col);
if(stg!=0)
{
{
uid=dropdata.data;
var req = new phpRequest('tempusDBDML.php','','');
req.add('type', 'addFunktionToMitarbeiter');
req.add('uid', uid);
req.add('studiengang_kz', stg);
var response = req.executePOST();
var val = new ParseReturnValue(response)
if (!val.dbdml_return)
if (!val.dbdml_return)
{
alert(val.dbdml_errormsg)
}
@@ -324,7 +324,7 @@ var LeLektorDDObserver=
uid=dropdata.data;
//alert("uid: "+uid);
var req = new phpRequest('lehrveranstaltungDBDML.php','','');
var req = new phpRequest('lvplanung/lehrveranstaltungDBDML.php','','');
neu = document.getElementById('lehrveranstaltung-detail-checkbox-new').checked;
req.add('type','lehreinheit_mitarbeiter_add');
+19 -19
View File
@@ -24,14 +24,14 @@ if(!$benutzer->loadVariables($uid))
echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
echo '<?xul-overlay href="'.APP_ROOT.'content/fasoverlay.xul.php"?>';
?>
<!--
<!DOCTYPE window [
<?php require("../locale/de-AT/tempus.dtd"); ?>
]>-->
<?php require("../locale/de-AT/fas.dtd"); ?>
]>
<!-- - <?php echo $semester_aktuell; ?> -->
<window
id="fas"
title="FAS 0.1"
title="&window.title; - Version &window.version;"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
@@ -56,26 +56,26 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/fasoverlay.xul.php"?>';
<keyset id="mainkeys">
<key
id = "menu-file-close:key"
key = "§menu-file-close:key;"
key = "&menu-file-close:key;"
observes = "menu-file-close:command"
modifiers = "accel" />
</keyset>
<toolbox id="main-toolbox">
<menubar id="menu" >
<menu id="menu-file" label="§menu-file:label;" accesskey="§menu-file:accesskey;">
<menu id="menu-file" label="&menu-file:label;" accesskey="&menu-file:accesskey;">
<menupopup id="menu-file-popup">
<menuitem
id = "menu-file-close"
key = "menu-file-close:key"
label = "§menu-file-close:label;"
label = "&menu-file-close:label;"
command = "menu-file-close:command"
accesskey = "§menu-file-close:accesskey;"/>
accesskey = "&menu-file-close:accesskey;"/>
</menupopup>
</menu>
<menu id="menu-edit" label="§menu-edit:label;" accesskey="§menu-edit:accesskey;" onclick="loadUndoList();">
<menu id="menu-edit" label="&menu-edit:label;" accesskey="&menu-edit:accesskey;" onclick="loadUndoList();">
<menupopup id="menu-edit-popup" onpopupshowing="debug('wooosaar');">
<menu id="menu-edit-undo" label="§menu-edit-undo:label;"
<menu id="menu-edit-undo" label="&menu-edit-undo:label;"
datasources="rdf:null"
ref="http://www.technikum-wien.at/undo/liste"
>
@@ -91,24 +91,24 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/fasoverlay.xul.php"?>';
</menu>
</menupopup>
</menu>
<menu id="menu-prefs" label="§menu-prefs:label;" accesskey="§menu-prefs:accesskey;">
<menu id="menu-prefs" label="&menu-prefs:label;" accesskey="&menu-prefs:accesskey;">
<menupopup id="menu-prefs-popup">
<menu id="menu-prefs-stpltable" label="§menu-prefs-stpltable:label;" accesskey="§menu-prefs-stpltable:accesskey;">
<menu id="menu-prefs-stpltable" label="&menu-prefs-stpltable:label;" accesskey="&menu-prefs-stpltable:accesskey;">
<menupopup id="menu-prefs-stpltable-popup">
<menuitem
id ="menu-prefs-stpltable-stundenplan"
type ="radio"
key ="menu-prefs-stpltable-stundenplan:key"
label ="§menu-prefs-stpltable-stundenplan:label;"
label ="&menu-prefs-stpltable-stundenplan:label;"
command ="menu-prefs-stpltable-stundenplan:command"
accesskey ="§menu-prefs-stpltable-stundenplan:accesskey;"/>
accesskey ="&menu-prefs-stpltable-stundenplan:accesskey;"/>
<menuitem
id ="menu-prefs-stpltable-stundenplandev"
type ="radio"
key ="menu-prefs-stpltable-stundenplandev:key"
label ="§menu-prefs-stpltable-stundenplandev:label;"
label ="&menu-prefs-stpltable-stundenplandev:label;"
command ="menu-prefs-stpltable-stundenplandev:command"
accesskey ="§menu-prefs-stpltable-stundenplandev:accesskey;"/>
accesskey ="&menu-prefs-stpltable-stundenplandev:accesskey;"/>
</menupopup>
</menu>
<menu
@@ -133,14 +133,14 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/fasoverlay.xul.php"?>';
</menu>
</menupopup>
</menu>
<menu id="menu-help" label="§menu-help:label;" accesskey="§menu-help:accesskey;">
<menu id="menu-help" label="&menu-help:label;" accesskey="&menu-help:accesskey;">
<menupopup id="menu-about-popup">
<menuitem
id = "menu-help-close"
key = "menu-help-close:key"
label = "§menu-help-close:label;"
label = "&menu-help-close:label;"
command = "menu-help-close:command"
accesskey = "§menu-help-close:accesskey;"/>
accesskey = "&menu-help-close:accesskey;"/>
</menupopup>
</menu>
</menubar>
@@ -301,7 +301,7 @@ function LeDelete()
if (confirm('Wollen Sie diese Lehreinheit wirklich löschen?'))
{
//Script zum loeschen der Lehreinheit aufrufen
var req = new phpRequest('lehrveranstaltungDBDML.php','','');
var req = new phpRequest('lvplanunglehrveranstaltungDBDML.php','','');
req.add('type','lehreinheit');
req.add('do','delete');
req.add('lehreinheit_id',lehreinheit_id);
@@ -425,7 +425,7 @@ function LeDetailSave()
if(lehrveranstaltung=='')
return false;
var req = new phpRequest('lehrveranstaltungDBDML.php','','');
var req = new phpRequest('lvplanung/lehrveranstaltungDBDML.php','','');
neu = document.getElementById('lehrveranstaltung-detail-checkbox-new').checked;
if (neu)
@@ -693,7 +693,7 @@ function LeMitarbeiterSave()
bismelden = document.getElementById('lehrveranstaltung-lehreinheitmitarbeiter-checkbox-bismelden').checked;
//Request absetzen
var req = new phpRequest('lehrveranstaltungDBDML.php','','');
var req = new phpRequest('lvplanung/lehrveranstaltungDBDML.php','','');
req.add('type','lehreinheit_mitarbeiter_add');
req.add('do','update');
@@ -759,7 +759,7 @@ function LeMitarbeiterDel()
return false;
}
var req = new phpRequest('lehrveranstaltungDBDML.php','','');
var req = new phpRequest('lvplanung/lehrveranstaltungDBDML.php','','');
req.add('type', 'lehreinheit_mitarbeiter_del');
req.add('lehreinheit_id', lehreinheit_id);
@@ -949,7 +949,7 @@ function LeGruppeDel()
return false;
}
var req = new phpRequest('lehrveranstaltungDBDML.php','','');
var req = new phpRequest('lvplanung/lehrveranstaltungDBDML.php','','');
neu = document.getElementById('lehrveranstaltung-detail-checkbox-new').checked;
req.add('type', 'lehreinheit_gruppe_del');