* @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 UsrView view * * @category DMS * @package SeedDMS * @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 SeedDMS_View_UsrView extends SeedDMS_Theme_Style { function show() { /* {{{ */ $dms = $this->params['dms']; $user = $this->params['user']; $users = $this->params['allusers']; $enableuserimage = $this->params['enableuserimage']; $httproot = $this->params['httproot']; $this->htmlStartPage(getMLText("my_account")); $this->globalNavigation(); $this->contentStart(); $this->pageNavigation(getMLText("my_account"), "my_account"); $this->contentHeading(getMLText("users")); echo "\n"; echo "\n\n"; if($enableuserimage) echo "\n"; echo "\n"; echo "\n\n"; foreach ($users as $currUser) { if ($currUser->isGuest()) continue; if ($currUser->isHidden()) continue; echo ""; if($enableuserimage) { echo ""; } echo ""; echo ""; } echo "
".getMLText("name")."
"; if ($currUser->hasImage()) print ""; echo ""; echo htmlspecialchars($currUser->getFullName())." (".htmlspecialchars($currUser->getLogin()).")
"; echo "getEmail())."\">".htmlspecialchars($currUser->getEmail())."
"; echo "".htmlspecialchars($currUser->getComment()).""; echo "
\n"; $this->contentEnd(); $this->htmlEndPage(); } /* }}} */ } ?>