diff --git a/cms/tinymce_dms.php b/cms/tinymce_dms.php
index 0439ab4f2..2d940d92d 100644
--- a/cms/tinymce_dms.php
+++ b/cms/tinymce_dms.php
@@ -373,7 +373,7 @@ if(isset($_REQUEST['delete']))
// Alle Versionen der Datei vom Filesystem löschen
foreach($dms->result as $obj)
{
- if(!unlink(DMS_PATH.$obj->filename))
+ if(is_file(DMS_PATH.$obj->filename) && !unlink(DMS_PATH.$obj->filename))
$error = true;
}
if($error)
diff --git a/content/notiz.xml.php b/content/notiz.xml.php
index 1ec0c2e42..c80bda767 100755
--- a/content/notiz.xml.php
+++ b/content/notiz.xml.php
@@ -86,6 +86,10 @@ echo '';
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/notiz/rdf#endeISO" />
+
+
@@ -114,6 +118,7 @@ echo '';
+
@@ -150,6 +155,16 @@ echo '';
+
+
+
+
+
+
+
+
+
+
@@ -267,6 +282,8 @@ echo '';
document.getAnonymousElementByAttribute(this ,'anonid', 'menulist-notiz-bearbeiter').disabled=val;
document.getAnonymousElementByAttribute(this ,'anonid', 'checkbox-notiz-erledigt').disabled=val;
document.getAnonymousElementByAttribute(this ,'anonid', 'button-notiz-speichern').disabled=val;
+ if(val)
+ document.getAnonymousElementByAttribute(this ,'anonid', 'button-notiz-upload-dokument').disabled=val;
]]>