From 2894214347953f0d8f288ae1999688f2396d67a5 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 4 Nov 2017 12:08:12 +0000 Subject: [PATCH] Misspelled "detailed" --- mod/ping.php | 2 +- mod/settings.php | 8 ++++---- view/templates/settings.tpl | 2 +- view/theme/frio/templates/settings.tpl | 2 +- view/theme/frost-mobile/templates/settings.tpl | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mod/ping.php b/mod/ping.php index 924b3058f..0027acd2b 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -478,7 +478,7 @@ function ping_get_notifications($uid) if ($notification["visible"] && !$notification["spam"] && !$notification["deleted"] && !is_array($result[$notification["parent"]])) { - if (PConfig::get(local_user(), 'system', 'detailled_notif')) { + if (PConfig::get(local_user(), 'system', 'detailed_notif')) { $result[$notification["id"]] = $notification; } else { $result[$notification["parent"]] = $notification; diff --git a/mod/settings.php b/mod/settings.php index d677f52a8..679b5e31e 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -436,7 +436,7 @@ function settings_post(App $a) { $post_profilechange = (($_POST['post_profilechange'] == 1) ? 1: 0); $email_textonly = (($_POST['email_textonly'] == 1) ? 1 : 0); - $detailled_notif = (($_POST['detailled_notif'] == 1) ? 1 : 0); + $detailed_notif = (($_POST['detailed_notif'] == 1) ? 1 : 0); $notify = 0; @@ -562,7 +562,7 @@ function settings_post(App $a) { PConfig::set(local_user(), 'system', 'post_profilechange', $post_profilechange); PConfig::set(local_user(), 'system', 'email_textonly', $email_textonly); - PConfig::set(local_user(), 'system', 'detailled_notif', $detailled_notif); + PConfig::set(local_user(), 'system', 'detailed_notif', $detailed_notif); if ($page_flags == PAGE_PRVGROUP) { $hidewall = 1; @@ -1335,8 +1335,8 @@ function settings_content(App $a) { PConfig::get(local_user(), 'system', 'email_textonly'), t('Send text only notification emails, without the html part')), - '$detailled_notif' => array('detailled_notif', t('Show detailled notifications'), - PConfig::get(local_user(), 'system', 'detailled_notif'), + '$detailed_notif' => array('detailed_notif', t('Show detailled notifications'), + PConfig::get(local_user(), 'system', 'detailed_notif'), t('Per default the notificiation are condensed to a single notification per item. When enabled, every notification is displayed.')), '$h_advn' => t('Advanced Account/Page Type Settings'), diff --git a/view/templates/settings.tpl b/view/templates/settings.tpl index 4d05ea764..099014f13 100644 --- a/view/templates/settings.tpl +++ b/view/templates/settings.tpl @@ -135,7 +135,7 @@ {{include file="field_checkbox.tpl" field=$email_textonly}} -{{include file="field_checkbox.tpl" field=$detailled_notif}} +{{include file="field_checkbox.tpl" field=$detailed_notif}}