From a3c37f145817407df28e9ffea6a83a6cd2b31cdd Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 5 May 2015 03:56:10 -0700 Subject: first pass name change --- include/enotify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/enotify.php') diff --git a/include/enotify.php b/include/enotify.php index e801c3100..aef8e83e0 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -56,7 +56,7 @@ function notification($params) { push_lang($recip['account_language']); // should probably have a channel language $banner = t('Red Matrix Notification'); - $product = t('redmatrix'); // RED_PLATFORM; + $product = t('hubzilla'); // RED_PLATFORM; $siteurl = $a->get_baseurl(true); $thanks = t('Thank You,'); $sitename = get_config('system','sitename'); -- cgit v1.2.3 From 5b5f0666f9addc4b2c0cd69495d9fe8f76011ee2 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 5 May 2015 03:59:51 -0700 Subject: second pass name change --- include/enotify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/enotify.php') diff --git a/include/enotify.php b/include/enotify.php index aef8e83e0..08ab8175d 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -55,7 +55,7 @@ function notification($params) { push_lang($recip['account_language']); // should probably have a channel language - $banner = t('Red Matrix Notification'); + $banner = t('Hubzilla Notification'); $product = t('hubzilla'); // RED_PLATFORM; $siteurl = $a->get_baseurl(true); $thanks = t('Thank You,'); -- cgit v1.2.3 From 25b599a4bd831f175572c2388754e8734a255d77 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 6 May 2015 21:03:33 -0700 Subject: convert ITEM_WALL from bitfield to standalone --- include/enotify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/enotify.php') diff --git a/include/enotify.php b/include/enotify.php index 08ab8175d..3f54c6915 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -171,7 +171,7 @@ function notification($params) { $item_post_type); // "your post" - if($p[0]['owner']['xchan_name'] == $p[0]['author']['xchan_name'] && ($p[0]['item_flags'] & ITEM_WALL)) + if($p[0]['owner']['xchan_name'] == $p[0]['author']['xchan_name'] && intval($p[0]['item_wall'])) $dest_str = sprintf(t('%1$s, %2$s commented on [zrl=%3$s]your %4$s[/zrl]'), $recip['channel_name'], '[zrl=' . $sender['xchan_url'] . ']' . $sender['xchan_name'] . '[/zrl]', -- cgit v1.2.3 From d6f98e651170827453a27fec367f0f8059f3a002 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 13 May 2015 16:01:00 -0700 Subject: product was a bad string to use because we may require it for e-commerce, and RED_PLATFORM is equally problematic for other reasons. --- include/enotify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/enotify.php') diff --git a/include/enotify.php b/include/enotify.php index e801c3100..b5495dc7c 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -56,7 +56,7 @@ function notification($params) { push_lang($recip['account_language']); // should probably have a channel language $banner = t('Red Matrix Notification'); - $product = t('redmatrix'); // RED_PLATFORM; + $product = t('redmatrix'); // PLATFORM_NAME; $siteurl = $a->get_baseurl(true); $thanks = t('Thank You,'); $sitename = get_config('system','sitename'); -- cgit v1.2.3