mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
converting to the new hooks system
This commit is contained in:
parent
b29f5b637e
commit
c115717da0
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
{
|
{
|
||||||
|
echo "<p>\n";
|
||||||
$img = "/" . $appname . "/images/" . $appname .".gif";
|
$img = "/" . $appname . "/images/" . $appname .".gif";
|
||||||
if (file_exists($phpgw_info["server"]["server_root"].$img)) {
|
if (file_exists($phpgw_info["server"]["server_root"].$img)) {
|
||||||
$img = $phpgw_info["server"]["webserver_url"].$img;
|
$img = $phpgw_info["server"]["webserver_url"].$img;
|
||||||
@ -15,7 +16,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// Actual content
|
// Actual content
|
||||||
echo "<br><a href=\"" . $phpgw->link("changepassword.php") . "\">"
|
echo "<a href=\"" . $phpgw->link("changepassword.php") . "\">"
|
||||||
. lang("change your password") . "</a>";
|
. lang("change your password") . "</a>";
|
||||||
echo "<br><a href=\"" . $phpgw->link("changetheme.php") . "\">"
|
echo "<br><a href=\"" . $phpgw->link("changetheme.php") . "\">"
|
||||||
. lang("select different theme") . "</a>";
|
. lang("select different theme") . "</a>";
|
@ -37,18 +37,7 @@
|
|||||||
echo "</TD></TR></TABLE>\n\n";
|
echo "</TD></TR></TABLE>\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
// The account stuff that should be at the top of the list
|
$phpgw->common->hook();
|
||||||
$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->phpgw_footer();
|
$phpgw->common->phpgw_footer();
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user