예제 #1
0
<?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();
예제 #2
0
파일: wf.php 프로젝트: robmat/samplebator
/**
*	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('&Uuml;bersicht aller Antr&auml;ge f&uuml;r Benutzer: ' . $usertoken['uname']);
    echo setPageControlTabs($TABS);
}