egroupware/preferences/inc/hook_preferences.inc.php
2000-12-15 21:56:09 +00:00

32 lines
965 B
PHP

<?php
{
echo "<p>\n";
$img = "/" . $appname . "/images/" . $appname .".gif";
if (file_exists($phpgw_info["server"]["server_root"].$img)) {
$img = $phpgw_info["server"]["webserver_url"].$img;
} else {
$img = "/" . $appname . "/images/navbar.gif";
if (file_exists($phpgw_info["server"]["server_root"].$img)) {
$img=$phpgw_info["server"]["webserver_url"].$img;
} else {
$img = "";
}
}
section_start("Account Preferences",$img);
// Actual content
echo "<a href=\"" . $phpgw->link("changepassword.php") . "\">"
. lang("change your password") . "</a>";
echo "<br><a href=\"" . $phpgw->link("changetheme.php") . "\">"
. lang("select different theme") . "</a>";
echo "<br><a href=\"" . $phpgw->link("settings.php") . "\">"
. lang("change your settings") . "</a>";
// echo "<br><a href=\"" . $phpgw->link("changeprofile.php") . "\">"
// . lang("change your profile") . "</a>";
section_end();
}
?>