Example #1
0
        while ($element = current($list)) {
            $requestInst->activate($element);
            $projectInst = new project($requestInst->projectId);
            if ($loginInst->id == $projectInst->managerId) {
                $boxInst->addContent("<tr><td valign=top class=" . $requestInst->getPriorityStyle() . ">" . $requestInst->getPriorityName() . "</td>");
                $boxInst->addContent("<td valign=top class=" . $requestInst->getTypeStyle() . ">" . $requestInst->getTypeName() . "</td>");
                $boxInst->addContent("<td class=list><a href=\"javascript:openwindow('" . $toolInst->encodeUrl("index.php?content=requestdetails.php&view=details&requestid=" . $element) . "',width='500',height='500')\" title=\"" . $lang['common_showDetailsForThisRequest'] . "\">");
                $boxInst->addContent(substr($projectInst->name . ": " . $requestInst->subject, 0, 50));
                $boxInst->addContent("...</a></td></tr>");
                $count++;
            }
            next($list);
        }
        $boxInst->addContent("</table>");
        if ($count == 0) {
            $boxInst->clearContent();
            $boxInst->addContent($lang['home_unassignedRequestsNoMatches']);
        }
        $boxInst->get();
    }
}
?>
    </td>
  </tr>
  <tr>
    <td valign="bottom">
      <h2><?php 
echo $lang['home_interested_in_pmtool'];
?>
</h2>
      <?php