diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-15 02:35:08 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-15 02:35:08 +0000 |
commit | 6a755e4c0eec763d3f62aa98e35057ceff373121 (patch) | |
tree | a0625c642d4e6c3122b8058e9d70c1d0eee0ff9c /views | |
parent | 5b829f0c5aeff54ece7b26787e01b2e36f5204ae (diff) | |
download | elgg-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')
-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; +} |