tmp commit

This commit is contained in:
Philip Häusler 2011-06-11 17:01:41 +02:00
parent 23c113ed32
commit 80a1a65aef
3 changed files with 1 additions and 26 deletions

View File

@ -141,8 +141,6 @@ function getXMLsubPease($Sourse, $Name) {
return $value;
}
}
echo "<h1>Fehler: getXMLsubPease( $Sourse, $Name ) not found</h1>";
// die;
}

View File

@ -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);
}
?>

View File

@ -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) {