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

@ -101,7 +101,7 @@ make distclean
ldconfig ldconfig
cd ../ImageMagick cd ../ImageMagick
git fetch --all git fetch --all
git checkout 7.1.0-57 git checkout 7.1.0-60
CXXFLAGS='-O3 -mtune=native -march=native' CFLAGS='-O3 -mtune=native -march=native' ./configure --without-perl --without-magick-plus-plus --with-rsvg=yes --disable-openmp CXXFLAGS='-O3 -mtune=native -march=native' CFLAGS='-O3 -mtune=native -march=native' ./configure --without-perl --without-magick-plus-plus --with-rsvg=yes --disable-openmp
make -j $PROC_LIMIT install make -j $PROC_LIMIT install
make distclean make distclean

View File

@ -254,7 +254,7 @@ if(MAX_NUM_USER_DOMAINS>0){
echo '</table>'; 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 '<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 '<table border="1">';
echo '<tr><th>'._('Database').'</th><th>'._('Host').'</th><th>'._('User').'</th><th>'._('Action').'</th></tr>'; 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 = ?;'); $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"; $headers="From: www-data <www-data>\r\nContent-Type: text/plain; charset=UTF-8\r\n";
mail(EMAIL_TO, $title, $msg, $headers); 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 "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -956,7 +956,7 @@ msgid ""
msgstr "" msgstr ""
#: var/www/html/home.php:257 #: var/www/html/home.php:257
msgid "MySQL Database<" msgid "MySQL Database"
msgstr "" msgstr ""
#: var/www/html/home.php:259 #: var/www/html/home.php:259
@ -1100,8 +1100,8 @@ msgstr ""
#, php-format #, php-format
msgid "" msgid ""
"Your onion domain %s has successfully been created. Please wait up to one " "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 " "minute until the changes have been processed. You can then <a href=\"login."
"href=\"login.php\">here</a>." "php\">login</a>."
msgstr "" msgstr ""
#: var/www/html/register.php:123 #: var/www/html/register.php:123