|
|
@ -16,13 +16,16 @@ function admin_import() {
|
|
|
|
|
|
|
|
|
|
|
|
switch ($step) {
|
|
|
|
switch ($step) {
|
|
|
|
case "input" :
|
|
|
|
case "input" :
|
|
|
|
$html .= template_render('../templates/admin_import_input.html', array (
|
|
|
|
$ok = false;
|
|
|
|
'link' => page_link_to('admin_import')
|
|
|
|
if (!$ok) {
|
|
|
|
));
|
|
|
|
$html .= template_render('../templates/admin_import_input.html', array (
|
|
|
|
|
|
|
|
'link' => page_link_to('admin_import')
|
|
|
|
$data = new SimpleXMLElement(file_get_contents('../import/27C3_sample.xcs'));
|
|
|
|
));
|
|
|
|
print_r($data->vcalendar);
|
|
|
|
|
|
|
|
break;
|
|
|
|
$data = new SimpleXMLElement(file_get_contents('../import/27C3_sample.xcs'));
|
|
|
|
|
|
|
|
print_r($data->vcalendar);
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
case "check" :
|
|
|
|
case "check" :
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|