diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-16 15:33:47 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-16 15:33:47 +0000 |
commit | 9330baece53a1e0adb5e8ae08dfec4dfec7ca2de (patch) | |
tree | ef25f0d49764c40554f49478143940c21b376593 /views | |
parent | b2537fa6483ee7f637e97beb6b2933a9d0c01841 (diff) | |
download | elgg-9330baece53a1e0adb5e8ae08dfec4dfec7ca2de.tar.gz elgg-9330baece53a1e0adb5e8ae08dfec4dfec7ca2de.tar.bz2 |
Views simplecache improvements.
git-svn-id: https://code.elgg.org/elgg/trunk@2766 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/page_elements/header.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php index 627e4b87a..985db2760 100644 --- a/views/default/page_elements/header.php +++ b/views/default/page_elements/header.php @@ -62,19 +62,19 @@ END; <script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-1.2.6.pack.js"></script> <script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-ui-personalized-1.5.3.packed.js"></script> - <script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php?js=initialise_elgg"></script> + <script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php/<?php echo $vars['config']->lastcache; ?>?js=initialise_elgg&viewtype=<?php echo $vars['view']; ?>"></script> <?php global $pickerinuse; if (isset($pickerinuse) && $pickerinuse == true) { ?> <!-- only needed on pages where we have friends collections and/or the friends picker --> <script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery.easing.1.3.packed.js"></script> - <script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php?js=friendsPickerv1"></script> + <script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php/<?php echo $vars['config']->lastcache; ?>?js=friendsPickerv1&viewtype=<?php echo $vars['view']; ?>"></script> <?php } ?> <!-- include the default css file --> - <link rel="stylesheet" href="<?php echo $vars['url']; ?>_css/css.css" type="text/css" /> + <link rel="stylesheet" href="<?php echo $vars['url']; ?>_css/css.css?lastcache=<?php echo $vars['config']->lastcache; ?>&viewtype=<?php echo $vars['view']; ?>" type="text/css" /> <?php echo $feedref; echo elgg_view('metatags',$vars); |