From 647741fde035e84723a1df760d8d19ad17e47ea4 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 26 Mar 2014 17:23:22 +0100 Subject: [PATCH] Added report function for user profiles --- com.woltlab.wcf/objectType.xml | 6 + com.woltlab.wcf/templates/moderationUser.tpl | 13 ++ com.woltlab.wcf/templates/user.tpl | 10 +- .../files/lib/data/user/User.class.php | 36 +++- ...UserModerationQueueReportHandler.class.php | 161 ++++++++++++++++++ wcfsetup/install/lang/de.xml | 2 + wcfsetup/install/lang/en.xml | 2 + 7 files changed, 228 insertions(+), 2 deletions(-) create mode 100644 com.woltlab.wcf/templates/moderationUser.tpl create mode 100644 wcfsetup/install/files/lib/system/moderation/queue/report/UserModerationQueueReportHandler.class.php diff --git a/com.woltlab.wcf/objectType.xml b/com.woltlab.wcf/objectType.xml index 0824bfb07d..bc9bcb8645 100644 --- a/com.woltlab.wcf/objectType.xml +++ b/com.woltlab.wcf/objectType.xml @@ -45,6 +45,12 @@ 1 + + com.woltlab.wcf.user + com.woltlab.wcf.moderation.report + wcf\system\moderation\queue\report\UserModerationQueueReportHandler + + com.woltlab.wcf.user.UserPage diff --git a/com.woltlab.wcf/templates/moderationUser.tpl b/com.woltlab.wcf/templates/moderationUser.tpl new file mode 100644 index 0000000000..552bafa59f --- /dev/null +++ b/com.woltlab.wcf/templates/moderationUser.tpl @@ -0,0 +1,13 @@ +
+
    + {include file='userListItem'} +
+
+ + diff --git a/com.woltlab.wcf/templates/user.tpl b/com.woltlab.wcf/templates/user.tpl index 2592ad8e94..306d9ef8e3 100644 --- a/com.woltlab.wcf/templates/user.tpl +++ b/com.woltlab.wcf/templates/user.tpl @@ -7,7 +7,8 @@ - + + {event name='javascriptInclude'}