|
@@ -262,7 +262,7 @@ discard block |
|
|
block discarded – undo |
|
262
|
262
|
AND a.is_read = 0' : '') . (!empty($alertIDs) ? ' |
|
263
|
263
|
AND a.id_alert IN ({array_int:alertIDs})' : '') . ' |
|
264
|
264
|
ORDER BY id_alert DESC' . (!empty($limit) ? ' |
|
265
|
|
- LIMIT {int:limit}' : '') . (!empty($offset) ?' |
|
|
265
|
+ LIMIT {int:limit}' : '') . (!empty($offset) ? ' |
|
266
|
266
|
OFFSET {int:offset}' : ''), |
|
267
|
267
|
array( |
|
268
|
268
|
'id_member' => $memID, |
|
@@ -1101,20 +1101,20 @@ discard block |
|
|
block discarded – undo |
|
1101
|
1101
|
$context['posts'][$key]['quickbuttons'] = array( |
|
1102
|
1102
|
'reply' => array( |
|
1103
|
1103
|
'label' => $txt['reply'], |
|
1104
|
|
- 'href' => $scripturl.'?action=post;topic='.$post['topic'].'.'.$post['start'], |
|
|
1104
|
+ 'href' => $scripturl . '?action=post;topic=' . $post['topic'] . '.' . $post['start'], |
|
1105
|
1105
|
'icon' => 'reply_button', |
|
1106
|
1106
|
'show' => $post['can_reply'] |
|
1107
|
1107
|
), |
|
1108
|
1108
|
'quote' => array( |
|
1109
|
1109
|
'label' => $txt['quote_action'], |
|
1110
|
|
- 'href' => $scripturl.'?action=post;topic='.$post['topic'].'.'.$post['start'].';quote='.$post['id'], |
|
|
1110
|
+ 'href' => $scripturl . '?action=post;topic=' . $post['topic'] . '.' . $post['start'] . ';quote=' . $post['id'], |
|
1111
|
1111
|
'icon' => 'quote', |
|
1112
|
1112
|
'show' => $post['can_quote'] |
|
1113
|
1113
|
), |
|
1114
|
1114
|
'remove' => array( |
|
1115
|
1115
|
'label' => $txt['remove'], |
|
1116
|
|
- 'href' => $scripturl.'?action=deletemsg;msg='.$post['id'].';topic='.$post['topic'].';profile;u='.$context['member']['id'].';start='.$context['start'].';'.$context['session_var'].'='.$context['session_id'], |
|
1117
|
|
- 'javascript' => 'data-confirm="'.$txt['remove_message'].'" class="you_sure"', |
|
|
1116
|
+ 'href' => $scripturl . '?action=deletemsg;msg=' . $post['id'] . ';topic=' . $post['topic'] . ';profile;u=' . $context['member']['id'] . ';start=' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id'], |
|
|
1117
|
+ 'javascript' => 'data-confirm="' . $txt['remove_message'] . '" class="you_sure"', |
|
1118
|
1118
|
'icon' => 'remove_button', |
|
1119
|
1119
|
'show' => $post['can_delete'] |
|
1120
|
1120
|
) |