X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=16c8f4e833b4347094ea62fbf5f742db8ae01d76;hb=f1007ef078225bb6219a3cdac53fe7d24c904c00;hp=b6f2416d36315c62db112e7984b0c574303ea633;hpb=80294f717c1b43c946885e562428dc23db06b9e9;p=mailer.git diff --git a/install.php b/install.php index b6f2416d36..16c8f4e833 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] ?>