<?php include 'empty_main.php'; if (sizeof($usertoken['msgmap']) < 1 && $usertoken['usertype_id'] < 6) { die_red('No access to the Message SubSystem'); } #debug($usertoken['msgmap']); /* * common pageobjects */ $buttons = '<table><tr><td>' . _button('Create', 'msgtab(1)') . '</td><td>' . _button('Inbox', 'msgtab(2)') . '</td><td>' . _button('Outbox', 'msgtab(3)') . '</td></tr></table><hr/>'; echo '<script type="text/javascript" src="code/lsdbmail.js"></script>'; echo '</div>'; echo setPageTitle('Message Center'); echo setPageControlTabs($buttons); LS_page_end();
/** * purpose: render page objects for WF LISTING * params: nop * returns: list controls and div=maincontent */ function _listRequestTab() { global $usertoken; $TABS = '<table><tr>' . '<td>' . _button('Erstellung', 'listWF(1)') . '</td>' . '<td>' . _button('Abgegeben', 'listWF(2)') . '</td>' . '<td>' . _button('Akzeptiert', 'listWF(3)') . '</td>' . '<td>' . _button('Abgelehnt', 'listWF(4)') . '</td>' . '<td>' . _button('Prozessiert', 'listWF(5)') . '</td>' . '<td>' . _button('Geschlossen', 'listWF(6)') . '</td>' . '</tr></table><hr/>'; echo setPageTitle('Übersicht aller Anträge für Benutzer: ' . $usertoken['uname']); echo setPageControlTabs($TABS); }