GUI URLs is a mechanism allowing projects to pass URLs to the client,
for display as links in the GUI.
Projects can includes a file 'gui_urls.xml' in the project root directory,
with the following form:
",html_text("
Your account
View your account information and credit totals
http://foo.project.com/blah.php?userid=
Help
Get help about SETI@home
http://foo.project.com/help.php
Team
Info about
http://foo.project.com/team.php?teamid=
...
"),"
Each entry describes a GUI URL.
Team-specific entries should be enclosed in
<ifteam>
.
The components of a <gui_url>
element are:
";
list_start();
list_item("name", "A short name, used e.g. as a menu item");
list_item("description", "An explanation, used e.g. as a rollover popup");
list_item("url", "The URL");
list_end();
echo "
All items are macro-substituted as follows:
";
list_start();
list_item(htmlspecialchars(""), "The user ID");
list_item(htmlspecialchars(""), "The user name");
list_item(htmlspecialchars(""), "The team ID");
list_item(htmlspecialchars(""), "The team name");
list_item(htmlspecialchars(""), "The host ID");
list_item(htmlspecialchars(""), "The user's account ID");
list_end();
page_tail();
?>