| 1 |
<p> |
| 2 |
<label for="send_error_logs">{Help the developer with error logs and usage stats}:</label> |
| 3 |
<input type="checkbox" name="send_error_logs" id="send_error_logs" value="1" {selectedSendErrorLogs}> |
| 4 |
<BR/> {Sends the developer your debug log when an error occurs, plus a status ping at most once a week (once the plugin's been active 5+ days) with your site's version, URL, and 404/redirect counts. Counts are aggregate only, never per-URL. Optional - helps fix bugs and prioritize development. Reports are reviewed daily.} |
| 5 |
</p> |
| 6 |
|
| 7 |
<p> |
| 8 |
<label for="default_redirect">{Default redirect type}:</label> |
| 9 |
<select name="default_redirect" id="default_redirect"> |
| 10 |
<option value="301" {selectedDefaultRedirect301}>{Permanent 301}</option> |
| 11 |
<option value="302" {selectedDefaultRedirect302}>{Temporary 302}</option> |
| 12 |
<option value="307" {selectedDefaultRedirect307}>{Temporary 307 (preserve method)}</option> |
| 13 |
<option value="308" {selectedDefaultRedirect308}>{Permanent 308 (preserve method)}</option> |
| 14 |
</select> |
| 15 |
</p> |
| 16 |
<p> |
| 17 |
<label for="capture_404">{Collect incoming 404 URLs}:</label> |
| 18 |
<input type="checkbox" name="capture_404" id="capture_404" value="1" {selectedCapture404}> |
| 19 |
</p> |
| 20 |
<p> |
| 21 |
<label for="admin_notification">{Admin notification level}:</label> |
| 22 |
<input type="text" name="admin_notification" id="admin_notification" value="{admin_notification}" style="width: 50px;"> {Captured URLs (0 Disables Notification)} |
| 23 |
<BR/> {Display a WordPress admin notification when the number of captured URLs goes above this number} |
| 24 |
</p> |
| 25 |
<p> |
| 26 |
<label for="admin_notification_email">{Admin notification email(s)}:</label> |
| 27 |
<input type="text" name="admin_notification_email" id="admin_notification_email" value="{admin_notification_email}" style="width: 500px;"> |
| 28 |
<BR/> {When the number of captured 404s would cause an admin notification, an email will be sent to the addresses specified here. Multiple email addresses can be separated by commas (,). The "from" email address is always the default WordPress admin email:} |
| 29 |
<span style="font-weight: bold;">{default_wordpress_admin_email}</span>. |
| 30 |
{One email will be sent per day (when maintenance is run) until the number of captured 404s goes below the number specified in the alert settings.} |
| 31 |
</p> |
| 32 |
<p> |
| 33 |
<label for="admin_notification_frequency">{Email notification frequency}:</label> |
| 34 |
<select name="admin_notification_frequency" id="admin_notification_frequency"> |
| 35 |
<option value="instant" {selectedNotifyInstant}>{Instant (when threshold exceeded)}</option> |
| 36 |
<option value="daily" {selectedNotifyDaily}>{Daily digest}</option> |
| 37 |
<option value="weekly" {selectedNotifyWeekly}>{Weekly digest}</option> |
| 38 |
<option value="never" {selectedNotifyNever}>{Never}</option> |
| 39 |
</select> |
| 40 |
<BR/> {Choose how often to receive email notifications about captured 404s.} |
| 41 |
</p> |
| 42 |
<p> |
| 43 |
<label for="capture_deletion">{Delete captured 404 URLs after}:</label> |
| 44 |
<input type="text" name="capture_deletion" id="capture_deletion" value="{capture_deletion}" style="width: 50px;"> {days without use (0 to disable)} |
| 45 |
<BR/> {Removes captured 404 URLs if they haven't been used for the specified amount of time.} |
| 46 |
</p> |
| 47 |
<p> |
| 48 |
<label for="manual_deletion">{Delete manual redirects after}:</label> |
| 49 |
<input type="text" name="manual_deletion" id="manual_deletion" value="{manual_deletion}" style="width: 50px;"> {days without use (0 to disable)} |
| 50 |
<BR/> {Removes manually created redirects if they haven't been used for the specified amount of time. Does not affect automatically created redirects.} |
| 51 |
</p> |
| 52 |
<p> |
| 53 |
<label for="maximum_log_disk_usage">{Maximum log disk usage (MB)}:</label> |
| 54 |
<input type="text" name="maximum_log_disk_usage" id="maximum_log_disk_usage" value="{maximum_log_disk_usage}" style="width: 50px;"> |
| 55 |
<BR/> {Keeps the most recent (and deletes the oldest) log records when the disk usage reaches this limit.} |
| 56 |
<BR/> {Current approximate log disk usage}: {logCurrentSizeDiskUsage} {MB} ({logCurrentRowCount} {rows}). {Earliest log date}: {earliestLogDate}. {Cleanup is done daily.} |
| 57 |
</p> |
| 58 |
<p> |
| 59 |
<label for="remove_matches">{Remove redirect upon matching permalink}:</label> |
| 60 |
<input type="checkbox" value="1" name="remove_matches" id="remove_matches" {selectedRemoveMatches}> |
| 61 |
<BR/> {Checks each redirect for a new matching permalink before the user is redirected. If a new page permalink is found matching the redirected URL then the redirect will be deleted.} |
| 62 |
</p> |
| 63 |
<p> |
| 64 |
<label for="menuLocation">{The 404 Solution menu should appear}:</label> |
| 65 |
<select name="menuLocation" id="menuLocation"> |
| 66 |
<option value="underSettings" {selectedUnderSettings}>{Under the Settings menu}</option> |
| 67 |
<option value="settingsLevel" {selecteSsettingsLevel}>{At the same level as the Settings and Tools menu}</option> |
| 68 |
</select> |
| 69 |
<BR/> {Choose whether the 404 Settings link appears under the "Settings" menu or elsewhere.} |
| 70 |
</p> |
| 71 |
<p> |
| 72 |
<label for="admin_theme">{Admin theme}:</label> |
| 73 |
<select name="admin_theme" id="admin_theme"> |
| 74 |
<option value="default" {selectedThemeDefault}>{theme_default}</option> |
| 75 |
<option value="calm" {selectedThemeCalm}>{Calm Ops (Light)}</option> |
| 76 |
<option value="mono" {selectedThemeMono}>{Monochrome Minimal (Light)}</option> |
| 77 |
<option value="neon" {selectedThemeNeon}>{Neon Slate (Dark)}</option> |
| 78 |
<option value="obsidian" {selectedThemeObsidian}>{Obsidian Blue (Dark)}</option> |
| 79 |
</select> |
| 80 |
<BR/> {Choose the color theme for the admin pages. The theme changes immediately for preview, and will be saved when you click "Save Settings".} |
| 81 |
</p> |
| 82 |
<p> |
| 83 |
<label for="plugin_language_override">{Plugin Language Override}:</label> |
| 84 |
<select name="plugin_language_override" id="plugin_language_override"> |
| 85 |
<option value="" {selectedLanguageDefault}>{Use WordPress Default}</option> |
| 86 |
<option value="en_US" {selectedLanguageEnUS}>English (United States)</option> |
| 87 |
<option value="de_DE" {selectedLanguageDeDE}>Deutsch (German)</option> |
| 88 |
<option value="es_ES" {selectedLanguageEsES}>Español (Spanish)</option> |
| 89 |
<option value="fr_FR" {selectedLanguageFrFR}>Français (French)</option> |
| 90 |
<option value="it_IT" {selectedLanguageItIT}>Italiano (Italian)</option> |
| 91 |
<option value="pt_BR" {selectedLanguagePtBR}>Português (Portuguese - Brazil)</option> |
| 92 |
<option value="nl_NL" {selectedLanguageNlNL}>Nederlands (Dutch)</option> |
| 93 |
<option value="ru_RU" {selectedLanguageRuRU}>Русский (Russian)</option> |
| 94 |
<option value="ja" {selectedLanguageJa}>日本語 (Japanese)</option> |
| 95 |
<option value="zh_CN" {selectedLanguageZhCN}>简体中文 (Chinese Simplified)</option> |
| 96 |
<option value="id_ID" {selectedLanguageIdID}>Bahasa Indonesia (Indonesian)</option> |
| 97 |
<option value="sv_SE" {selectedLanguageSvSE}>Svenska (Swedish)</option> |
| 98 |
</select> |
| 99 |
<BR/> {Override the language used for this plugin's admin interface. Leave on "Use WordPress Default" to respect WordPress and user language settings.} |
| 100 |
</p> |
| 101 |
<p> |
| 102 |
<label for="disable_auto_dark_mode"> |
| 103 |
<input type="checkbox" name="disable_auto_dark_mode" id="disable_auto_dark_mode" value="1" {disableAutoDarkModeChecked}/> |
| 104 |
{Disable automatic dark mode detection} |
| 105 |
</label> |
| 106 |
<BR/> {When unchecked and theme is set to "Default", the plugin will automatically switch to a dark theme if your WordPress admin color scheme is dark (Midnight, Ectoplasm, Coffee), if you have a dark mode plugin enabled, or if your browser/OS prefers dark mode.} |
| 107 |
</p> |
| 108 |
|