mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
converting to the new hooks system
This commit is contained in:
parent
b29f5b637e
commit
c115717da0
@ -1,5 +1,6 @@
|
||||
<?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;
|
||||
@ -15,7 +16,7 @@
|
||||
|
||||
|
||||
// Actual content
|
||||
echo "<br><a href=\"" . $phpgw->link("changepassword.php") . "\">"
|
||||
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>";
|
@ -37,18 +37,7 @@
|
||||
echo "</TD></TR></TABLE>\n\n";
|
||||
}
|
||||
|
||||
// The account stuff that should be at the top of the list
|
||||
$appname = "preferences";
|
||||
$f = $phpgw_info["server"]["server_root"] . "/" . $appname . "/inc/preferences.inc.php";
|
||||
if (file_exists($f)) {
|
||||
include($f);
|
||||
}
|
||||
while (list(,$appname) = each($phpgw_info["user"]["app_perms"])) {
|
||||
$f = $phpgw_info["server"]["server_root"] . "/" . $appname . "/inc/preferences.inc.php";
|
||||
if (file_exists($f)) {
|
||||
echo "<p>\n";
|
||||
include($f);
|
||||
}
|
||||
}
|
||||
$phpgw->common->hook();
|
||||
|
||||
$phpgw->common->phpgw_footer();
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user