getCurrentUser(); $currentUserID = $userservice->getCurrentUserId(); $currentUsername = $currentUser[$userservice->getFieldName('username')]; $this->includeTemplate($GLOBALS['top_include']); echo '
    '; foreach(array_keys($users) as $key) { echo '
  1. '."\n"; echo ''; if($users[$key][$userservice->getFieldName('username')] != $currentUsername) { echo '
    '; echo ''.T_('Delete').''; echo '
    '; } echo '
  2. '."\n"; } $this->includeTemplate('sidebar.tpl'); $this->includeTemplate($GLOBALS['bottom_include']); ?>