X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=install.php;h=a347a260b912cc2bb13ae6b35df1f58ed6d21317;hp=89b6e33c96bffc4c2b0e5752a93b068cee47fdd4;hb=8fad776382e63b3f73f8dbe289f229d79cfc2c22;hpb=f3e4c2c048761589836fdbe6bd2e46599a1833a7 diff --git a/install.php b/install.php index 89b6e33c96..a347a260b9 100644 --- a/install.php +++ b/install.php @@ -1,34 +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] ?>