aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-16 11:22:15 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-16 11:22:15 +0000
commit67961769f46444e5462f63212409ae0e69e217f1 (patch)
treef3e3b9d6521b2155a924be08746401d7eb621339 /mod
parent0a6d410bb02de58fe7c9d80b0642cdc12d982939 (diff)
downloadelgg-67961769f46444e5462f63212409ae0e69e217f1.tar.gz
elgg-67961769f46444e5462f63212409ae0e69e217f1.tar.bz2
Committing the simplecache for views.
git-svn-id: https://code.elgg.org/elgg/trunk@2759 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/start.php1
-rw-r--r--mod/profile/views/default/profile/metatags.php7
2 files changed, 6 insertions, 2 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php
index 671000f80..111f3ea8c 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -56,6 +56,7 @@
// Add Javascript reference to the page header
extend_view('metatags','profile/metatags');
extend_view('css','profile/css');
+ extend_view('js/initialise_elgg','profile/javascript');
if (get_context() == "profile")
extend_view('canvas_header/submenu','profile/submenu');
diff --git a/mod/profile/views/default/profile/metatags.php b/mod/profile/views/default/profile/metatags.php
index 9bc455cfb..2ca9718d9 100644
--- a/mod/profile/views/default/profile/metatags.php
+++ b/mod/profile/views/default/profile/metatags.php
@@ -11,8 +11,11 @@
*
*/
-?>
+ /*
+ * <script type="text/javascript" src="<?php echo $vars['url']; ?>pg/iconjs/profile.js" ></script>
+ */
- <script type="text/javascript" src="<?php echo $vars['url']; ?>pg/iconjs/profile.js" ></script>
+?>
+
<?php if ($owner = page_owner_entity()) { ?><link rel="meta" type="application/rdf+xml" title="FOAF" href="<?php echo full_url(); ?>?view=foaf" /><?php } ?>