mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
added message to do db upgrade after install
This commit is contained in:
parent
1be7ba66ee
commit
2eabd85b91
@ -3034,18 +3034,12 @@ $this->app->Tpl->Add('TODOFORUSER',"<tr><td width=\"90%\">".$tmp[$i]['aufgabe'].
|
||||
}
|
||||
}
|
||||
*/
|
||||
$subHeadline = 'Es kann nun losgehen.';
|
||||
if($isAdminAdmin && !empty(erpAPI::Ioncube_Property('isdevelopmentversion'))) {
|
||||
$subHeadline = 'Es handelt sich hier um eine Development-Version.
|
||||
Diese ist nicht für den produktiven Einsatz gedacht.';
|
||||
}
|
||||
|
||||
/** @var SystemTemplates $systemTemplates */
|
||||
$showExampleImport = !empty(erpAPI::Ioncube_Property('testlizenz'))
|
||||
&& !empty(erpAPI::Ioncube_Property('iscloud'))
|
||||
&& $this->app->erp->RechteVorhanden('systemtemplate', 'list')
|
||||
&& ($systemTemplates = $this->app->loadModule('systemtemplates')) !== null
|
||||
&& $systemTemplates->canInstallExampleData(false);
|
||||
if($isAdminAdmin) {
|
||||
$subHeadline = 'Bitte nach der Installation das <a href="index.php?module=upgrade" target="_blank">Datenbank-Upgrade</a> durchführen.';
|
||||
} else {
|
||||
$subHeadline = 'Es kann nun losgehen.';
|
||||
}
|
||||
|
||||
$lastPage = [
|
||||
'type' => 'defaultPage',
|
||||
@ -3062,9 +3056,6 @@ $this->app->Tpl->Add('TODOFORUSER',"<tr><td width=\"90%\">".$tmp[$i]['aufgabe'].
|
||||
if($showExampleImport) {
|
||||
$lastPage['subHeadline'] .= '<br /><a href="index.php?module=systemtemplates&action=list">Beispieldaten einspielen</a>';
|
||||
}
|
||||
if($isAdminAdmin && $this->app->erp->ModulVorhanden('learningdashboard')){
|
||||
$lastPage['ctaButtons']['link'] = 'index.php?module=learningdashboard&action=list';
|
||||
}
|
||||
|
||||
$pages[] = $lastPage;
|
||||
|
||||
|
@ -82,6 +82,8 @@
|
||||
<br><br>
|
||||
<center>
|
||||
<a href=\"$weburllink\">Anmelden mit Benutzer: <i>admin</i> und Passwort: <i>admin</i></a>
|
||||
<br><br>
|
||||
Bitte nach der Installation das <a href=\"".$weburllink."index.php?module=upgrade\" target=\"_blank\">Datenbank-Upgrade</a> durchführen.</a>
|
||||
</center>
|
||||
");
|
||||
}else{
|
||||
|
Loading…
Reference in New Issue
Block a user