From 0904e6884371a06c525951de2837119ae47334cb Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Mon, 30 Jan 2023 17:37:25 +0100 Subject: [PATCH] Minor bugfixes --- install_binaries.sh | 2 +- var/www/html/home.php | 2 +- var/www/html/register.php | 2 +- var/www/locale/hosting.pot | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/install_binaries.sh b/install_binaries.sh index 660586b..b9d7411 100755 --- a/install_binaries.sh +++ b/install_binaries.sh @@ -101,7 +101,7 @@ make distclean ldconfig cd ../ImageMagick 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 make -j $PROC_LIMIT install make distclean diff --git a/var/www/html/home.php b/var/www/html/home.php index 4bd5a47..835538e 100644 --- a/var/www/html/home.php +++ b/var/www/html/home.php @@ -254,7 +254,7 @@ if(MAX_NUM_USER_DOMAINS>0){ echo ''; echo '

'.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, contact me to configure the SSL certificate. You may also use any subdomain of %4$s'), CLEARNET_A, CLEARNET_AAAA, CONTACT_URL, CLEARNET_SUBDOMAINS).'

'; } -echo '

'._('MySQL Database<').'/h3>'; +echo '

'._('MySQL Database').'

'; echo ''; echo ''; $stmt=$db->prepare('SELECT mysql_database FROM mysql_databases WHERE user_id = ?;'); diff --git a/var/www/html/register.php b/var/www/html/register.php index 32fcc6d..13ae960 100644 --- a/var/www/html/register.php +++ b/var/www/html/register.php @@ -111,7 +111,7 @@ if($_SERVER['REQUEST_METHOD']==='POST'){ $headers="From: www-data \r\nContent-Type: text/plain; charset=UTF-8\r\n"; mail(EMAIL_TO, $title, $msg, $headers); } - echo '

'.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 here.'), "$onion.onion").'

'; + echo '

'.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.'), "$onion.onion").'

'; } } ?> diff --git a/var/www/locale/hosting.pot b/var/www/locale/hosting.pot index 9b7d252..1973e9f 100644 --- a/var/www/locale/hosting.pot +++ b/var/www/locale/hosting.pot @@ -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 \n" "Language-Team: LANGUAGE \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 here." +"minute until the changes have been processed. You can then login." msgstr "" #: var/www/html/register.php:123
'._('Database').''._('Host').''._('User').''._('Action').'