|
|
@@ -2255,7 +2255,7 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
|
|
|
|
|
|
return array(
|
|
|
'entry_sample' => $CNF['T']['txt_sample_single_ext'],
|
|
|
- 'entry_url' => '{bx_url_root}' . $this->_oConfig->getItemViewUrl($aContent, false),
|
|
|
+ 'entry_url' => bx_absolute_url($this->_oConfig->getItemViewUrl($aContent, false), '{bx_url_root}'),
|
|
|
'entry_caption' => $sEntryCaption,
|
|
|
'entry_author' => $iEntryAuthor,
|
|
|
'lang_key' => '' //may be empty or not specified. In this case the default one from Notification module will be used.
|
|
|
@@ -2297,11 +2297,11 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
|
|
|
|
|
|
return array(
|
|
|
'entry_sample' => $CNF['T']['txt_sample_single'],
|
|
|
- 'entry_url' => '{bx_url_root}' . $this->_oConfig->getItemViewUrl($aContent, false),
|
|
|
+ 'entry_url' => bx_absolute_url($this->_oConfig->getItemViewUrl($aContent, false), '{bx_url_root}'),
|
|
|
'entry_caption' => $sEntryCaption,
|
|
|
'entry_author' => $aContent['owner_id'],
|
|
|
'subentry_sample' => $CNF['T']['txt_sample_comment_single'],
|
|
|
- 'subentry_url' => '{bx_url_root}' . $oComment->getViewUrl((int)$aEvent['subobject_id'], false),
|
|
|
+ 'subentry_url' => bx_absolute_url($oComment->getViewUrl((int)$aEvent['subobject_id'], false), '{bx_url_root}'),
|
|
|
'lang_key' => '', //may be empty or not specified. In this case the default one from Notification module will be used.
|
|
|
);
|
|
|
}
|
|
|
@@ -2343,11 +2343,11 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
|
|
|
return array(
|
|
|
'object_id' => $iObjectId,
|
|
|
'entry_sample' => '_cmt_txt_sample_comment_single',
|
|
|
- 'entry_url' => '{bx_url_root}' . $oComment->getViewUrl($iParentId, false),
|
|
|
+ 'entry_url' => bx_absolute_url($oComment->getViewUrl($iParentId, false), '{bx_url_root}'),
|
|
|
'entry_caption' => strmaxtextlen($aParentInfo['cmt_text'], 20, '...'),
|
|
|
'entry_author' => (int)$aParentInfo['cmt_author_id'],
|
|
|
'subentry_sample' => '_cmt_txt_sample_reply_to',
|
|
|
- 'subentry_url' => '{bx_url_root}' . $oComment->getViewUrl((int)$aEvent['subobject_id'], false),
|
|
|
+ 'subentry_url' => bx_absolute_url($oComment->getViewUrl((int)$aEvent['subobject_id'], false), '{bx_url_root}'),
|
|
|
'lang_key' => '', //may be empty or not specified. In this case the default one from Notification module will be used.
|
|
|
);
|
|
|
}
|
|
|
@@ -2387,7 +2387,7 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
|
|
|
|
|
|
return array(
|
|
|
'entry_sample' => $CNF['T']['txt_sample_single'],
|
|
|
- 'entry_url' => '{bx_url_root}' . $this->_oConfig->getItemViewUrl($aContent, false),
|
|
|
+ 'entry_url' => bx_absolute_url($this->_oConfig->getItemViewUrl($aContent, false), '{bx_url_root}'),
|
|
|
'entry_caption' => $sEntryCaption,
|
|
|
'entry_author' => $aContent['owner_id'],
|
|
|
'subentry_sample' => $CNF['T']['txt_sample_vote_single'],
|
|
|
@@ -2426,7 +2426,7 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
|
|
|
|
|
|
return array(
|
|
|
'entry_sample' => $CNF['T']['txt_sample_single'],
|
|
|
- 'entry_url' => '{bx_url_root}' . $this->_oConfig->getItemViewUrl($aContent, false),
|
|
|
+ 'entry_url' => bx_absolute_url($this->_oConfig->getItemViewUrl($aContent, false), '{bx_url_root}'),
|
|
|
'entry_caption' => $sEntryCaption,
|
|
|
'entry_author' => $aContent['owner_id'],
|
|
|
'subentry_sample' => $CNF['T']['txt_sample_reaction_single'],
|
|
|
@@ -2499,7 +2499,7 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
|
|
|
|
|
|
return array(
|
|
|
'entry_sample' => $CNF['T']['txt_sample_single'],
|
|
|
- 'entry_url' => '{bx_url_root}' . $this->_oConfig->getItemViewUrl($aContent, false),
|
|
|
+ 'entry_url' => bx_absolute_url($this->_oConfig->getItemViewUrl($aContent, false), '{bx_url_root}'),
|
|
|
'entry_caption' => $sEntryCaption,
|
|
|
'entry_author' => $aContent['owner_id'],
|
|
|
'subentry_sample' => $CNF['T']['txt_sample_score_' . $sType . '_single'],
|