getCurrentObjectUser(); $pagetitle = T_('Users'); if ($usecache) { // Generate hash for caching on if ($userservice->isLoggedOn()) { $hash = md5($_SERVER['REQUEST_URI'] . $currentUser->getId()); } else { $hash = md5($_SERVER['REQUEST_URI']); } // Cache for 30 minutes $cacheservice->Start($hash, 1800); } // Header variables $tplVars['pagetitle'] = $pagetitle; $tplVars['loadjs'] = true; $tplVars['sidebar_blocks'] = array('recent', 'popular'); $tplVars['subtitle'] = filter($pagetitle); $tplVars['users'] = $userservice->getUsers(); //$tplVars['cat_url'] = createURL('tags', '%2$s'); //$tplVars['nav_url'] = createURL('tags', '%2$s%3$s'); $templateservice->loadTemplate('users.tpl', $tplVars); if ($usecache) { // Cache output if existing copy has expired $cacheservice->End($hash); } ?>