summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/funktion_xml.php2
-rw-r--r--includes/funktionen.php23
-rw-r--r--includes/pages/admin_import.php2
3 files changed, 1 insertions, 26 deletions
diff --git a/includes/funktion_xml.php b/includes/funktion_xml.php
index 87fd72d0..4ab3bfd5 100644
--- a/includes/funktion_xml.php
+++ b/includes/funktion_xml.php
@@ -141,8 +141,6 @@ function getXMLsubPease($Sourse, $Name) {
return $value;
}
}
-
- echo "<h1>Fehler: getXMLsubPease( $Sourse, $Name ) not found</h1>";
// die;
}
diff --git a/includes/funktionen.php b/includes/funktionen.php
deleted file mode 100644
index fb63b708..00000000
--- a/includes/funktionen.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
- /* Schichtverplanung im Adminbereich */
- function Dsubstr($DateString, $re) {
- if ($re == 1)
- return substr($DateString, 0, 2);
- elseif ($re == 2)
- return substr($DateString, 3, 2);
- else
- return substr($DateString, 6, 4);
- }
-
- /* Schichtverplanung im Engelbereich */
- function engeldate($edate, $m) {
- if ($m == t)
- return substr($edate, 8, 2);
- elseif ($m == m)
- return substr($edate, 5, 2);
- elseif ($m == u)
- return substr($edate, 11, 5);
- else
- return substr($edate, 0, 4);
- }
-?>
diff --git a/includes/pages/admin_import.php b/includes/pages/admin_import.php
index 9b8af2e2..6523050c 100644
--- a/includes/pages/admin_import.php
+++ b/includes/pages/admin_import.php
@@ -175,7 +175,7 @@ function admin_import() {
}
//readXMLfile("xml.php.xml");
- if (readXMLfile("$Tempdir/engelXML") == 0) {
+ if (readXMLfile("../import/27C3_sample.xcs.xml") == 0) {
$XMLmain = getXMLsubPease($XMLmain, "VCALENDAR");
if ($ShowDataStrukture) {