diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/ajax/loader.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/views/default/ajax/loader.php b/views/default/ajax/loader.php new file mode 100644 index 000000000..c9cddd3c4 --- /dev/null +++ b/views/default/ajax/loader.php @@ -0,0 +1,31 @@ +<?php
+
+ /**
+ * Elgg AJAX loader
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ $loader = <<< END
+
+ <p>
+ <img src="{$vars['url']}_graphics/ajax_loader.gif" />
+ </p>
+
+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 |