diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-09-10 17:43:28 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-09-10 17:43:28 +0000 |
| commit | a60e4a5d7756697897003c222827a8542dcde9c6 (patch) | |
| tree | 8b523127b023d9f39618fcd4b9f98775cf13bb38 /admin | |
| parent | faaf559732253f2bfc7b369c8afc316bf5870546 (diff) | |
| download | stats-a60e4a5d7756697897003c222827a8542dcde9c6.tar.gz stats-a60e4a5d7756697897003c222827a8542dcde9c6.tar.bz2 stats-a60e4a5d7756697897003c222827a8542dcde9c6.zip | |
move stats settings to stats.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_stats_inc.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/admin/admin_stats_inc.php b/admin/admin_stats_inc.php new file mode 100644 index 0000000..6de3290 --- /dev/null +++ b/admin/admin_stats_inc.php @@ -0,0 +1,14 @@ +<?php +$formFeaturesBit['stats_referers'] = array( + 'label' => 'Referer Statistics', + 'note' => 'Records statistics including HTTP_REFERRER', +); +$gBitSmarty->assign( 'formFeaturesBit', $formFeaturesBit ); + +if( !empty( $_REQUEST['change_prefs'] ) ) { + foreach( $formFeaturesBit as $item => $info ) { + simple_set_toggle( $item, STATS_PKG_NAME ); + } +} + +?> |
