// Write XML to the file.
fwrite($file, "<?xml version=\"1.0\"?>\n");
- fwrite($file, "<pack>\n");
+ fwrite($file, "<org>\n");
// Write group info.
fwrite($file, "<group currency=\"".$user->currency."\" decimal_mark=\"".$user->decimal_mark."\" lang=\"".$user->lang.
fwrite($file, " <role id=\"".$this->roleMap[$role['id']]."\" rank=\"".$role['rank']."\"".
" rights=\"".$role['rights']."\" status=\"".$role['status']."\">\n");
fwrite($file, " <name><![CDATA[".$role['name']."]]></name>\n");
+ fwrite($file, " <description><![CDATA[".$role['description']."]]></description>\n");
fwrite($file, " </role>\n");
}
fwrite($file, "</roles>\n");
$this->projectMap = array();
$this->taskMap = array();
- fwrite($file, "</pack>\n");
+ fwrite($file, "</org>\n");
fclose($file);
if ($compress) {