* @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_Bootstrap_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")); $this->contentContainerStart(); echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; if ($enableuserimage) echo "\n"; echo "\n\n"; foreach ($users as $currUser) { if ($currUser->isGuest()) continue; if ($currUser->isHidden()=="1") continue; echo "\n"; print ""; print ""; print ""; if ($enableuserimage){ print ""; } echo "\n"; } echo "
".getMLText("name")."".getMLText("email")."".getMLText("comment")."".getMLText("user_image")."
".htmlspecialchars($currUser->getFullName())."getEmail())."\">".htmlspecialchars($currUser->getEmail())."".htmlspecialchars($currUser->getComment()).""; if ($currUser->hasImage()) print ""; else printMLText("no_user_image"); print "
\n"; $this->contentContainerEnd(); $this->htmlEndPage(); } /* }}} */ } ?>