mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-13 21:52:29 +01:00
fix parse error
This commit is contained in:
parent
bef301573f
commit
ed856f4c89
10
setup.php
10
setup.php
@ -228,34 +228,34 @@
|
||||
echo "<form name=\"Config Creation\" style='margin:0 auto; width: 650px' method=\"post\" action=\"" . 'setup.php' . "\">";
|
||||
|
||||
// DB Config
|
||||
echo "<b style="text-align:center">Database Configuration</b>";
|
||||
echo "<b style=\"text-align:center\">Database Configuration</b>";
|
||||
echo "Database Host: <input type=\"text\" class='form-control' style='width:650px' name=\"dbserver\" value=\"localhost\"><br>";
|
||||
echo "Database User: <input type=\"text\" class='form-control' style='width:650px' name=\"dbuser\" value=\"root\"><br>";
|
||||
echo "Database Pass: <input type=\"password\" class='form-control' style='width:650px' name=\"dbpass\" value=\"password\"><br>";
|
||||
echo "Database Name: <input type=\"text\" class='form-control' style='width:650px' name=\"dbname\" value=\"polr\"><br>";
|
||||
|
||||
// App Config
|
||||
echo "<br /><b style="text-align:center">Application Settings</b>";
|
||||
echo "<br /><b style=\"text-align:center\">Application Settings</b>";
|
||||
echo "Application Name: <input type=\"text\" class='form-control' style='width:650px' name=\"appname\" value=\"polr\"><br>";
|
||||
echo "Application URL (path to Polr, no http:// or www.) : <input type=\"text\" style='width:650px' class='form-control' name=\"appurl\" value=\"yoursite.com\"><br>";
|
||||
echo "Fetch ip through variable: <input type=\"text\" class='form-control' style='width:650px' name=\"ipfetch\" value=\"\$_SERVER['REMOTE_ADDR']\"><br>";
|
||||
|
||||
// Security/Account Config
|
||||
echo "<br /><b style="text-align:center">Admin Account Settings</b>";
|
||||
echo "<br /><b style=\"text-align:center\">Admin Account Settings</b>";
|
||||
echo "Setup Access Password: <input type=\"text\" class='form-control' style='width:650px' name=\"protpass\" value=\"password123\"><br>";
|
||||
echo "Admin Account: <input type=\"text\" class='form-control' style='width:650px' style='width:650px' name=\"acct\" value=\"polr\"><br>";
|
||||
echo "Admin Email: <input type=\"text\" class='form-control' style='width:650px' style='width:650px' name=\"acctemail\" value=\"polr@admin.tld\"><br>";
|
||||
echo "Admin Password: <input type=\"password\" style='width:650px' class='form-control' name=\"acctpass\" value=\"polr\"><br>";
|
||||
|
||||
// SMTP Config
|
||||
echo "<br /><b style="text-align:center">SMTP Settings</b><p>(leave blank if you are not using email verification/password recovery)</p>";
|
||||
echo "<br /><b style=\"text-align:center\">SMTP Settings</b><p>(leave blank if you are not using email verification/password recovery)</p>";
|
||||
echo "SMTP Servers (semicolon separated): <input type=\"text\" class='form-control' style='width:650px' name=\"smtp-servers\" placeholder=\"smtp.gmail.com\"><br>";
|
||||
echo "SMTP Username: <input type=\"text\" class='form-control' style='width:650px' name=\"smtp-username\" placeholder=\"example@gmail.com\"><br>";
|
||||
echo "SMTP Password: <input type=\"text\" class='form-control' style='width:650px' name=\"smtp-password\" placeholder=\"password\"><br>";
|
||||
echo "SMTP From: <input type=\"text\" class='form-control' style='width:650px' name=\"smtp-from\" placeholder=\"example@gmail.com\"><br>";
|
||||
|
||||
|
||||
echo "<br /><b>Other Settings</b>Registration: <select name='reg' style='width:650px' class='form-control'>"
|
||||
echo "<br /><b style=\"text-align:center\">Other Settings</b>Registration: <select name='reg' style='width:650px' class='form-control'>"
|
||||
. "<option value='none'>No registration</option>"
|
||||
. "<option value='email'>Email verification required</option>"
|
||||
. "<option value='free'>No email verification required</option>"
|
||||
|
Loading…
Reference in New Issue
Block a user