<script data-relocate="true">
$(function() {
new WCF.User.Panel.Notification({
- markAllAsReadConfirmMessage: '{lang}wcf.user.notification.markAllAsConfirmed.confirmMessage{/lang}',
noItems: '{lang}wcf.user.notification.noMoreNotifications{/lang}',
settingsLink: '{link controller='NotificationSettings' encode=false}{/link}',
showAllLink: '{link controller='NotificationList' encode=false}{/link}',
new WCF.User.Panel.Moderation({
deletedContent: '{lang}wcf.moderation.showDeletedContent{/lang}',
deletedContentLink: '{link controller='DeletedContentList' encode=false}{/link}',
- markAllAsReadConfirmMessage: '{lang}wcf.moderation.markAllAsRead.confirmMessage{/lang}',
noItems: '{lang}wcf.moderation.noMoreItems{/lang}',
showAllLink: '{link controller='ModerationList' encode=false}{/link}',
title: '{lang}wcf.moderation.moderation{/lang}'
<a href="#" id="userPanelSearchButton" class="jsTooltip" title="{lang}wcf.global.search{/lang}"><span class="icon icon32 fa-search"></span> <span>{lang}wcf.global.search{/lang}</span></a>
</li>
</ul>
-</nav>
\ No newline at end of file
+</nav>
if (this._options.enableMarkAsRead) {
var $outstandingItems = this._dropdown.getItemList().children('.interactiveDropdownItemOutstanding');
- if (this._markAllAsReadLink === null && $outstandingItems.length && this._options.markAllAsReadConfirmMessage) {
+ if (this._markAllAsReadLink === null && $outstandingItems.length) {
var $button = this._markAllAsReadLink = $('<li class="interactiveDropdownItemMarkAllAsRead"><a href="#" title="' + WCF.Language.get('wcf.user.panel.markAllAsRead') + '" class="jsTooltip"><span class="icon icon24 fa-check" /></a></li>').appendTo(this._dropdown.getLinkList());
$button.click((function (event) {
this._dropdown.close();
- WCF.System.Confirmation.show(this._options.markAllAsReadConfirmMessage, (function (action) {
- if (action === 'confirm') {
- this._markAllAsRead();
- }
- }).bind(this));
+ this._markAllAsRead();
return false;
}).bind(this));
<item name="wcf.moderation.outstandingItems"><![CDATA[Ausstehende Einträge]]></item>
<item name="wcf.moderation.doneItems"><![CDATA[Erledigte Einträge]]></item>
<item name="wcf.moderation.lastChangeTime"><![CDATA[Letzte Änderung]]></item>
- <item name="wcf.moderation.markAllAsRead.confirmMessage"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} wirklich alle Einträge als gelesen markieren?]]></item>
<item name="wcf.moderation.moderation"><![CDATA[Moderation]]></item>
<item name="wcf.moderation.noMoreItems"><![CDATA[Keine weiteren Einträge]]></item>
<item name="wcf.moderation.notification.comment.title"><![CDATA[Neuer Kommentar (Moderation)]]></item>
<item name="wcf.moderation.outstandingItems"><![CDATA[Pending Items]]></item>
<item name="wcf.moderation.doneItems"><![CDATA[Resolved Items]]></item>
<item name="wcf.moderation.lastChangeTime"><![CDATA[Last Change]]></item>
- <item name="wcf.moderation.markAllAsRead.confirmMessage"><![CDATA[Do you really want to mark all entries as read?]]></item>
<item name="wcf.moderation.moderation"><![CDATA[Moderation]]></item>
<item name="wcf.moderation.noMoreItems"><![CDATA[You have no recent items.]]></item>
<item name="wcf.moderation.notification.comment.title"><![CDATA[New comment (Moderation)]]></item>