diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2011-01-03 08:49:45 +0300 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2011-01-03 08:49:45 +0300 |
commit | 956c25213d771f37f7ed51bd56b0788be05e6603 (patch) | |
tree | 83533901bd264f738f77350755112e9b304efe6e /plugins/UsersManager | |
parent | 97d410fd5c78155ea744a1b0fe6aae074e5f72bb (diff) |
Various code cleanups and small improvements:
* Live! widget shows IP for all users except anonymous
* Widgetize displays full URL to the widget + preview link below widget
* Live! visitors text change from "Today" to "Last 24 hours" in preview
* remove data_push feature introduced in r1330 + removing campaign redirect feature since they are not used
* all errors should now display the Piwik header when applicable (or if a php error, prefixed with a sentence suggesting to submit error in piwik forums)
* fixing bug with cookie update when a visitor manually converts the same goal in the same second
* fixing XML output not valid in Chrome (HTML entities not valid, must use XML entities)
* simplifying + refactoring the truncation code in datatables.js (move from JS to small smarty template - hopefully we can fix this truncation and make it nice soon)
* removing unnecessary line breaks from translations
* refactoring duplicate code in renderers
git-svn-id: http://dev.piwik.org/svn/trunk@3565 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/UsersManager')
-rw-r--r-- | plugins/UsersManager/Controller.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/UsersManager/Controller.php b/plugins/UsersManager/Controller.php index 3977253e47..305ad68612 100644 --- a/plugins/UsersManager/Controller.php +++ b/plugins/UsersManager/Controller.php @@ -30,7 +30,7 @@ class Piwik_UsersManager_Controller extends Piwik_Controller if(count($IdSitesAdmin) > 0) { $defaultWebsiteId = $IdSitesAdmin[0]; - $idSiteSelected = Piwik_Common::getRequestVar('idsite', $defaultWebsiteId); + $idSiteSelected = Piwik_Common::getRequestVar('idsite', $defaultWebsiteId, 'int'); } if($idSiteSelected==='all') @@ -67,7 +67,6 @@ class Piwik_UsersManager_Controller extends Piwik_Controller $view->idSiteSelected = $idSiteSelected; $view->users = $users; $view->usersAccessByWebsite = $usersAccessByWebsite; - $view->formUrl = Piwik_Url::getCurrentUrl(); $view->websites = Piwik_SitesManager_API::getInstance()->getSitesWithAdminAccess(); $this->setBasicVariablesView($view); $view->menu = Piwik_GetAdminMenu(); |