<a href="./index.php?m=admin&a=viewuser&user_id=<?php echo $AppUI->user_id; ?> "><?php echo $AppUI->_('My Info'); ?> </a> </td> <td class="topBtnOff" nowrap style="background-color: #cccccc" align="center"> <a href="?logout=-1"><?php echo $AppUI->_('Logout'); ?> </a> </td> <td class="topBtnOff" nowrap style="background-color: #cccccc" align="center"><?php echo dPcontextHelp('Help'); ?> </td> </tr> </table> </td> <form name="frm_new" method="get" action="./index.php"> <?php $newItemPermCheck = array('companies' => 'Company', 'contacts' => 'Contact', 'calendar' => 'Event', 'files' => 'File', 'projects' => 'Project'); $newItem = array(0 => '- New Item -'); foreach ($newItemPermCheck as $mod_check => $mod_check_title) { if (getPermission($mod_check, 'add')) { $newItem[$mod_check] = $mod_check_title; } } echo arraySelect($newItem, 'm', 'style="font-size:10px" onChange="javascript:f=document.frm_new;mod=f.m.options[f.m.selectedIndex].value;if (mod) f.submit();"', '', true);
function contextHelp($title, $link = '') { return dPcontextHelp($title, $link); }