Committer: akanashin
LJSUP-14427: Remove SMS notification functionality for Tajikistan and KazakhstanU trunk/htdocs/manage/profile/index.bml
Modified: trunk/htdocs/manage/profile/index.bml =================================================================== --- trunk/htdocs/manage/profile/index.bml 2012-12-03 09:30:50 UTC (rev 23402) +++ trunk/htdocs/manage/profile/index.bml 2012-12-03 13:04:25 UTC (rev 23403) @@ -640,16 +640,12 @@ $ret .= "var supportedDEF = [" . join(',', keys %{$LJ::SMSRU{provider_by_code_def}}) . "];"; $ret .= "var smsCountry = '$country';"; - my $prefix = ''; - $prefix = '.kz' if $country eq 'KZ'; - $prefix = '.tj' if $country eq 'TJ'; - my $dict_out = LJ::JSON->to_json({ 'sendsmsbut' => $ML{'.section.textmsg.button'}, 'resendsmsbut' => $ML{'.section.textmsg.button.resend'}, - 'initial' => $ML{'.section.textmsg.info' . $prefix}, - 'badNum' => $ML{'.section.textmsg.info.badnum' . $prefix}, - 'unsupporteddef' => $ML{'.section.textmsg.info.unsupporteddef' . $prefix}, + 'initial' => $ML{'.section.textmsg.info'}, + 'badNum' => $ML{'.section.textmsg.info.badnum'}, + 'unsupporteddef' => $ML{'.section.textmsg.info.unsupporteddef'}, map { $_ => $ML{".section.textmsg.info.$_"} } qw( already_use correctNum requestsent smssent