]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
Merge pull request #1393 from annando/1502-cleaned-item-storage-code
[friendica.git] / include / text.php
index a9edbf7611620e9863be14afd5b7771fbbbfbf1e..c33dd79952d8015dc38583e495ef93c9a89583de 100644 (file)
@@ -385,6 +385,18 @@ function alt_pager(&$a, $i) {
 
 }}
 
+if(! function_exists('scroll_loader')) {
+/**
+ * Loader for infinite scrolling
+ * @return string html for loader
+ */
+function scroll_loader() {
+       $tpl = get_markup_template("scroll_loader.tpl");
+       return replace_macros($tpl, array(
+               'wait' => t('Loading more entries...'),
+               'end' => t('The end')
+       ));
+}}
 
 if(! function_exists('expand_acl')) {
 /**