Esempio n. 1
0
    if ($err_msg != "") {
        echo "<tr><td class=warning colspan=2>{$err_msg}</td></tr><tr><td></td></tr>";
    }
    if ($dbanlegen == 1) {
        $dbchecked1 = " checked";
    } elseif ($dbanlegen == 2) {
        $dbchecked2 = " checked";
    } else {
        $dbchecked0 = " checked";
    }
    echo "\r\n\r\n\t\t<tr><td><label for='redaxo_user_login'>" . $I18N->msg("setup_046") . ":</label></td><td><input type=text class=inp100 value=\"{$redaxo_user_login}\" id=redaxo_user_login name=redaxo_user_login></td></tr>\r\n\t\t<tr><td><label for='redaxo_user_pass'>" . $I18N->msg("setup_047") . ":</label></td><td><input type=text class=inp100 value=\"{$redaxo_user_pass}\" id=redaxo_user_pass name=redaxo_user_pass></td></tr>\r\n\t\t<tr><td align=right><input type=checkbox id=noadmin name=noadmin value=1></td><td><label for='noadmin'>" . $I18N->msg("setup_048") . "</label></td></tr>\r\n\t\t<tr><td>&nbsp;</td><td valign=middle><input type=submit value='" . $I18N->msg("setup_049") . "'></td></tr>\r\n\t\t</table>";
    echo "<br>";
}
// ---------------------------------- MODUS 5 | Setup verschieben ...
if ($checkmodus == 5) {
    $h = @fopen($REX[INCLUDE_PATH] . "/master.inc.php", "r");
    $cont = fread($h, filesize($REX[INCLUDE_PATH] . "/master.inc.php"));
    $cont = ereg_replace("(REX\\[SETUP\\].?\\=.?)[^;]*", "\\1" . "false", $cont);
    fclose($h);
    $h = @fopen($REX[INCLUDE_PATH] . "/master.inc.php", "w+");
    if (fwrite($h, $cont, strlen($cont)) > 0) {
        $errmsg = "";
    } else {
        $errmsg = $I18N->msg("setup_050");
    }
    // generate all articles,cats,templates,caches
    // generateAll();
    setuptitle($I18N->msg("setup_step5"));
    echo "" . $I18N->msg("setup_051") . "";
}
echo "</font></td></tr></table>";
Esempio n. 2
0
            }
        }
    }
    if ($err_msg == "") {
        $checkmodus = 5;
        $send = "";
    }
}
if ($checkmodus == 4) {
    setuptitle("SETUP: SCHRITT 4 von 5");
    echo "<b>Administrator anlegen</b><br><br>\r\n\t\t<table border=0 cellpadding=5 cellspacing=0 width=500>\r\n\t\t<form action=setup.php method=post>\r\n\t\t<input type=hidden name=checkmodus value=4>\r\n\t\t<input type=hidden name=send value=1>\r\n\t\t";
    if ($err_msg != "") {
        echo "<tr><td class=warning colspan=2>{$err_msg}</td></tr><tr><td></td></tr>";
    }
    if ($dbanlegen == 1) {
        $dbchecked1 = " checked";
    } elseif ($dbanlegen == 2) {
        $dbchecked2 = " checked";
    } else {
        $dbchecked0 = " checked";
    }
    echo "\r\n\t\t\r\n\t\t<tr><td>Login:</td><td><input type=text class=inp100 value=\"{$redaxo_user_login}\" name=redaxo_user_login></td></tr>\r\n\t\t<tr><td>Passwort:</td><td><input type=text class=inp100 value=\"{$redaxo_user_pass}\" name=redaxo_user_pass></td></tr>\r\n\t\t<tr><td align=right><input type=checkbox name=noadmin value=1></td><td>Keinen User anlegen</td></tr>\r\n\t\t<tr><td>&nbsp;</td><td valign=middle><input type=submit value='Weiter zu Schritt 5'></td></tr>\r\n\t\t</table>";
    echo "<br>";
}
// ---------------------------------- MODUS 5 | Setup verschieben ...
if ($checkmodus == 5) {
    setuptitle("SETUP: SCHRITT 5 von 5");
    echo "<b>Herzlichen Glückwunsch zu Ihrem REDAXO! </b>\r\n\r\n\t<br><br>Bitte noch dieses beachten:\r\n\r\n\t<br><br>1] <b>Einloggen unter <a href=../redaxo/index.php>/redaxo/index.php</A> und Zugang überprüfen</b>\r\n\t\r\n\t<br><br>2] <b>Sofern Sie eine fertig Seite eingebunden haben - Community oder Demo - \r\n\t<br>&nbsp;&nbsp;&nbsp;gehen Sie bitte auf Spezielle Features und Regenerate article\r\n\t\r\n\t<br><br>3] <b>Wenn alles geht, dann diese setup.php und setup_en.php löschen</b>\r\n\r\n\t<br><br><br>Viel Spass und Erfolg\r\n\r\n\t<br><br>Das REDAXO Team\r\n\t\r\n\t<br><br>";
}
echo "</font></td></tr></table>";
include $REX[INCLUDE_PATH] . "/layout_redaxo/bottom.php";
Esempio n. 3
0
            }
        }
    }
    if ($err_msg == "") {
        $checkmodus = 5;
        $send = "";
    }
}
if ($checkmodus == 4) {
    setuptitle("SETUP: STEP 4 of 5");
    echo "<b>Create Administrator Account</b><br><br>\r\n\t\t<table border=0 cellpadding=5 cellspacing=0 width=500>\r\n\t\t<form action=setup_en.php method=post>\r\n\t\t<input type=hidden name=checkmodus value=4>\r\n\t\t<input type=hidden name=send value=1>\r\n\t\t";
    if ($err_msg != "") {
        echo "<tr><td class=warning colspan=2>{$err_msg}</td></tr><tr><td></td></tr>";
    }
    if ($dbanlegen == 1) {
        $dbchecked1 = " checked";
    } elseif ($dbanlegen == 2) {
        $dbchecked2 = " checked";
    } else {
        $dbchecked0 = " checked";
    }
    echo "\r\n\t\t\r\n\t\t<tr><td>Login:</td><td><input type=text class=inp100 value=\"{$redaxo_user_login}\" name=redaxo_user_login></td></tr>\r\n\t\t<tr><td>Password:</td><td><input type=text class=inp100 value=\"{$redaxo_user_pass}\" name=redaxo_user_pass></td></tr>\r\n\t\t<tr><td align=right><input type=checkbox name=noadmin value=1></td><td>Do not create this user</td></tr>\r\n\t\t<tr><td>&nbsp;</td><td valign=middle><input type=submit value='Go on to step 5'></td></tr>\r\n\t\t</table>";
    echo "<br>";
}
// ---------------------------------- MODUS 5 | Setup verschieben ...
if ($checkmodus == 5) {
    setuptitle("SETUP: STEP 5 of 5");
    echo "<b>Congratulations, you have successfully installed REDAXO! </b>\r\n\r\n\t<br><br>Please note:\r\n\r\n\t<br><br>1] <b>You may login with this url <a href=../redaxo/index.php>/redaxo/index.php</A></b>\r\n\t\r\n\t<br><br>2] <b>If you have imported either the Community Demo or the Normal Demo 2.0 \r\n\t<br>&nbsp;&nbsp;&nbsp;please go to the tab 'Special Features' and klick on 'Regenerate Articles'\r\n\r\n\t<br><br>3] <b>If all went well you should delete this file 'setup.php' and 'setup_en.php' for security reasons.</b>\r\n\r\n\t<br><br><br>Have alot of fun\r\n\r\n\t<br><br>The REDAXO Team\r\n\t\r\n\t<br><br>";
}
echo "</font></td></tr></table>";
include $REX[INCLUDE_PATH] . "/layout_redaxo/bottom.php";