[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.common.inc.php,1.224
From: |
ceb |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.common.inc.php,1.224 |
Date: |
Thu, 24 Feb 2005 15:56:18 -0000 |
Update of phpgwapi/inc
Modified Files:
Branch: MAIN
class.common.inc.php lines: +3 -7
Log Message:
fixed find image
====================================================
Index: phpgwapi/inc/class.common.inc.php
diff -u phpgwapi/inc/class.common.inc.php:1.223
phpgwapi/inc/class.common.inc.php:1.224
--- phpgwapi/inc/class.common.inc.php:1.223 Thu Jan 13 11:29:47 2005
+++ phpgwapi/inc/class.common.inc.php Mon Jan 17 14:05:25 2005
@@ -962,18 +962,14 @@
}
if ($use_lang)
{
- foreach($image as $img)
+ while (list(,$img) = each($image))
{
$lang_images[] = $img . '_' .
$GLOBALS['phpgw_info']['user']['preferences']['common']['lang'];
$lang_images[] = $img;
}
$image = $lang_images;
}
- if($image_found)
- {
- return $image_found;
- }
- foreach($image as $img)
+ while (!$image_found && (list(,$img) = each($image)))
{
if(isset($this->found_files[$appname][$img.$ext]))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.common.inc.php,1.224,
ceb <=