@@ -127,7 +127,7 @@ |
||
| 127 | 127 | $message->subject = I18N::translate('RE: ') . $message->subject; |
| 128 | 128 | } |
| 129 | 129 | if ($user) { |
| 130 | - $content .= '<a class="btn btn-secondary" href="message.php?to=' . Filter::escapeUrl($message->sender) . '&subject=' . Filter::escapeUrl($message->subject) . '&ged=' . $WT_TREE->getNameUrl() .'" title="' . I18N::translate('Reply') .'">' . I18N::translate('Reply') . '</a> '; |
|
| 130 | + $content .= '<a class="btn btn-secondary" href="message.php?to=' . Filter::escapeUrl($message->sender) . '&subject=' . Filter::escapeUrl($message->subject) . '&ged=' . $WT_TREE->getNameUrl() . '" title="' . I18N::translate('Reply') . '">' . I18N::translate('Reply') . '</a> '; |
|
| 131 | 131 | } |
| 132 | 132 | $content .= '<button type="button" onclick="if (confirm(\'' . I18N::translate('Are you sure you want to delete this message? It cannot be retrieved later.') . '\')) {$(\'#messageform :checkbox\').prop(\'checked\', false); $(\'#cb_message' . $message->message_id . '\').prop(\'checked\', true); document.messageform.submit();}">' . I18N::translate('Delete') . '</button></div></td></tr>'; |
| 133 | 133 | } |
@@ -109,7 +109,8 @@ discard block |
||
| 109 | 109 | </option> |
| 110 | 110 | </select> |
| 111 | 111 | </td> |
| 112 | - <?php else: ?> |
|
| 112 | + <?php else { |
|
| 113 | + : ?> |
|
| 113 | 114 | <td class="descriptionbox wrap"></td> |
| 114 | 115 | <td class="optionbox wrap"></td> |
| 115 | 116 | <?php endif ?> |
@@ -133,6 +134,7 @@ discard block |
||
| 133 | 134 | <?php |
| 134 | 135 | foreach (['10', '20', '30', '40', '50', '75', '100', '125', '150', '200'] as $selectEntry) { |
| 135 | 136 | echo '<option value="', $selectEntry, '" '; |
| 137 | +} |
|
| 136 | 138 | if ($selectEntry == $max) { |
| 137 | 139 | echo 'selected'; |
| 138 | 140 | } |