egroupware/phpgwapi/js/dhtmlxtree/samples/xml.php
Ralf Becker b495b33d0a commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:07:47 +00:00

11 lines
337 B
PHP

<?php header("Content-type:text/xml"); print("<?xml version=\"1.0\"?>");
if (isset($_GET["id"]))
$url_var=$_GET["id"];
else
$url_var=0;
print("<tree id='".$url_var."'>");
for ($inta=0; $inta<4; $inta++)
print("<item child='1' id='".$url_var."_".$inta."' text='Item ".$url_var."-".$inta."'></item>");
print("</tree>");
?>