aboutsummaryrefslogtreecommitdiff
path: root/views/default/graphics/ajax_loader.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/graphics/ajax_loader.php')
-rw-r--r--views/default/graphics/ajax_loader.php22
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