mirror of
https://github.com/friendica/friendica
synced 2025-04-27 04:30:11 +00:00
improved infinite scrollling
This commit is contained in:
parent
18a297805c
commit
12d7ca9b84
9 changed files with 46 additions and 12 deletions
|
@ -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')) {
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue