Use UserOption::getTitle() where possible
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 12 Apr 2021 09:53:43 +0000 (11:53 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 12 Apr 2021 09:53:43 +0000 (11:53 +0200)
commit868940e75a8c29b50c20dc1e39ae5383ee5652b1
tree803085f3dbfd667609f7c6d87c89da640cc0246e
parent0342373bb5de5aaab0364b792891fab7705c8eef
Use UserOption::getTitle() where possible

Not all places could be adjusted for compatibility reasons, as the `Option`
super class does not have the `getTitle()` method and as the prefix is given
explicitly.

Helper methods for the description should also be added.

see #4107
com.woltlab.wcf/templates/optionFieldList.tpl
com.woltlab.wcf/templates/userOptionFieldList.tpl
com.woltlab.wcf/templates/userProfileAbout.tpl
com.woltlab.wcf/templates/userProfileOptionFieldList.tpl
wcfsetup/install/files/acp/templates/optionFieldList.tpl
wcfsetup/install/files/acp/templates/userSearch.tpl