NEW Use the squarre logo as favicon of pages
This commit is contained in:
parent
5801d09dbe
commit
992b92978e
@ -1234,7 +1234,7 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr
|
|||||||
//if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) print '<link rel="author" title="Dolibarr Development Team" href="https://www.dolibarr.org">'."\n";
|
//if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) print '<link rel="author" title="Dolibarr Development Team" href="https://www.dolibarr.org">'."\n";
|
||||||
|
|
||||||
// Mobile appli like icon
|
// Mobile appli like icon
|
||||||
$manifest = DOL_MAIN_URL_ROOT . '/theme/'.$conf->theme.'/manifest.json.php';
|
$manifest = DOL_URL_ROOT . '/theme/'.$conf->theme.'/manifest.json.php';
|
||||||
if(!empty($manifest)){
|
if(!empty($manifest)){
|
||||||
print '<link rel="manifest" href="'.$manifest.'" />'."\n";
|
print '<link rel="manifest" href="'.$manifest.'" />'."\n";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -46,7 +46,7 @@ if (!empty($conf->global->MAIN_APPLICATION_TITLE)) $appli=$conf->global->MAIN_AP
|
|||||||
"name": "<?php echo $appli; ?>",
|
"name": "<?php echo $appli; ?>",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "<?php echo dol_buildpath('/theme/common/dolibarr_logo_256x256.png', 2); ?>",
|
"src": "<?php echo DOL_URL_ROOT.'/theme/common/dolibarr_logo_256x256.png'; ?>",
|
||||||
"sizes": "256x256",
|
"sizes": "256x256",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user