Add icone for website module
This commit is contained in:
parent
8d46d76f96
commit
df8bbaee34
@ -1021,6 +1021,10 @@ div.mainmenu.tools {
|
|||||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
|
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.mainmenu.websites {
|
||||||
|
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite.png',1) ?>);
|
||||||
|
}
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
|
// Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
|
||||||
|
|
||||||
@ -1040,7 +1044,8 @@ foreach($conf->modules as $val)
|
|||||||
$mainmenuusedarray=array_unique(explode(',',$mainmenuused));
|
$mainmenuusedarray=array_unique(explode(',',$mainmenuused));
|
||||||
|
|
||||||
$generic=1;
|
$generic=1;
|
||||||
$divalreadydefined=array('home','companies','products','commercial','externalsite','accountancy','project','tools','members','agenda','holiday','bookmark','cashdesk','ecm','geoipmaxmind','gravatar','clicktodial','paypal','webservices');
|
// Put here list of menu entries when the div.mainmenu.menuentry was previously defined
|
||||||
|
$divalreadydefined=array('home','companies','products','commercial','externalsite','accountancy','project','tools','members','agenda','holiday','bookmark','cashdesk','ecm','geoipmaxmind','gravatar','clicktodial','paypal','webservices','websites');
|
||||||
foreach($mainmenuusedarray as $val)
|
foreach($mainmenuusedarray as $val)
|
||||||
{
|
{
|
||||||
if (empty($val) || in_array($val,$divalreadydefined)) continue;
|
if (empty($val) || in_array($val,$divalreadydefined)) continue;
|
||||||
|
|||||||
@ -1072,6 +1072,10 @@ div.mainmenu.tools {
|
|||||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
|
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.mainmenu.websites {
|
||||||
|
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite.png',1) ?>);
|
||||||
|
}
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
|
// Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
|
||||||
|
|
||||||
@ -1091,7 +1095,8 @@ foreach($conf->modules as $val)
|
|||||||
$mainmenuusedarray=array_unique(explode(',',$mainmenuused));
|
$mainmenuusedarray=array_unique(explode(',',$mainmenuused));
|
||||||
|
|
||||||
$generic=1;
|
$generic=1;
|
||||||
$divalreadydefined=array('home','companies','products','commercial','externalsite','accountancy','project','tools','members','agenda','holiday','bookmark','cashdesk','ecm','geoipmaxmind','gravatar','clicktodial','paypal','webservices');
|
// Put here list of menu entries when the div.mainmenu.menuentry was previously defined
|
||||||
|
$divalreadydefined=array('home','companies','products','commercial','externalsite','accountancy','project','tools','members','agenda','holiday','bookmark','cashdesk','ecm','geoipmaxmind','gravatar','clicktodial','paypal','webservices','websites');
|
||||||
foreach($mainmenuusedarray as $val)
|
foreach($mainmenuusedarray as $val)
|
||||||
{
|
{
|
||||||
if (empty($val) || in_array($val,$divalreadydefined)) continue;
|
if (empty($val) || in_array($val,$divalreadydefined)) continue;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user