#4 xml parsing
This commit is contained in:
parent
dafbb0c10e
commit
89fd736f36
|
@ -16,6 +16,8 @@ function admin_import() {
|
||||||
|
|
||||||
switch ($step) {
|
switch ($step) {
|
||||||
case "input" :
|
case "input" :
|
||||||
|
$ok = false;
|
||||||
|
if (!$ok) {
|
||||||
$html .= template_render('../templates/admin_import_input.html', array (
|
$html .= template_render('../templates/admin_import_input.html', array (
|
||||||
'link' => page_link_to('admin_import')
|
'link' => page_link_to('admin_import')
|
||||||
));
|
));
|
||||||
|
@ -23,6 +25,7 @@ function admin_import() {
|
||||||
$data = new SimpleXMLElement(file_get_contents('../import/27C3_sample.xcs'));
|
$data = new SimpleXMLElement(file_get_contents('../import/27C3_sample.xcs'));
|
||||||
print_r($data->vcalendar);
|
print_r($data->vcalendar);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case "check" :
|
case "check" :
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue