Misspelled "detailed"
This commit is contained in:
parent
7de3eae8d0
commit
2894214347
|
@ -478,7 +478,7 @@ function ping_get_notifications($uid)
|
||||||
|
|
||||||
if ($notification["visible"] && !$notification["spam"] &&
|
if ($notification["visible"] && !$notification["spam"] &&
|
||||||
!$notification["deleted"] && !is_array($result[$notification["parent"]])) {
|
!$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;
|
$result[$notification["id"]] = $notification;
|
||||||
} else {
|
} else {
|
||||||
$result[$notification["parent"]] = $notification;
|
$result[$notification["parent"]] = $notification;
|
||||||
|
|
|
@ -436,7 +436,7 @@ function settings_post(App $a) {
|
||||||
$post_profilechange = (($_POST['post_profilechange'] == 1) ? 1: 0);
|
$post_profilechange = (($_POST['post_profilechange'] == 1) ? 1: 0);
|
||||||
|
|
||||||
$email_textonly = (($_POST['email_textonly'] == 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;
|
$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', 'post_profilechange', $post_profilechange);
|
||||||
|
|
||||||
PConfig::set(local_user(), 'system', 'email_textonly', $email_textonly);
|
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) {
|
if ($page_flags == PAGE_PRVGROUP) {
|
||||||
$hidewall = 1;
|
$hidewall = 1;
|
||||||
|
@ -1335,8 +1335,8 @@ function settings_content(App $a) {
|
||||||
PConfig::get(local_user(), 'system', 'email_textonly'),
|
PConfig::get(local_user(), 'system', 'email_textonly'),
|
||||||
t('Send text only notification emails, without the html part')),
|
t('Send text only notification emails, without the html part')),
|
||||||
|
|
||||||
'$detailled_notif' => array('detailled_notif', t('Show detailled notifications'),
|
'$detailed_notif' => array('detailed_notif', t('Show detailled notifications'),
|
||||||
PConfig::get(local_user(), 'system', 'detailled_notif'),
|
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.')),
|
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'),
|
'$h_advn' => t('Advanced Account/Page Type Settings'),
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{include file="field_checkbox.tpl" field=$email_textonly}}
|
{{include file="field_checkbox.tpl" field=$email_textonly}}
|
||||||
{{include file="field_checkbox.tpl" field=$detailled_notif}}
|
{{include file="field_checkbox.tpl" field=$detailed_notif}}
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{include file="field_checkbox.tpl" field=$email_textonly}}
|
{{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
|
{{* commented out because it was commented out in the original template
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{include file="field_checkbox.tpl" field=$email_textonly}}
|
{{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>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue