# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: W:\www\dev\components\com_comprofiler\plugin\user\plug_cbcore # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php +++ components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php @@ -3500,7 +3500,13 @@ // build the html select list $lists['block'] = moscomprofilerHTML::yesnoSelectList( 'block', 'class="inputbox" size="1"', $user->block ); - $lists['approved'] = moscomprofilerHTML::yesnoSelectList( 'approved', 'class="inputbox" size="1"', $user->approved ); \ No newline at end of file + + $list_approved = array(); + $list_approved[] = moscomprofilerHTML::makeOption( '0', CBTxt::T( 'Unapproved' ) ); + $list_approved[] = moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Approved' ) ); + $list_approved[] = moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Disapproved' ) ); + $lists['approved'] = moscomprofilerHTML::selectList( $list_approved, 'approved', 'class="inputbox" size="1"', 'value', 'text', $user->approved, 2, false ); + \ No newline at end of file $lists['confirmed'] = moscomprofilerHTML::yesnoSelectList( 'confirmed', 'class="inputbox" size="1"', $user->confirmed ); // build the html select list $lists['sendEmail'] = moscomprofilerHTML::yesnoSelectList( 'sendEmail', 'class="inputbox" size="1"', $user->sendEmail );