--- /dev/null
+--- eventum-1.7.0/templates/en/reports/recent_activity.tpl.html 2005-12-30 19:26:42.000000000 +0200
++++ /tmp/recent_activity.tpl.html 2005-12-30 19:46:14.000000000 +0200
+@@ -141,7 +141,7 @@
+ <tr>
+ <td class="default" bgcolor="{$row_color}" NOWRAP>{include file="expandable_cell/buttons.tpl.html" ec_id="phone" list_id=$row.phs_id}</td>
+ <td class="default" bgcolor="{$row.sta_color}" align="right">
+- <a href="{$app_base_url}view.php?id={$row.phs_iss_id}" class="link">{$row.phs_iss_id}</a>
++ <a target="_blank" href="{$app_base_url}view.php?id={$row.phs_iss_id}" class="link">{$row.phs_iss_id}</a>
+ </td>
+ {if $has_customer_integration}
+ <td class="default" bgcolor="{$row_color}">{$row.customer}</td>
+@@ -190,7 +190,7 @@
+ <tr>
+ <td class="default" bgcolor="{$row_color}" NOWRAP>{include file="expandable_cell/buttons.tpl.html" ec_id="note" list_id=$row.not_id}</td>
+ <td class="default" bgcolor="{$row.sta_color}" align="right">
+- <a href="{$app_base_url}view.php?id={$row.not_iss_id}" class="link">{$row.not_iss_id}</a>
++ <a target="_blank" href="{$app_base_url}view.php?id={$row.not_iss_id}" class="link" title="{$row.iss_summary|htmlspecialchars}">{$row.not_iss_id}</a>
+ </td>
+ {if $has_customer_integration}
+ <td class="default" bgcolor="{$row_color}">{$row.customer}</td>
+@@ -240,7 +240,7 @@
+ {include file="expandable_cell/buttons.tpl.html" ec_id="email" list_id=$row.composite_id}
+ </td>
+ <td class="default" bgcolor="{$row.sta_color}" align="right">
+- <a href="{$app_base_url}view.php?id={$row.sup_iss_id}" class="link">{$row.sup_iss_id}</a>
++ <a target="_blank" href="{$app_base_url}view.php?id={$row.sup_iss_id}" class="link" title="{$row.iss_summary|htmlspecialchars}">{$row.sup_iss_id}</a>
+ </td>
+ {if $has_customer_integration}
+ <td class="default" bgcolor="{$row_color}">{$row.customer}</td>
+@@ -296,7 +296,7 @@
+ <tr {if $row.emd_status != 'pending'}style="text-decoration: line-through;"{/if}>
+ <td class="default" NOWRAP bgcolor="{$row_color}">{include file="expandable_cell/buttons.tpl.html" ec_id="draft" list_id=$row.emd_id}</td>
+ <td class="default" bgcolor="{$row.sta_color}" align="right">
+- <a href="{$app_base_url}view.php?id={$row.emd_iss_id}" class="link">{$row.emd_iss_id}</a>
++ <a target="_blank" href="{$app_base_url}view.php?id={$row.emd_iss_id}" class="link">{$row.emd_iss_id}</a>
+ </td>
+ {if $has_customer_integration}
+ <td class="default" bgcolor="{$row_color}">{$row.customer}</td>
+@@ -346,7 +346,7 @@
+ {cycle values=$cycle assign="row_color"}
+ <tr>
+ <td class="default" bgcolor="{$row.sta_color}" align="right">
+- <a href="{$app_base_url}view.php?id={$row.ttr_iss_id}" class="link">{$row.ttr_iss_id}</a>
++ <a target="_blank" href="{$app_base_url}view.php?id={$row.ttr_iss_id}" class="link" title="{$row.iss_summary|htmlspecialchars}">{$row.ttr_iss_id}</a>
+ </td>
+ {if $has_customer_integration}
+ <td class="default" bgcolor="{$row_color}">{$row.customer}</td>
+@@ -391,7 +391,7 @@
+ {cycle values=$cycle assign="row_color"}
+ <tr>
+ <td class="default" bgcolor="{$row.sta_color}" align="right">
+- <a href="{$app_base_url}view.php?id={$row.rmh_iss_id}" class="link">{$row.rmh_iss_id}</a>
++ <a target="_blank" href="{$app_base_url}view.php?id={$row.rmh_iss_id}" class="link">{$row.rmh_iss_id}</a>
+ </td>
+ {if $has_customer_integration}
+ <td class="default" bgcolor="{$row_color}">{$row.customer}</td>
--- /dev/null
+--- ./include/class.time_tracking.php~ 2005-12-30 01:23:58.000000000 +0200
++++ ./include/class.time_tracking.php 2005-12-30 19:20:49.000000000 +0200
+@@ -533,7 +533,7 @@
+ ttr_created_date BETWEEN '" . Misc::escapeString($start) . "' AND '" . Misc::escapeString($end) . "'
+ GROUP BY
+ ttc_title";
+- $res = $GLOBALS["db_api"]->dbh->getAssoc($stmt, '', '', DB_FETCHMODE_ASSOC);
++ $res = $GLOBALS["db_api"]->dbh->getAssoc($stmt, false, array(), DB_FETCHMODE_ASSOC);
+ if (PEAR::isError($res)) {
+ Error_Handler::logError(array($res->getMessage(), $res->getDebugInfo()), __FILE__, __LINE__);
+ return array();