tmp commit
This commit is contained in:
parent
23c113ed32
commit
80a1a65aef
|
@ -141,8 +141,6 @@ function getXMLsubPease($Sourse, $Name) {
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<h1>Fehler: getXMLsubPease( $Sourse, $Name ) not found</h1>";
|
|
||||||
// die;
|
// die;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
|
||||||
}
|
|
||||||
?>
|
|
|
@ -175,7 +175,7 @@ function admin_import() {
|
||||||
}
|
}
|
||||||
|
|
||||||
//readXMLfile("xml.php.xml");
|
//readXMLfile("xml.php.xml");
|
||||||
if (readXMLfile("$Tempdir/engelXML") == 0) {
|
if (readXMLfile("../import/27C3_sample.xcs.xml") == 0) {
|
||||||
$XMLmain = getXMLsubPease($XMLmain, "VCALENDAR");
|
$XMLmain = getXMLsubPease($XMLmain, "VCALENDAR");
|
||||||
|
|
||||||
if ($ShowDataStrukture) {
|
if ($ShowDataStrukture) {
|
||||||
|
|
Loading…
Reference in New Issue