X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=install.php;h=44559e8996c18575855e1465f0f924df3eee409f;hp=35fc2cc270193969aa0403e07cadb3771763b1a2;hb=684a096066e24eb89e26eef50a4c78a889298f6b;hpb=b8c86fa12322603c24a88ea2b0fd3dbeba612752 diff --git a/install.php b/install.php index 35fc2cc270..44559e8996 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] ?>