diff --git a/lang_en.php b/lang_en.php index 995cab2..a1c15e8 100644 --- a/lang_en.php +++ b/lang_en.php @@ -8,7 +8,7 @@ $I=[ 'title' => 'Onion link list', 'error' => 'ERROR', 'nodb' => 'No database connection!', - 'addonion' => 'Onion-Address', + 'addonion' => 'Onion address', 'adddesc' => 'Description', 'category' => 'Category', 'search' => 'Search', @@ -16,10 +16,10 @@ $I=[ 'specialcat' => 'Special categories', 'categories' => 'Categories', 'pages' => 'Pages', - 'invalonion' => 'Invalid onion-Address!', + 'invalonion' => 'Invalid onion address!', 'valid' => 'A valid address looks like this', - 'succadd' => 'Successfully added onion-Address!', - 'faillocked' => 'Sorry, editing this onion-Address has been locked!', + 'succadd' => 'Successfully added onion address!', + 'faillocked' => 'Sorry, editing this onion address has been locked!', 'succupddesc' => 'Successfully updated description!', 'succupdcat' => 'Successfully updated category!', 'alreadyknown' => 'Thanks, but I already knew this address!', @@ -47,19 +47,19 @@ $I=[ 'phishing' => 'Phishing', 'unphishing' => 'No phishing', 'update' => 'Update', - 'succremove' => 'Successfully removed onion-Address!', - 'succreadd' => 'Successfully readded onion-Address!', - 'succlock' => 'Successfully locked onion-Address!', - 'succunlock' => 'Successfully unlocked onion-Address!', - 'succpromote' => 'Successfully promoted onion-Address until %1$s!', - 'succunpromote' => 'Successfully un-promoted onion-Address!', + 'succremove' => 'Successfully removed onion address!', + 'succreadd' => 'Successfully re-added onion address!', + 'succlock' => 'Successfully locked onion address!', + 'succunlock' => 'Successfully unlocked onion address!', + 'succpromote' => 'Successfully promoted onion address until %1$s!', + 'succunpromote' => 'Successfully un-promoted onion address!', 'succaddphish' => 'Successfully added Phishing clone!', 'samephish' => 'Not added Phishing clone! Phishing and original have the same address.', 'succrmphish' => 'Successfully removed Phishing clone!', 'noaction' => 'No action taken!', 'wrongpass' => 'Wrong Pass!', 'testtitle' => 'Online-Test', - 'testdesc' => 'Here an Onion-Address can be tested, for whether it is online or not.', + 'testdesc' => 'Here an onion address can be tested, for whether it is online or not.', 'testonline' => 'Yes, the service is online!', 'testoffline' => 'No, the service is offline!', 'testphishing' => 'Warning, this is a known phishing clone. The original site is located at %s.', @@ -71,5 +71,7 @@ $I=[ 'rejected' => 'Rejected', 'reject' => 'Reject', 'approve' => 'Approve', + 'succreject' => 'Successfully rejected onion address', + 'succapprove' => 'Successfully approved onion address', 'switchviewmode' => 'Switch view mode', ]; diff --git a/www/admin.php b/www/admin.php index 57a80ed..8a26107 100644 --- a/www/admin.php +++ b/www/admin.php @@ -205,10 +205,10 @@ if(!isset($_POST['pass']) || $_POST['pass']!==ADMINPASS){ echo "

$I[succrmphish]

"; } elseif ( $_POST[ 'action' ] === $I[ 'reject' ] ) { //lock editing $db->prepare( 'UPDATE ' . PREFIX . 'onions SET approved=-1 WHERE md5sum=?;' )->execute( [ $md5 ] ); - echo "

$I[succlock]

"; + echo "

$I[succreject]

"; } elseif ( $_POST[ 'action' ] === $I[ 'approve' ] ) { //lock editing $db->prepare( 'UPDATE ' . PREFIX . 'onions SET approved=1 WHERE md5sum=?;' )->execute( [ $md5 ] ); - echo "

$I[succlock]

"; + echo "

$I[succapprove]

"; } else { //no specific button was pressed echo "

$I[noaction]

"; }