';
if (file_exists($conf->mycompany->dir_output.'/logos/'.$conf->global->MAIN_LOGIN_BACKGROUND)) {
print ' ';
print '
';
- print '| '.$langs->trans("Language").' | | |
';
-
- print '| '.$langs->trans("DefaultLanguage").' | ';
- $s=picto_from_langcode($conf->global->MAIN_LANG_DEFAULT);
- print ($s?$s.' ':'');
- print ($conf->global->MAIN_LANG_DEFAULT=='auto'?$langs->trans("AutoDetectLang"):$langs->trans("Language_".$conf->global->MAIN_LANG_DEFAULT));
- print ' | ';
- print '';
- if ($user->admin && $conf->global->MAIN_LANG_DEFAULT!='auto') print info_admin($langs->trans("SubmitTranslation".($conf->global->MAIN_LANG_DEFAULT=='en_US'?'ENUS':''), $conf->global->MAIN_LANG_DEFAULT), 1);
- print ' | ';
- print "
";
-
- print '| '.$langs->trans("EnableMultilangInterface").' | ' . yn($conf->global->MAIN_MULTILANGS) . ' | ';
- print ' | ';
- print "
";
-
- print '
';
- print '| '.$langs->trans("Miscellaneous").' | |
';
-
- // Disable javascript/ajax
- print '| '.$langs->trans("DisableJavascript").' | ';
- print yn($conf->global->MAIN_DISABLE_JAVASCRIPT);
- print ' - '.$langs->trans("DisableJavascriptNote").'';
- print " | ";
- print "
";
-
- // Max size of lists
- print '| '.$langs->trans("DefaultMaxSizeList").' | ' . $conf->global->MAIN_SIZE_LISTE_LIMIT . ' | ';
- print "
";
-
- // Max size of short lists
- print '| '.$langs->trans("DefaultMaxSizeShortList").' | ' . $conf->global->MAIN_SIZE_SHORTLIST_LIMIT . ' | ';
- print "
";
-
- // First day for weeks
- print '| '.$langs->trans("WeekStartOnDay").' | ';
- print $langs->trans("Day".(isset($conf->global->MAIN_START_WEEK)?$conf->global->MAIN_START_WEEK:'1'));
- print ' | ';
- print '
';
-
- // Default Working Days
- print '| '.$langs->trans("DefaultWorkingDays").' | ';
- print isset($conf->global->MAIN_DEFAULT_WORKING_DAYS)?$conf->global->MAIN_DEFAULT_WORKING_DAYS:'1-5';
- print ' | ';
- print '
';
-
- // Default Working Hours
- print '| '.$langs->trans("DefaultWorkingHours").' | ';
- print isset($conf->global->MAIN_DEFAULT_WORKING_HOURS)?$conf->global->MAIN_DEFAULT_WORKING_HOURS:'9-18';
- print ' | ';
- print '
';
-
- // Firstname / Name position
- print '| '.$langs->trans("FirstnameNamePosition").' | ';
- if (empty($conf->global->MAIN_FIRSTNAME_NAME_POSITION)) { print $langs->trans("Firstname").' '.$langs->trans("Lastname"); }
- else { print $langs->trans("Lastname").' '.$langs->trans("Firstname"); }
- print ' | ';
- print '
';
-
- // Hide unauthorized button
- print '| '.$langs->trans("ButtonHideUnauthorized").' | ';
- print yn((isset($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED)?$conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED:0), 1);
- print ' |
';
-
- // Hide version link
- /*
- print '| '.$langs->trans("HideVersionLink").' | ';
- print yn($conf->global->MAIN_HIDE_VERSION);
- print ' | ';
- print '
';
- */
-
- // Show bugtrack link
- print '| '.$langs->trans("ShowBugTrackLink", $langs->transnoentitiesnoconv("FindBug")).' | ';
- print yn($conf->global->MAIN_BUGTRACK_ENABLELINK)." | ";
- print "
";
-
- // Link to wiki help
- $pictohelp='';
- print '| '.$langs->trans("DisableLinkToHelp", $pictohelp).' | ';
- print yn((isset($conf->global->MAIN_HELP_DISABLELINK)?$conf->global->MAIN_HELP_DISABLELINK:0), 1);
- print ' |
';
-
- // Message of the day
- print '| '.$langs->trans("MessageOfDay").' | ';
- if (isset($conf->global->MAIN_MOTD)) print dol_htmlcleanlastbr($conf->global->MAIN_MOTD);
- else print ' ';
- print ' |
'."\n";
-
- print '