diff options
author | friendica <info@friendica.com> | 2012-12-16 00:44:38 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-16 00:44:38 -0800 |
commit | 76b289504b440fb19a16e0c3deb8c787658506ab (patch) | |
tree | ffb7870fdf9b6dda1e80fbd48cab1b76434bc079 /mod/update_channel.php | |
parent | 37974e5288adc391b32d72f5b4d6e9d698ee1777 (diff) | |
download | volse-hubzilla-76b289504b440fb19a16e0c3deb8c787658506ab.tar.gz volse-hubzilla-76b289504b440fb19a16e0c3deb8c787658506ab.tar.bz2 volse-hubzilla-76b289504b440fb19a16e0c3deb8c787658506ab.zip |
add live page loading and and endless scroll to home (mod_channel)
Diffstat (limited to 'mod/update_channel.php')
-rw-r--r-- | mod/update_channel.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/update_channel.php b/mod/update_channel.php index 08b7bd5d7..19226297b 100644 --- a/mod/update_channel.php +++ b/mod/update_channel.php @@ -12,6 +12,7 @@ require_once('mod/channel.php'); function update_channel_content(&$a) { $profile_uid = intval($_GET['p']); + $load = (((argc() > 1) && (argv(1) == 'load')) ? 1 : 0); header("Content-type: text/html"); echo "<!DOCTYPE html><html><body>\r\n"; @@ -32,7 +33,7 @@ function update_channel_content(&$a) { * */ - $text = channel_content($a,$profile_uid); + $text = channel_content($a,$profile_uid,$load); $pattern = "/<img([^>]*) src=\"([^\"]*)\"/"; $replace = "<img\${1} dst=\"\${2}\""; |