X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=install.php;h=8b1e4b1b64b3950fef479188df7757f5b0f7d361;hb=9d3ada3e6f7415381bd8265dc9fa3594b4b2c4c8;hp=6858ef7d646eeb346be5d093a6b23239bb947d0f;hpb=14b5a76d66703c228e667e1b4a1c8916f7a9885c;p=mailer.git diff --git a/install.php b/install.php index 6858ef7d64..8b1e4b1b64 100644 --- a/install.php +++ b/install.php @@ -1,29 +1,18 @@ 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"); +loadPageFooter(); -// +// [EOF] ?>