- = __('Your OPML can be published publicly and can be subscribed by anyone who knows the URL below.') ?>
- = __("Published OPML does not include your Tiny Tiny RSS settings, feeds that require authentication or feeds hidden from Popular feeds.") ?>
-
+ = format_notice("Your OPML can be published and then subscribed by anyone who knows the URL below. This won't include your settings nor authenticated feeds.") ?>
@@ -1032,14 +1030,16 @@ class Pref_Feeds extends Handler_Protected {
private function index_shared() {
?>
-
= __('Published articles can be subscribed by anyone who knows the following URL:') ?>
+ = format_notice('Published articles can be subscribed by anyone who knows the following URL:') ?>
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index ea9e6a967..592bdb705 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -384,7 +384,7 @@ class Pref_Prefs extends Handler_Protected {
}
private function index_auth_app_passwords() {
- print_notice("You can create separate passwords for API clients. Using one is required if you enable OTP.");
+ print_notice("Separate passwords used for API clients. Required if you enable OTP.");
?>
@@ -454,15 +454,9 @@ class Pref_Prefs extends Handler_Protected {
} else {
- print_notice("You will need to generate app passwords for the API clients if you enable OTP.");
+ print "";
- if (function_exists("imagecreatefromstring")) {
- print "
" . __("Scan the following code by the Authenticator application or copy the key manually") . "
";
- print "";
- } else {
- print_error("PHP GD functions are required to generate QR codes.");
- print "
" . __("Use the following OTP key with a compatible Authenticator application") . "
";
- }
+ print_notice("You will need to generate app passwords for API clients if you enable OTP.");
$otp_secret = UserHelper::get_otp_secret($_SESSION["uid"]);
?>
diff --git a/plugins/share/init.php b/plugins/share/init.php
index 452fc6252..8145d51ee 100644
--- a/plugins/share/init.php
+++ b/plugins/share/init.php
@@ -47,9 +47,10 @@ class Share extends Plugin {
?>
-
= __("You can disable all articles shared by unique URLs here.") ?>
+ = format_notice("You can disable all articles shared by unique URLs here.") ?>