New: Direct jump to edit page
This commit is contained in:
parent
e8ab24949a
commit
6942700ce7
@ -55,12 +55,13 @@ print $langs->trans("SetupDescription2")."<br><br>";
|
|||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
//print '<hr style="color: #DDDDDD;">';
|
//print '<hr style="color: #DDDDDD;">';
|
||||||
print img_picto('','puce').' '.$langs->trans("SetupDescription3",DOL_URL_ROOT.'/admin/company.php?mainmenu=home');
|
if (empty($conf->global->MAIN_INFO_SOCIETE_NOM) || empty($conf->global->MAIN_INFO_SOCIETE_PAYS)) $setupcompanynotcomplete=1;
|
||||||
if (empty($conf->global->MAIN_INFO_SOCIETE_NOM) || empty($conf->global->MAIN_INFO_SOCIETE_PAYS))
|
print img_picto('','puce').' '.$langs->trans("SetupDescription3",DOL_URL_ROOT.'/admin/company.php?mainmenu=home'.(empty($setupcompanynotcomplete)?'':'&action=edit'));
|
||||||
|
if (! empty($setupcompanynotcomplete))
|
||||||
{
|
{
|
||||||
$langs->load("errors");
|
$langs->load("errors");
|
||||||
$warnpicto=img_warning($langs->trans("WarningMandatorySetupNotComplete"));
|
$warnpicto=img_warning($langs->trans("WarningMandatorySetupNotComplete"));
|
||||||
print '<br><a href="'.DOL_URL_ROOT.'/admin/company.php?mainmenu=home">'.$warnpicto.' '.$langs->trans("WarningMandatorySetupNotComplete").'</a>';
|
print '<br><a href="'.DOL_URL_ROOT.'/admin/company.php?mainmenu=home'.(empty($setupcompanynotcomplete)?'':'&action=edit').'">'.$warnpicto.' '.$langs->trans("WarningMandatorySetupNotComplete").'</a>';
|
||||||
}
|
}
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|||||||
@ -49,6 +49,11 @@ print "<br>";
|
|||||||
|
|
||||||
print info_admin($langs->trans("SystemAreaForAdminOnly")).'<br>';
|
print info_admin($langs->trans("SystemAreaForAdminOnly")).'<br>';
|
||||||
|
|
||||||
|
print '<br><br>';
|
||||||
|
|
||||||
|
|
||||||
|
// Show logo
|
||||||
|
print '<center><div class="logo_setup"></div></center>';
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user