-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.php
More file actions
25 lines (20 loc) · 790 Bytes
/
admin.php
File metadata and controls
25 lines (20 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/*
fm_analytics - https://github.com/fantasticmachine/fm_analytics
------------
Author: Pete Eveleigh / Fantastic Machine
Twitter: @foamcow / @fmachine
Copyright © 2013 Pete Eveleigh | BSD & MIT license
Pikaday - https://github.com/dbushell/Pikaday
------------
Pikaday date picker provided by David Bushell
http://dbushell.com](http://dbushell.com/
Copyright © 2012 David Bushell | BSD & MIT license
*/
if ($CurrentUser->logged_in()) {
$this->register_app('fm_analytics', 'Google Analytics', 5, 'Provides a basic analytics report on the dashboard', '0.5', true);
$this->require_version('fm_analytics', '2.0.8');
$this->add_setting('fm_analytics_ooid', 'OOcharts ID', 'text', '');
$this->add_setting('fm_analytics_gaid', 'Google Analytics Profile ID', 'text', '');
}
?>