Misspelled "detailed"

This commit is contained in:
Michael 2017-11-04 12:08:12 +00:00
parent 7de3eae8d0
commit 2894214347
5 changed files with 8 additions and 8 deletions

View file

@ -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;

View file

@ -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'),

View file

@ -135,7 +135,7 @@
</div>
{{include file="field_checkbox.tpl" field=$email_textonly}}
{{include file="field_checkbox.tpl" field=$detailled_notif}}
{{include file="field_checkbox.tpl" field=$detailed_notif}}
<!--

View file

@ -194,7 +194,7 @@
</div>
{{include file="field_checkbox.tpl" field=$email_textonly}}
{{include file="field_checkbox.tpl" field=$detailled_notif}}
{{include file="field_checkbox.tpl" field=$detailed_notif}}
{{* commented out because it was commented out in the original template
<div class="field">

View file

@ -131,7 +131,7 @@
</div>
{{include file="field_checkbox.tpl" field=$email_textonly}}
{{include file="field_checkbox.tpl" field=$detailled_notif}}
{{include file="field_checkbox.tpl" field=$detailed_notif}}
</div>