Hi Simon,
(1) It looks like you're missing the closing parenthesis for the
echo. I assume you want
Code: Select all
<? echo($_SERVER['PHP_AUTH_USER'];) ?>
(2) Not sure what
sourcename=realtime; is for (perhaps a leftover of sourceframe in the v3 menu???). What is it you're going after here? As far as I know, sourcename is not a menu item property. But if it was, you'd have an extra semicolon after it.
(3) separator is also not a menu poperty, so I'm not sure what you're going for with
separator=1 (althouh that syntax was used in the v3 menu to indicate the presence and size of a separator, it's not used in v5). Even so, although a minor syntactical consideration, you should have a semicolon after every menu item proprety assignment in the aI() string, including the last one.
(4) Also minor... a semicolon ending the js line.
If you can describe what it is you're hoping to do with sourcefile and sparator, we might be able to suggest the appropriate menu property.
Hope that helps,
Kevin