aboutsummaryrefslogtreecommitdiff
path: root/mod/externalpages/views/default/expages/analytics.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-13 22:19:14 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-13 22:19:14 +0000
commitc1c2563fc1cd451afaf735350eb1c576740be2f4 (patch)
treec101b4050ee0fbc356699276590bd7138e7ddbdb /mod/externalpages/views/default/expages/analytics.php
parentb42125b50f3fcd518ef058211a318ce5c6b66e1b (diff)
downloadelgg-c1c2563fc1cd451afaf735350eb1c576740be2f4.tar.gz
elgg-c1c2563fc1cd451afaf735350eb1c576740be2f4.tar.bz2
swapping sitepages for externalpages since the external pages is easier to integrate into 1.8 . sitepages needs more work before it is ready for release (plus we would need an upgrade script)
git-svn-id: http://code.elgg.org/elgg/trunk@8206 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/externalpages/views/default/expages/analytics.php')
-rw-r--r--mod/externalpages/views/default/expages/analytics.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/mod/externalpages/views/default/expages/analytics.php b/mod/externalpages/views/default/expages/analytics.php
new file mode 100644
index 000000000..40f7b6a8d
--- /dev/null
+++ b/mod/externalpages/views/default/expages/analytics.php
@@ -0,0 +1,21 @@
+<?php
+
+ /**
+ * Elgg Analytics view
+ *
+ * @package ElggExpages
+ *
+ */
+
+
+ //get analytics content
+ $contents = elgg_get_entities(array('type' => 'object', 'subtype' => 'analytics', 'limit' => 1));
+
+ if($contents){
+ foreach($contents as $c){
+ echo $c->description;
+ }
+ }
+
+?>
+