X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/45c855269d952873285f7a835e82fc2b3eff3971..25d6ffc5f17d0e016c2ebb5b51a222665834e9e4:/WEB-INF/lib/ttExportHelper.class.php?ds=inline diff --git a/WEB-INF/lib/ttExportHelper.class.php b/WEB-INF/lib/ttExportHelper.class.php index 22521c73..d0b53395 100644 --- a/WEB-INF/lib/ttExportHelper.class.php +++ b/WEB-INF/lib/ttExportHelper.class.php @@ -29,7 +29,7 @@ import('ttTeamHelper'); import('ttTimeHelper'); -// ttExportHelper - this class is used to export team data to a file. +// ttExportHelper - this class is used to export group data to a file. class ttExportHelper { var $fileName = null; // Name of the file with data. @@ -45,7 +45,7 @@ class ttExportHelper { var $customFieldOptionMap = array(); // Custop field option ids. var $logMap = array(); // Time log ids. - // createDataFile creates a file with all data for a given team. + // createDataFile creates a file with all data for a given group. function createDataFile($compress = false) { global $user; @@ -61,16 +61,18 @@ class ttExportHelper { fwrite($file, "\n"); fwrite($file, "\n"); - // Write team info. - fwrite($file, "currency."\" decimal_mark=\"".$user->decimal_mark."\" lang=\"".$user->lang. + // Write group info. + fwrite($file, "currency."\" decimal_mark=\"".$user->decimal_mark."\" lang=\"".$user->lang. "\" date_format=\"".$user->date_format."\" time_format=\"".$user->time_format."\" week_start=\"".$user->week_start. "\" tracking_mode=\"".$user->tracking_mode."\" project_required=\"".$user->project_required."\" task_required=\"".$user->task_required. "\" record_type=\"".$user->record_type."\" bcc_email=\"".$user->bcc_email. "\" plugins=\"".$user->plugins."\" lock_spec=\"".$user->lock_spec."\" workday_minutes=\"".$user->workday_minutes. "\" config=\"".$user->config. "\">\n"); - fwrite($file, " team."]]>\n"); - fwrite($file, "\n"); + fwrite($file, " group."]]>\n"); + fwrite($file, " allow_ip."]]>\n"); + fwrite($file, " password_complexity."]]>\n"); + fwrite($file, "\n"); // Prepare role map. $roles = $this->getRoles(); @@ -301,6 +303,7 @@ class ttExportHelper { " show_end=\"".$fav_report['show_end']."\"". " show_note=\"".$fav_report['show_note']."\"". " show_custom_field_1=\"".$fav_report['show_custom_field_1']."\"". + " show_work_units=\"".$fav_report['show_work_units']."\"". " group_by=\"".$fav_report['group_by']."\"". " show_totals_only=\"".$fav_report['show_totals_only']."\">\n"); fwrite($file, " \n"); @@ -375,7 +378,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 +396,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();