X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=1e305c17df2dcb2350812d04e244b70954b8d26d;hb=62220d980d8f0d189e7ebe8d1a1335af590133d3;hp=6be0243cbcc56e1a1c36ca0b2cc10f9cf7b23621;hpb=4c83f0cc7459cad9ec9c1c68963f5365155ee935;p=mailer.git diff --git a/install.php b/install.php index 6be0243cbc..1e305c17df 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] ?>