diff --git a/content/bindings.css b/content/bindings.css index 81c0cf2c5..bf653ce6d 100644 --- a/content/bindings.css +++ b/content/bindings.css @@ -30,4 +30,9 @@ box.Notiz box.Ressource { -moz-binding: url('projekt/ressource.xml.php#Ressource'); -} \ No newline at end of file +} + +box.WYSIWYG +{ + -moz-binding: url('bindings.xml.php#wysiwyg'); +} diff --git a/content/bindings.xml.php b/content/bindings.xml.php index 0ac99d8f2..83ca2c9af 100644 --- a/content/bindings.xml.php +++ b/content/bindings.xml.php @@ -588,4 +588,161 @@ echo ''; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + return this.disabled_state; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + //Intialisierung des Editors im Konstruktor funktioniert nicht immer + //deshalb wird er erst bei der ersten Verwendung initialisiert + + + + + diff --git a/content/notiz.xml.php b/content/notiz.xml.php index 6feb1f1a8..19d372ccd 100755 --- a/content/notiz.xml.php +++ b/content/notiz.xml.php @@ -146,9 +146,9 @@ echo ''; - + - + @@ -336,7 +336,7 @@ echo ''; var notiz = new SOAPObject("notiz"); notiz.appendChild(new SOAPObject("notiz_id")).val(notiz_id); notiz.appendChild(new SOAPObject("titel")).val(titel); - notiz.appendChild(new SOAPObject("text")).val(text); + notiz.appendChild(new SOAPObject("text")).cdataval(text); notiz.appendChild(new SOAPObject("verfasser_uid")).val(verfasser_uid); notiz.appendChild(new SOAPObject("bearbeiter_uid")).val(bearbeiter_uid); notiz.appendChild(new SOAPObject("start")).val(start); @@ -391,14 +391,9 @@ echo ''; soap/notiz.soap.php?"+gettimestamp(); ]]> @@ -825,6 +820,7 @@ echo ''; + //debug('load notiz:'+this.getAttribute('id')); this.DisableControls(true); this.DisableDetails(true); var projekt_kurzbz = this.getAttribute('projekt_kurzbz'); diff --git a/content/projekt/projekttask.overlay.js.php b/content/projekt/projekttask.overlay.js.php index c91da6a18..21cdc0109 100755 --- a/content/projekt/projekttask.overlay.js.php +++ b/content/projekt/projekttask.overlay.js.php @@ -609,6 +609,7 @@ function ProjekttaskLoadCategories(project_id) { if(project_id!='') { + netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); //Kategorien zu diesem Projekt laden menulist = document.getElementById('menulist-projekttask-mantis-issue_category'); var url = 'rdf/mantis_categories.rdf.php?project_id='+project_id+'&'+gettimestamp(); diff --git a/include/js/jqSOAPClient.js b/include/js/jqSOAPClient.js index 971dd275c..dda34a346 100644 --- a/include/js/jqSOAPClient.js +++ b/include/js/jqSOAPClient.js @@ -150,10 +150,11 @@ var SOAPObject = function(name) { this.name=name; this.attributes=[]; this.children=[]; - this.value=null; + this.value=null;v this.attr=function(name, value){this.attributes.push({"name":name, "value":value});return this;}; this.appendChild=function(obj){this.children.push(obj);return obj;}; this.hasChildren=function(){return (this.children.length > 0)?true:false;}; this.val=function(v){if(!v){return this.value;}else{this.value=v;return this;}}; + this.cdataval=function(v){if(!v){return this.value;}else{this.value='';return this;}}; this.toString=function(){return SOAPClient.ToXML(this);}; -}; \ No newline at end of file +}; diff --git a/skin/images/bold.png b/skin/images/bold.png new file mode 100644 index 000000000..7d8b04413 Binary files /dev/null and b/skin/images/bold.png differ diff --git a/skin/images/italic.png b/skin/images/italic.png new file mode 100644 index 000000000..e6241f2c2 Binary files /dev/null and b/skin/images/italic.png differ diff --git a/skin/images/justifycenter.png b/skin/images/justifycenter.png new file mode 100644 index 000000000..fe60bca42 Binary files /dev/null and b/skin/images/justifycenter.png differ diff --git a/skin/images/justifyleft.png b/skin/images/justifyleft.png new file mode 100644 index 000000000..0dd312060 Binary files /dev/null and b/skin/images/justifyleft.png differ diff --git a/skin/images/justifyright.png b/skin/images/justifyright.png new file mode 100644 index 000000000..cffbf78d0 Binary files /dev/null and b/skin/images/justifyright.png differ diff --git a/skin/images/underline.png b/skin/images/underline.png new file mode 100644 index 000000000..95edfdeb4 Binary files /dev/null and b/skin/images/underline.png differ