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