X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=6b6c5d6957477d85f83abcb1f00b32b828f82bbc;hb=89b94a81164ab7d31a89b04e4cc1185e3f6bbb0e;hp=df84d31121d0014ee80476457b509d4d4da341fe;hpb=d8148e3f1f3a6762b2e786dbe99ada269dcf2ea0;p=mailer.git diff --git a/install.php b/install.php index df84d31121..6b6c5d6957 100644 --- a/install.php +++ b/install.php @@ -1,29 +1,23 @@ getRequestElement('install_page') + ); - // Here start's our installtion stuff - LOAD_INC_ONCE("inc/install-inc.php"); + // Load main installation table + loadTemplate('install_main_ajax', false, $content); +} elseif (isPlainInstaller()) { + // Plain installer: + // Load include file + loadIncludeOnce('inc/install-inc.php'); - // Close main installation table - LOAD_TEMPLATE("install_footer"); + // Load main template + loadTemplate('install_main_plain'); +} else { + // What do you want, red or blue pill? AJAX or plain installer? ;-) + loadTemplate('install_selector'); } // Footer -LOAD_INC("inc/footer.php"); +loadIncludeOnce('inc/footer.php'); -// +// [EOF] ?>