X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/95356f167c97ca1a70fc78d91a9dbc7b1d258b31..566bd317d329af1fe9935edfcefafee7f07ebc2b:/WEB-INF/lib/ttExportHelper.class.php diff --git a/WEB-INF/lib/ttExportHelper.class.php b/WEB-INF/lib/ttExportHelper.class.php index 243ed3e1..310af913 100644 --- a/WEB-INF/lib/ttExportHelper.class.php +++ b/WEB-INF/lib/ttExportHelper.class.php @@ -59,7 +59,7 @@ class ttExportHelper { // Write XML to the file. fwrite($file, "\n"); - fwrite($file, "\n"); + fwrite($file, "\n"); // Write group info. fwrite($file, "currency."\" decimal_mark=\"".$user->decimal_mark."\" lang=\"".$user->lang. @@ -69,7 +69,9 @@ class ttExportHelper { "\" plugins=\"".$user->plugins."\" lock_spec=\"".$user->lock_spec."\" workday_minutes=\"".$user->workday_minutes. "\" config=\"".$user->config. "\">\n"); - fwrite($file, " group."]]>\n"); + fwrite($file, " group_name."]]>\n"); + fwrite($file, " allow_ip."]]>\n"); + fwrite($file, " password_complexity."]]>\n"); fwrite($file, "\n"); // Prepare role map. @@ -118,6 +120,7 @@ class ttExportHelper { fwrite($file, " roleMap[$role['id']]."\" rank=\"".$role['rank']."\"". " rights=\"".$role['rights']."\" status=\"".$role['status']."\">\n"); fwrite($file, " \n"); + fwrite($file, " \n"); fwrite($file, " \n"); } fwrite($file, "\n"); @@ -301,7 +304,10 @@ class ttExportHelper { " show_end=\"".$fav_report['show_end']."\"". " show_note=\"".$fav_report['show_note']."\"". " show_custom_field_1=\"".$fav_report['show_custom_field_1']."\"". - " group_by=\"".$fav_report['group_by']."\"". + " show_work_units=\"".$fav_report['show_work_units']."\"". + " group_by1=\"".$fav_report['group_by1']."\"". + " group_by2=\"".$fav_report['group_by2']."\"". + " group_by3=\"".$fav_report['group_by3']."\"". " show_totals_only=\"".$fav_report['show_totals_only']."\">\n"); fwrite($file, " \n"); fwrite($file, " \n"); @@ -316,7 +322,7 @@ class ttExportHelper { $this->projectMap = array(); $this->taskMap = array(); - fwrite($file, "\n"); + fwrite($file, "\n"); fclose($file); if ($compress) { @@ -375,7 +381,7 @@ class ttExportHelper { * and we don't want to over-complicate things. */ - // getRoles - obtains all roles defined for team. + // getRoles - obtains all roles defined for group. function getRoles() { global $user; $mdb2 = getConnection(); @@ -393,7 +399,7 @@ class ttExportHelper { return false; } - // The getUsers obtains all users in team for the purpose of export. + // The getUsers obtains all users in group for the purpose of export. function getUsers() { global $user; $mdb2 = getConnection();