aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-11-29 15:41:54 -0500
committerSteve Clay <steve@mrclay.org>2012-11-29 15:41:54 -0500
commita5d1fd6eed3b4da39dad99df7fda9569a6304cd2 (patch)
tree6dad0e871796a38b37eb2a88816013e2fca416b4 /engine/lib/views.php
parent4f92258bb06ea22335d8e68986ef280b2815f463 (diff)
downloadelgg-a5d1fd6eed3b4da39dad99df7fda9569a6304cd2.tar.gz
elgg-a5d1fd6eed3b4da39dad99df7fda9569a6304cd2.tar.bz2
views boot: clearer organization
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 489190cea..69bceabf5 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1584,16 +1584,15 @@ function elgg_views_handle_deprecated_views() {
function elgg_views_boot() {
global $CONFIG;
- elgg_register_simplecache_view('css/elgg');
elgg_register_simplecache_view('css/ie');
elgg_register_simplecache_view('css/ie6');
elgg_register_simplecache_view('css/ie7');
- elgg_register_simplecache_view('js/elgg');
elgg_register_js('jquery', '/vendors/jquery/jquery-1.6.4.min.js', 'head');
elgg_register_js('jquery-ui', '/vendors/jquery/jquery-ui-1.8.16.min.js', 'head');
elgg_register_js('jquery.form', '/vendors/jquery/jquery.form.js');
-
+
+ elgg_register_simplecache_view('js/elgg');
$elgg_js_url = elgg_get_simplecache_url('js', 'elgg');
elgg_register_js('elgg', $elgg_js_url, 'head');
@@ -1602,14 +1601,17 @@ function elgg_views_boot() {
elgg_load_js('elgg');
elgg_register_simplecache_view('js/lightbox');
- elgg_register_simplecache_view('css/lightbox');
$lightbox_js_url = elgg_get_simplecache_url('js', 'lightbox');
elgg_register_js('lightbox', $lightbox_js_url);
+
+ elgg_register_simplecache_view('css/lightbox');
$lightbox_css_url = elgg_get_simplecache_url('css', 'lightbox');
elgg_register_css('lightbox', $lightbox_css_url);
+ elgg_register_simplecache_view('css/elgg');
$elgg_css_url = elgg_get_simplecache_url('css', 'elgg');
elgg_register_css('elgg', $elgg_css_url);
+
elgg_load_css('elgg');
elgg_register_ajax_view('js/languages');