From f277d540972d7bd7f407d6b0d1aa17a88fe5ed3c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 17 Nov 2011 20:54:38 +0100 Subject: [PATCH] User-options now working again. --- .../install/files/acp/templates/userAdd.tpl | 139 ++++++------------ .../acp/form/AbstractOptionListForm.class.php | 8 +- .../files/lib/acp/form/UserAddForm.class.php | 20 +-- .../files/lib/acp/form/UserEditForm.class.php | 23 +-- .../lib/acp/form/UserOptionListForm.class.php | 23 ++- .../files/lib/acp/page/UserListPage.class.php | 32 +--- .../files/lib/data/user/UserAction.class.php | 9 +- .../lib/data/user/option/UserOption.class.php | 42 ++++++ .../system/option/IOptionHandler.class.php | 5 +- .../lib/system/option/OptionHandler.class.php | 70 +++++---- .../option/user/UserOptionHandler.class.php | 50 +++++++ 11 files changed, 239 insertions(+), 182 deletions(-) create mode 100644 wcfsetup/install/files/lib/system/option/user/UserOptionHandler.class.php diff --git a/wcfsetup/install/files/acp/templates/userAdd.tpl b/wcfsetup/install/files/acp/templates/userAdd.tpl index 0b80f93a34..7660d4c22b 100644 --- a/wcfsetup/install/files/acp/templates/userAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userAdd.tpl @@ -1,52 +1,10 @@ {include file='header'} - -{if $userID|isset} - - - -{/if} @@ -187,68 +145,65 @@ {if $additionalFields|isset}{@$additionalFields}{/if} {if $optionTree|count || $additionalTabs|isset} -