egroupware/preferences/index.php

38 lines
1.8 KiB
PHP
Raw Normal View History

2000-08-18 05:24:22 +02:00
<?php
/**************************************************************************\
* phpGroupWare - preferences *
* 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. *
\**************************************************************************/
/* $Id$ */
//$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
2000-08-18 05:24:22 +02:00
$phpgw_info["flags"]["currentapp"] = "preferences";
2000-08-18 05:24:22 +02:00
include("../header.inc.php");
2000-09-02 00:03:53 +02:00
if ($phpgw_info["user"]["apps"]["anonymous"]) {
2000-08-18 05:24:22 +02:00
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/"));
exit;
}
echo "<br><a href=\"" . $phpgw->link("changepassword.php") . "\">"
. lang_pref("change your password") . "</a>";
echo "<br><a href=\"" . $phpgw->link("changetheme.php") . "\">"
. lang_pref("select different theme") . "</a>";
echo "<br><a href=\"" . $phpgw->link("settings.php") . "\">"
. lang_pref("change your settings") . "</a>";
echo "<br><a href=\"" . $phpgw->link("changeprofile.php") . "\">"
. lang_pref("change your profile") . "</a>";
2000-09-02 00:03:53 +02:00
// if ($phpgw_info["user"]["permissions"]["nntp"])
if ($phpgw_info["user"]["apps"]["nntp"])
2000-08-18 05:24:22 +02:00
echo "<br><a href=\"" . $phpgw->link("nntp.php") . "\">"
. lang_pref("monitor newsgroups") . "</a>";
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");