2
0
forked from Wavyzz/dolibarr

More info into comment

This commit is contained in:
Laurent Destailleur
2014-05-13 18:30:51 +02:00
parent 9b38857c9a
commit 179583f79a
4 changed files with 4 additions and 4 deletions

View File

@@ -423,7 +423,7 @@ foreach($mainmenuusedarray as $val)
}
if ($found)
{
print "/* A mainmenu entry but img file ".$val.".png not found, so we use a generic one */\n";
print "/* A mainmenu entry but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
print "div.mainmenu.".$val." {\n";
print " background-image: url(".$url.");\n";
print " height:28px;\n";

View File

@@ -462,7 +462,7 @@ foreach($mainmenuusedarray as $val)
}
if ($found)
{
print "/* A mainmenu entry but img file ".$val.".png not found, so we use a generic one */\n";
print "/* A mainmenu entry but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
print "div.mainmenu.".$val." {\n";
print " background-image: url(".$url.");\n";
print " height:28px;\n";

View File

@@ -599,7 +599,7 @@ foreach($mainmenuusedarray as $val)
}
if ($url)
{
print "/* A mainmenu entry but img file ".$val.".png not found, so we use a generic one */\n";
print "/* A mainmenu entry but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
print "div.mainmenu.".$val." {\n";
print " background-image: url(".$url.");\n";
print " height:28px;\n";

View File

@@ -785,7 +785,7 @@ foreach($mainmenuusedarray as $val)
$url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.$generic.".png",1);
$found=1;
if ($generic < 4) $generic++;
print "/* A mainmenu entry but img file ".$val.".png not found, so we use a generic one */\n";
print "/* A mainmenu entry but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
}
if ($found)
{