aboutsummaryrefslogtreecommitdiff
path: root/views/js/object
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 16:33:50 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 16:33:50 +0000
commit21fd3683c1436ad71d01aa2137e8ff6fcf977676 (patch)
tree47ade8bc2b0749a0b85a718d5727abd92a9c48f0 /views/js/object
parent737394eb15a2ef0c1f5a085d7f5958d2f3e66b89 (diff)
downloadelgg-21fd3683c1436ad71d01aa2137e8ff6fcf977676.tar.gz
elgg-21fd3683c1436ad71d01aa2137e8ff6fcf977676.tar.bz2
You can now get a Javascript version of any entity
git-svn-id: https://code.elgg.org/elgg/trunk@1069 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/js/object')
-rw-r--r--views/js/object/default.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/views/js/object/default.php b/views/js/object/default.php
new file mode 100644
index 000000000..9130047ea
--- /dev/null
+++ b/views/js/object/default.php
@@ -0,0 +1,20 @@
+<?php
+
+ /**
+ * Elgg JS default view
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ if (isset($vars['entity'])) {
+
+ echo elgg_view_entity($vars['entity'],'default',true,false);
+
+ }
+
+?> \ No newline at end of file