aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 02:35:08 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 02:35:08 +0000
commit6a755e4c0eec763d3f62aa98e35057ceff373121 (patch)
treea0625c642d4e6c3122b8058e9d70c1d0eee0ff9c /views/default
parent5b829f0c5aeff54ece7b26787e01b2e36f5204ae (diff)
downloadelgg-6a755e4c0eec763d3f62aa98e35057ceff373121.tar.gz
elgg-6a755e4c0eec763d3f62aa98e35057ceff373121.tar.bz2
1st step in changing initialise_elgg.js to elgg.js
git-svn-id: http://code.elgg.org/elgg/trunk@7627 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/js/elgg.php (renamed from views/default/js/initialise_elgg.php)12
1 files changed, 10 insertions, 2 deletions
diff --git a/views/default/js/initialise_elgg.php b/views/default/js/elgg.php
index 2db51d991..fdf9aa858 100644
--- a/views/default/js/initialise_elgg.php
+++ b/views/default/js/elgg.php
@@ -1,6 +1,6 @@
<?php
/**
- * Bootstrap Elgg javascript
+ * Core Elgg javascript loader
*/
global $CONFIG;
@@ -321,4 +321,12 @@ this.each(function() {
});
-}; \ No newline at end of file
+};
+
+<?php
+
+$previous_content = elgg_view('js/initialise_elgg');
+if ($previous_content) {
+ elgg_deprecated_notice("The view 'js/initialise_elgg' has been deprecated for js/elgg", 1.8);
+ echo $previous_content;
+}