aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-28 21:25:22 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-28 21:25:22 +0000
commita1b7808dea79b3a547aa805b86d829fa1f5f19db (patch)
treeea1c8b172058b9bb07ed2741539072ddeec26b5c /views/default
parentd892f121e1b9a34edfa49288a20b99d4d4b65f6b (diff)
downloadelgg-a1b7808dea79b3a547aa805b86d829fa1f5f19db.tar.gz
elgg-a1b7808dea79b3a547aa805b86d829fa1f5f19db.tar.bz2
Fixes #2160 #2678 introducing a more flexible simplecache handler (this requires an htaccess update)
git-svn-id: http://code.elgg.org/elgg/trunk@7464 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/css/elgg.php3
-rw-r--r--views/default/friends/picker.php2
2 files changed, 4 insertions, 1 deletions
diff --git a/views/default/css/elgg.php b/views/default/css/elgg.php
new file mode 100644
index 000000000..57b118c2b
--- /dev/null
+++ b/views/default/css/elgg.php
@@ -0,0 +1,3 @@
+<?php
+
+echo elgg_view('css');
diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php
index 78c10e394..b8cc1560c 100644
--- a/views/default/friends/picker.php
+++ b/views/default/friends/picker.php
@@ -12,7 +12,7 @@
$base = elgg_get_site_url();
$viewtype = elgg_get_viewtype();
elgg_register_js("{$base}vendors/jquery/jquery.easing.1.3.packed.js", 'jquery.easing');
-elgg_register_js("{$base}_css/js.php?lastcache={$vars['config']->lastcache}&js=friendsPickerv1&viewtype=$viewtype", 'friendsPicker');
+elgg_register_js("{$base}cache/js/friendsPickerv1/default/friendsPickerv1.{$vars['config']->lastcache}.js", 'friendsPicker');
$chararray = elgg_echo('friendspicker:chararray');