diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-08 11:57:54 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-08 11:57:54 +0000 |
commit | 2d377b264e09f0dad1ce37e5caccffc72fd6ddf3 (patch) | |
tree | b056d70e53172460b2b14b4c9f4773a47be111b7 /views/default/graphics | |
parent | cbd544b65db567e2b5f08edd578caef52b3b9205 (diff) | |
download | elgg-2d377b264e09f0dad1ce37e5caccffc72fd6ddf3.tar.gz elgg-2d377b264e09f0dad1ce37e5caccffc72fd6ddf3.tar.bz2 |
moved ajax loader into the graphics view directory
git-svn-id: http://code.elgg.org/elgg/trunk@7566 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/graphics')
-rw-r--r-- | views/default/graphics/ajax_loader.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/views/default/graphics/ajax_loader.php b/views/default/graphics/ajax_loader.php new file mode 100644 index 000000000..b1f35971a --- /dev/null +++ b/views/default/graphics/ajax_loader.php @@ -0,0 +1,22 @@ +<?php +/** + * Elgg AJAX loader + * + * @package Elgg + * @subpackage Core + */ + +$loader = <<< END + +<div align="center" class="ajax-loader hidden"></div> + +END; + +$loader = str_replace("\n","",$loader); +$loader = str_replace("\r","",$loader); + +if (isset($vars['slashes']) && $vars['slashes'] == true) { + $loader = addslashes($loader); +} + +echo $loader;
\ No newline at end of file |