mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-12 01:30:41 +01:00
55 lines
1.5 KiB
PHP
55 lines
1.5 KiB
PHP
<?php
|
|
{
|
|
// This block of code is included by the main Administration page
|
|
// it points to the user, application and other global config
|
|
// pages.
|
|
// $appname is defined in the included file, (=="admin" for this file)
|
|
// $phpgw and $phpgwinfo are also in scope
|
|
|
|
// Find the icon to display
|
|
echo "<p>\n";
|
|
$imgfile = $phpgw->common->get_image_dir("admin")."/" . $appname .".gif";
|
|
if (file_exists($imgfile)) {
|
|
$imgpath = $phpgw->common->get_image_path("admin")."/" . $appname .".gif";
|
|
} else {
|
|
$imgfile = $phpgw->common->get_image_dir("admin")."/navbar.gif";
|
|
if (file_exists($imgfile)) {
|
|
$imgpath = $phpgw->common->get_image_path("admin")."/navbar.gif";
|
|
} else {
|
|
$imgpath = "";
|
|
}
|
|
}
|
|
|
|
// Show the header for the section
|
|
section_start("Administration",$imgpath);
|
|
|
|
|
|
// actual items in this section
|
|
echo "<a href='" . $phpgw->link("accounts.php") . "'>";
|
|
echo lang("User accounts")."</a><br>\n";
|
|
|
|
echo "<a href='" . $phpgw->link("groups.php") . "'>";
|
|
echo lang("User groups")."</a><br>\n";
|
|
|
|
echo "<p>\n";
|
|
|
|
echo "<a href='" . $phpgw->link("applications.php") . "'>";
|
|
echo lang("Applications")."</a><br>\n";
|
|
|
|
echo "<p>\n";
|
|
|
|
echo "<a href='" . $phpgw->link("mainscreen_message.php") . "'>";
|
|
echo lang("Change main screen message")."</a><br>\n";
|
|
|
|
echo "<p>\n";
|
|
|
|
echo "<a href='" . $phpgw->link("currentusers.php") . "'>";
|
|
echo lang("View sessions")."</a><br>\n";
|
|
|
|
echo "<a href='" . $phpgw->link("accesslog.php") . "'>";
|
|
echo lang("View Access Log")."</a><br>\n";
|
|
|
|
section_end();
|
|
}
|
|
?>
|