Fixed import and export of role descriptions.
authorNik Okuntseff <support@anuko.com>
Mon, 5 Nov 2018 22:18:37 +0000 (22:18 +0000)
committerNik Okuntseff <support@anuko.com>
Mon, 5 Nov 2018 22:18:37 +0000 (22:18 +0000)
WEB-INF/lib/ttExportHelper.class.php
WEB-INF/lib/ttImportHelper.class.php
WEB-INF/templates/footer.tpl

index c5e7802..310af91 100644 (file)
@@ -120,6 +120,7 @@ class ttExportHelper {
       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");
index e250a4f..8c6fd0c 100644 (file)
@@ -154,6 +154,7 @@ class ttImportHelper {
               'group_id' => $this->group_id,
               'org_id' => $this->org_id,
               'name' => $role_item['NAME'],
+              'description' => $role_item['DESCRIPTION'],
               'rank' => $role_item['RANK'],
               'rights' => $role_item['RIGHTS'],
               'status' => $role_item['STATUS']));
index 6430f8a..bd83dd6 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.08.4372 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.08.4373 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>