forked from extern/egroupware
more generic
This commit is contained in:
parent
6c1f1d4de4
commit
84286356ea
@ -13,21 +13,21 @@
|
||||
{
|
||||
|
||||
echo "<p>\n";
|
||||
$imgfile = $phpgw->common->get_image_dir("calendar")."/" . $appname .".gif";
|
||||
$imgfile = $phpgw->common->get_image_dir($appname)."/" . $appname .".gif";
|
||||
if (file_exists($imgfile)) {
|
||||
$imgpath = $phpgw->common->get_image_path("calendar")."/" . $appname .".gif";
|
||||
$imgpath = $phpgw->common->get_image_path($appname)."/" . $appname .".gif";
|
||||
} else {
|
||||
$imgfile = $phpgw->common->get_image_dir("calendar")."/navbar.gif";
|
||||
$imgfile = $phpgw->common->get_image_dir($appname)."/navbar.gif";
|
||||
if (file_exists($imgfile)) {
|
||||
$imgpath = $phpgw->common->get_image_path("calendar")."/navbar.gif";
|
||||
$imgpath = $phpgw->common->get_image_path($appname)."/navbar.gif";
|
||||
} else {
|
||||
$imgpath = "";
|
||||
}
|
||||
}
|
||||
|
||||
section_start("Calendar",$imgpath);
|
||||
section_start(ucfirst($appname),$imgpath);
|
||||
|
||||
$pg = $phpgw->link($phpgw_info["server"]["webserver_url"]."/calendar/preferences.php");
|
||||
$pg = $phpgw->link($phpgw_info["server"]["webserver_url"]."/".$appname."/preferences.php");
|
||||
echo "<a href=".$pg.">" . lang("Calendar preferences") . "</a>";
|
||||
|
||||
section_end();
|
||||
|
Loading…
Reference in New Issue
Block a user