From: Alexander Ebert Date: Thu, 26 Jan 2012 16:16:39 +0000 (+0100) Subject: Fixed mass processing form X-Git-Tag: 2.0.0_Beta_1~1388^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c506993e041baa4a96437552391c5481a6de6db;p=GitHub%2FWoltLab%2FWCF.git Fixed mass processing form --- diff --git a/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl b/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl index 80f4666304..d6c90d1e00 100644 --- a/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl +++ b/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl @@ -1,67 +1,62 @@ {include file='header'} - - @@ -96,12 +91,6 @@
-
@@ -151,33 +140,31 @@ {event name='fieldsets'} {hascontent} - - - - - {if $options|count} - - {/if} - - {event name='tabMenuContent'} +
+ + + {if $options|count} + + {/if} + + {event name='tabMenuContent'} +
{/hascontent} @@ -195,17 +182,17 @@
{if $__wcf->session->getPermission('admin.user.canMailUser')} - - + + {/if} {if $__wcf->session->getPermission('admin.user.canEditUser')} - + {/if} {if $__wcf->session->getPermission('admin.user.canDeleteUser')} - + {/if} - {if $additionalActions|isset}{@$additionalActions}{/if} + {event name='additionalActions'} {if $errorField == 'action'} @@ -281,8 +268,8 @@ {lang}wcf.acp.user.exportEmailAddress.fileType{/lang}
-
-
+
+
diff --git a/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php b/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php index eedbb91bd3..0ad28dd7fe 100644 --- a/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UsersMassProcessingForm.class.php @@ -345,7 +345,7 @@ class UsersMassProcessingForm extends UserOptionListForm { } } - $this->options = $this->getCategoryOptions('profile'); + $this->options = $this->optionHandler->getCategoryOptions('profile'); } /** @@ -388,9 +388,6 @@ class UsersMassProcessingForm extends UserOptionListForm { // check master password WCFACP::checkMasterPassword(); - // get user options and categories from cache - $this->readCache(); - // show form parent::show(); } @@ -398,14 +395,16 @@ class UsersMassProcessingForm extends UserOptionListForm { /** * @see wcf\system\option\ISearchableOptionType::getSearchFormElement() */ + /* protected function getFormElement($type, &$optionData) { return $this->getTypeObject($type)->getSearchFormElement($optionData); - } + }*/ /** * @see wcf\acp\form\AbstractOptionListForm::checkOption() */ + /* protected static function checkOption(Option $option) { return ($option->searchable == 1 && !$option->disabled && ($option->visible == 3 || $option->visible < 2)); - } + }*/ }