2000-09-23 03:25:17 +02:00
|
|
|
<?php
|
2000-12-15 23:09:13 +01:00
|
|
|
/**************************************************************************\
|
|
|
|
* phpGroupWare *
|
|
|
|
* http://www.phpgroupware.org *
|
|
|
|
* Written by Joseph Engo <jengo@phpgroupware.org> *
|
|
|
|
* -------------------------------------------- *
|
|
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU General Public License as published by the *
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
|
|
* option) any later version. *
|
|
|
|
\**************************************************************************/
|
2001-03-08 11:08:22 +01:00
|
|
|
|
|
|
|
/* $Id$ */
|
2000-09-23 03:25:17 +02:00
|
|
|
{
|
2000-12-15 22:56:09 +01:00
|
|
|
echo "<p>\n";
|
2000-12-19 19:14:22 +01:00
|
|
|
$imgfile = $phpgw->common->get_image_dir("preferences")."/" . $appname .".gif";
|
|
|
|
if (file_exists($imgfile)) {
|
|
|
|
$imgpath = $phpgw->common->get_image_path("preferences")."/" . $appname .".gif";
|
2000-09-23 03:25:17 +02:00
|
|
|
} else {
|
2000-12-19 19:14:22 +01:00
|
|
|
$imgfile = $phpgw->common->get_image_dir("preferences")."/navbar.gif";
|
|
|
|
if (file_exists($imgfile)) {
|
|
|
|
$imgpath = $phpgw->common->get_image_path("preferences")."/navbar.gif";
|
2000-09-23 03:25:17 +02:00
|
|
|
} else {
|
2000-12-19 19:14:22 +01:00
|
|
|
$imgpath = "";
|
2000-09-23 03:25:17 +02:00
|
|
|
}
|
|
|
|
}
|
2000-12-19 19:14:22 +01:00
|
|
|
section_start("Account Preferences",$imgpath);
|
2000-09-23 03:25:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
// Actual content
|
2001-02-08 20:34:14 +01:00
|
|
|
if ($phpgw->acl->check('changepassword',1)) {
|
|
|
|
echo "<a href=\"" . $phpgw->link("changepassword.php") . "\">"
|
2000-09-23 03:25:17 +02:00
|
|
|
. lang("change your password") . "</a>";
|
2001-02-08 20:34:14 +01:00
|
|
|
}
|
2000-09-23 03:25:17 +02:00
|
|
|
echo "<br><a href=\"" . $phpgw->link("settings.php") . "\">"
|
|
|
|
. lang("change your settings") . "</a>";
|
2000-11-16 09:09:00 +01:00
|
|
|
// echo "<br><a href=\"" . $phpgw->link("changeprofile.php") . "\">"
|
|
|
|
// . lang("change your profile") . "</a>";
|
2000-09-23 03:25:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
section_end();
|
|
|
|
}
|
|
|
|
?>
|