Minor bugfixes

This commit is contained in:
2023-01-30 17:37:25 +01:00
parent 7697b29858
commit 0904e68843
4 changed files with 7 additions and 7 deletions

View File

@ -254,7 +254,7 @@ if(MAX_NUM_USER_DOMAINS>0){
echo '</table>';
echo '<p>'.sprintf(_('To enable your clearnet domain, edit your DNS settings and enter %1$s as your A record and %2$s as your AAAA record. Once you have modified your DNS settings, <a href="%3$s" target="_blank">contact me</a> to configure the SSL certificate. You may also use any subdomain of %4$s'), CLEARNET_A, CLEARNET_AAAA, CONTACT_URL, CLEARNET_SUBDOMAINS).'</p>';
}
echo '<h3>'._('MySQL Database<').'/h3>';
echo '<h3>'._('MySQL Database').'</h3>';
echo '<table border="1">';
echo '<tr><th>'._('Database').'</th><th>'._('Host').'</th><th>'._('User').'</th><th>'._('Action').'</th></tr>';
$stmt=$db->prepare('SELECT mysql_database FROM mysql_databases WHERE user_id = ?;');

View File

@ -111,7 +111,7 @@ if($_SERVER['REQUEST_METHOD']==='POST'){
$headers="From: www-data <www-data>\r\nContent-Type: text/plain; charset=UTF-8\r\n";
mail(EMAIL_TO, $title, $msg, $headers);
}
echo '<p role="alert" style="color:green">'.sprintf(_('Your onion domain %s has successfully been created. Please wait up to one minute until the changes have been processed. You can then login <a href="login.php">here</a>.'), "<a href=\"http://$onion.onion\" target=\"_blank\">$onion.onion</a>").'</p>';
echo '<p role="alert" style="color:green">'.sprintf(_('Your onion domain %s has successfully been created. Please wait up to one minute until the changes have been processed. You can then <a href="login.php">login</a>.'), "<a href=\"http://$onion.onion\" target=\"_blank\">$onion.onion</a>").'</p>';
}
}
?>

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-22 20:16+0100\n"
"POT-Creation-Date: 2023-01-30 17:36+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -956,7 +956,7 @@ msgid ""
msgstr ""
#: var/www/html/home.php:257
msgid "MySQL Database<"
msgid "MySQL Database"
msgstr ""
#: var/www/html/home.php:259
@ -1100,8 +1100,8 @@ msgstr ""
#, php-format
msgid ""
"Your onion domain %s has successfully been created. Please wait up to one "
"minute until the changes have been processed. You can then login <a "
"href=\"login.php\">here</a>."
"minute until the changes have been processed. You can then <a href=\"login."
"php\">login</a>."
msgstr ""
#: var/www/html/register.php:123