forked from extern/egroupware
Changeover to SEP
This commit is contained in:
parent
2ace0ea50b
commit
a6081e5184
@ -5,17 +5,17 @@
|
||||
global $phpgw, $phpgw_info;
|
||||
$appname = 'addressbook';
|
||||
|
||||
$imgfile = $phpgw->common->get_image_dir($appname) . '/' . $appname . '.gif';
|
||||
$imgfile = $phpgw->common->get_image_dir($appname) . SEP . $appname . '.gif';
|
||||
if (file_exists($imgfile))
|
||||
{
|
||||
$imgpath = $phpgw->common->get_image_path($appname) . '/' . $appname . '.gif';
|
||||
$imgpath = $phpgw->common->get_image_path($appname) . SEP . $appname . '.gif';
|
||||
}
|
||||
else
|
||||
{
|
||||
$imgfile = $phpgw->common->get_image_dir($appname) . '/navbar.gif';
|
||||
$imgfile = $phpgw->common->get_image_dir($appname) . SEP . 'navbar.gif';
|
||||
if (file_exists($imgfile))
|
||||
{
|
||||
$imgpath = $phpgw->common->get_image_path($appname) . '/navbar.gif';
|
||||
$imgpath = $phpgw->common->get_image_path($appname) . SEP . 'navbar.gif';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -9,7 +9,9 @@
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
// Delete all records for a user
|
||||
if (floor($PHP_VERSION ) == 4)
|
||||
{
|
||||
|
@ -13,13 +13,13 @@
|
||||
/* $Id$ */
|
||||
{
|
||||
echo "<p>\n";
|
||||
$imgfile = $phpgw->common->get_image_dir($appname) . '/' . $appname . '.gif';
|
||||
$imgfile = $phpgw->common->get_image_dir($appname) . SEP . $appname . '.gif';
|
||||
if (file_exists($imgfile)) {
|
||||
$imgpath = $phpgw->common->get_image_path($appname) . '/' . $appname . '.gif';
|
||||
$imgpath = $phpgw->common->get_image_path($appname) . SEP . $appname . '.gif';
|
||||
} else {
|
||||
$imgfile = $phpgw->common->get_image_dir($appname) . '/navbar.gif';
|
||||
$imgfile = $phpgw->common->get_image_dir($appname) . SEP . 'navbar.gif';
|
||||
if (file_exists($imgfile)) {
|
||||
$imgpath = $phpgw->common->get_image_path($appname) . '/navbar.gif';
|
||||
$imgpath = $phpgw->common->get_image_path($appname) . SEP . 'navbar.gif';
|
||||
} else {
|
||||
$imgpath = '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user