summaryrefslogtreecommitdiff
path: root/users.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-10-23 14:42:17 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-10-23 14:42:17 +0000
commit05124d7049506310cfd8ddc7ec762d3a2f8ff209 (patch)
treeb044df3ee2fe615e2fab363ab9122545fcb675b4 /users.php
parent49be81c5b73a2e3427ca18cc7334ad03ab6d49c7 (diff)
downloadstats-05124d7049506310cfd8ddc7ec762d3a2f8ff209.tar.gz
stats-05124d7049506310cfd8ddc7ec762d3a2f8ff209.tar.bz2
stats-05124d7049506310cfd8ddc7ec762d3a2f8ff209.zip
merge recent changes into HEAD
Diffstat (limited to 'users.php')
-rw-r--r--users.php19
1 files changed, 4 insertions, 15 deletions
diff --git a/users.php b/users.php
index 8e59196..2c70795 100644
--- a/users.php
+++ b/users.php
@@ -1,12 +1,12 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_stats/users.php,v 1.4 2005/08/07 17:46:43 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_stats/users.php,v 1.5 2005/10/23 14:42:17 squareing Exp $
*
* Copyright (c) 2005 bitweaver.org
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: users.php,v 1.4 2005/08/07 17:46:43 squareing Exp $
+ * $Id: users.php,v 1.5 2005/10/23 14:42:17 squareing Exp $
* @package stats
* @subpackage functions
*/
@@ -23,21 +23,10 @@ $gBitSystem->verifyPackage( 'stats' );
$gBitSystem->verifyPermission( 'bit_p_view_stats' );
if (!isset($_REQUEST["period"])) {
- $_REQUEST["period"] = 86400;
+ $_REQUEST["period"] = 'month';
}
-switch( $_REQUEST["period"] ) {
- case 2592000:
- $periodName = '30 Days';
- break;
- case 604800:
- $periodName = 'Weekly';
- break;
- case 86400:
- $periodName = 'Daily';
- break;
-}
-$gBitSmarty->assign( 'periodName', $periodName );
+$gBitSmarty->assign( 'period', $_REQUEST["period"] );
$stats = $statslib->registrationStats( $_REQUEST["period"] );