mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
Redo the preferences.
This commit is contained in:
parent
ab460baab1
commit
1615e6ecac
@ -12,29 +12,12 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
{
|
{
|
||||||
echo "<p>\n";
|
// Only Modify the $file and $title variables.....
|
||||||
$imgfile = $phpgw->common->get_image_dir ($appname) . '/' . $appname . '.gif';
|
$title = $appname;
|
||||||
if (file_exists ($imgfile))
|
$file = Array(
|
||||||
{
|
'PHPWebHosting preferences' => $phpgw->link('/phpwebhosting/preferences.php')
|
||||||
$imgpath = $phpgw->common->get_image_path ($appname) . '/' . $appname . '.gif';
|
);
|
||||||
}
|
//Do not modify below this line
|
||||||
else
|
display_section($appname,$title,$file);
|
||||||
{
|
|
||||||
$imgfile = $phpgw->common->get_image_dir ($appname) . '/navbar.gif';
|
|
||||||
if (file_exists ($imgfile))
|
|
||||||
{
|
|
||||||
$imgpath = $phpgw->common->get_image_path ($appname) . '/navbar.gif';
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$imgpath = '';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
section_start (ucfirst ($appname), $imgpath);
|
|
||||||
|
|
||||||
echo '<a href="' . $phpgw->link ('/phpwebhosting/preferences.php') . '">' . lang ('PHPWebHosting preferences') . '</a>';
|
|
||||||
|
|
||||||
section_end ();
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user