mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 15:47:54 +02:00
Updated CodeCorner1 (markdown)
@ -98,13 +98,21 @@ $GLOBALS['egw_info'] = array('flags' => array(
|
|||||||
*/
|
*/
|
||||||
include('../header.inc.php');
|
include('../header.inc.php');
|
||||||
|
|
||||||
// display some debug content
|
|
||||||
// _debug_array($GLOBALS['egw_info']);
|
|
||||||
_debug_array($_REQUEST);
|
|
||||||
|
|
||||||
//Your content….
|
//Your content….
|
||||||
echo "Hello World!";
|
echo "Hello World!";
|
||||||
|
|
||||||
|
// display some debug content
|
||||||
|
$userinfo=$GLOBALS['egw_info']['user'];
|
||||||
|
echo "we have a wole lot information about/for the user/session: \r\n";
|
||||||
|
//_debug_array(array_keys($userinfo));
|
||||||
|
|
||||||
|
//_debug_array($GLOBALS['egw_info']);
|
||||||
|
unset($userinfo['preferences']);//the users effective preferences for all apps
|
||||||
|
unset($userinfo['memberships']);//the users effective memberships in groups
|
||||||
|
unset($userinfo['apps']);//the users effective / available apps
|
||||||
|
unset($userinfo['passwd']);//effective password for you. we dont want to show it here
|
||||||
|
_debug_array($userinfo);
|
||||||
|
|
||||||
//display the eGroupware footer
|
//display the eGroupware footer
|
||||||
common::egw_footer();
|
common::egw_footer();
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user