[horde] Meta Refresh or XMLHttpRequest
Chuck Hagenbuch
chuck at horde.org
Fri Sep 9 08:15:04 PDT 2005
Quoting Greg Rundlett <grundlett at savaje.com>:
> If I want to reload a page, what facility does Horde framework give me
> to configure a meta refresh tag?
Most common-header.inc files include something like:
if (!empty($refresh_time) && !empty($refresh_url)) {
echo "<meta http-equiv=\"refresh\"
content=\"$refresh_time;url=$refresh_url\" />\n";
}
So just set those two variables if you've used the same
common-header.inc strategy.
> As an alternative, is there anyone who can point out how to use
> XMLHttpRequest in Horde...I've looked quickly at the
> services/portal/index script and I'm wondering if there is anything more
> I can look at for an example.
You want portal/sidebar.php instead. Also see horde/js/httpclient.js.
-chuck
--
"But she goes not abroad in search of monsters to destroy." - John
Quincy Adams
More information about the horde
mailing list