diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index acb04734234..26dcb94a0ba 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1170,12 +1170,15 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs $ext='layout='.$conf->browser->layout.'&version='.urlencode(DOL_VERSION); print "\n"; + if (GETPOST('dol_basehref','alpha')) print ''."\n"; + // Displays meta print ''."\n"; print ''."\n"; // Do not index print ''."\n"; // Scale for mobile device print ''."\n"; + // Favicon $favicon=dol_buildpath('/theme/'.$conf->theme.'/img/favicon.ico',1); if (! empty($conf->global->MAIN_FAVICON_URL)) $favicon=$conf->global->MAIN_FAVICON_URL; @@ -1184,6 +1187,9 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs //if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) print ''."\n"; //if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) print ''."\n"; + // Auto refresh page + if (GETPOST('autorefresh','int') > 0) print ''; + // Displays title $appli=constant('DOL_APPLICATION_TITLE'); if (!empty($conf->global->MAIN_APPLICATION_TITLE)) $appli=$conf->global->MAIN_APPLICATION_TITLE;