diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-04-30 15:39:19 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-04-30 15:39:19 -0400 |
commit | 8155bc5a9dbbe5ad6a9ceb722baf4587db8f3689 (patch) | |
tree | 324ad875d965ac2877a7b8e207509b392738e8bf /phpBB/includes | |
parent | 850741ee16d7505069829bed35f90c599ef73369 (diff) | |
download | forums-8155bc5a9dbbe5ad6a9ceb722baf4587db8f3689.tar forums-8155bc5a9dbbe5ad6a9ceb722baf4587db8f3689.tar.gz forums-8155bc5a9dbbe5ad6a9ceb722baf4587db8f3689.tar.bz2 forums-8155bc5a9dbbe5ad6a9ceb722baf4587db8f3689.tar.xz forums-8155bc5a9dbbe5ad6a9ceb722baf4587db8f3689.zip |
[ticket/10067] Clarify language for user activation options in ACP.
PHPBB3-10067
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_board.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php index a5e80e1f6d..8f7d08cc8f 100644 --- a/phpBB/includes/acp/acp_board.php +++ b/phpBB/includes/acp/acp_board.php @@ -770,12 +770,18 @@ class acp_board global $user, $config; $radio_ary = array(USER_ACTIVATION_DISABLE => 'ACC_DISABLE', USER_ACTIVATION_NONE => 'ACC_NONE'); + $radio_text = h_radio('config[require_activation]', $radio_ary, $value, $key); if ($config['email_enable']) { - $radio_ary += array(USER_ACTIVATION_SELF => 'ACC_USER', USER_ACTIVATION_ADMIN => 'ACC_ADMIN'); + $radio_ary = array(USER_ACTIVATION_SELF => 'ACC_USER', USER_ACTIVATION_ADMIN => 'ACC_ADMIN'); + // With longer labels the four options no longer fit + // onto a single line. Separate them onto two lines. + // This also requires two h_radio calls to generate HTML. + $radio_text .= '<br /><br />'; + $radio_text .= h_radio('config[require_activation]', $radio_ary, $value, $key); } - return h_radio('config[require_activation]', $radio_ary, $value, $key); + return $radio_text; } /** |