diff --git a/module/task/view/view.html.php b/module/task/view/view.html.php
index db6dbdd652..44be5ec9c7 100644
--- a/module/task/view/view.html.php
+++ b/module/task/view/view.html.php
@@ -38,11 +38,11 @@
echo html::a($browseLink, ' ', '', "class='icon-goback'");
if($preAndNext->pre)
{
- echo "" . html::a($this->inLink('view', "taskID={$preAndNext->pre->id}"), ' ', '', "class='icon-pre'") . "";
+ echo html::a($this->inLink('view', "taskID={$preAndNext->pre->id}"), ' ', '', "class='icon-pre' id='pre' title='{$preAndNext->pre->id}{$lang->colon}{$preAndNext->pre->name}'");
}
if($preAndNext->next)
{
- echo "next->id}{$lang->colon}{$preAndNext->next->name}>" . html::a($this->inLink('view', "taskID={$preAndNext->next->id}"), ' ', '', "class='icon-next'") . "";
+ echo html::a($this->inLink('view', "taskID={$preAndNext->next->id}"), ' ', '', "class='icon-next' id='next' title='{$preAndNext->next->id}{$lang->colon}{$preAndNext->next->name}'");
}
?>