improved infinite scrollling

This commit is contained in:
Johannes Schwab 2015-02-05 11:29:14 +01:00
parent 18a297805c
commit 12d7ca9b84
9 changed files with 46 additions and 12 deletions

View 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')) {
/**