* @copyright Copyright (C) 2002-2005 Markus Westphal, * 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, * 2010-2012 Uwe Steinmann * @version Release: @package_version@ */ /** * Include parent class */ require_once("class.Bootstrap.php"); /** * Class which outputs the html page for UserList view * * @category DMS * @package LetoDMS * @author Markus Westphal, Malcolm Cowe, Uwe Steinmann * @copyright Copyright (C) 2002-2005 Markus Westphal, * 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, * 2010-2012 Uwe Steinmann * @version Release: @package_version@ */ class LetoDMS_View_UserList extends LetoDMS_Bootstrap_Style { function show() { /* {{{ */ $dms = $this->params['dms']; $user = $this->params['user']; $allUsers = $this->params['allusers']; $httproot = $this->params['httproot']; $this->htmlStartPage(getMLText("admin_tools")); $this->globalNavigation(); $this->contentStart(); $this->pageNavigation("", "admin_tools"); $this->contentHeading(getMLText("user_list")); $this->contentContainerStart(); foreach ($allUsers as $currUser) { if ($currUser->isGuest()) continue; $this->contentSubHeading(getMLText("user") . ": \"" . $currUser->getFullName() . "\""); ?>
: getLogin();?>
: getFullName();?>
: getEmail();?>
: getComment();?>
: getGroups(); if (count($groups) == 0) { printMLText("no_groups"); } else { for ($j = 0; $j < count($groups); $j++) { print $groups[$j]->getName(); if ($j +1 < count($groups)) print ", "; } } ?>
: hasImage()) print ""; else printMLText("no_user_image"); ?>
contentContainerEnd(); $this->htmlEndPage(); } /* }}} */ } ?>