forked from extern/egroupware
now only removes all gifs is policy is set
This commit is contained in:
parent
3b939f5158
commit
bd2ca67eb1
@ -334,7 +334,7 @@
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* If they want NOGIF policy, then I do a global replace */
|
/* If they want NOGIF policy, then I do a global replace */
|
||||||
if ($GLOBALS['phpgw_info']['server']['imgtype_preference'] == 2)
|
if (PHPGW_IMGTYPE_PREF == 2)
|
||||||
{
|
{
|
||||||
$str = str_replace (".gif", ".png",$str);
|
$str = str_replace (".gif", ".png",$str);
|
||||||
}
|
}
|
||||||
|
@ -776,7 +776,7 @@
|
|||||||
|
|
||||||
function find_image($appname,$image)
|
function find_image($appname,$image)
|
||||||
{
|
{
|
||||||
switch($GLOBALS['phpgw_info']['server']['imgtype_preference'])
|
switch(PHPGW_IMGTYPE_PREF)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
$imgpref = Array('gif','jpg','png');
|
$imgpref = Array('gif','jpg','png');
|
||||||
|
Loading…
Reference in New Issue
Block a user