=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js 2012-03-21 02:20:05 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js 2012-04-04 04:27:11 +0000 @@ -460,6 +460,7 @@ }, "SMSConfig" : { "pollingInterval" : { + "required" : true, "digits" : true }, "serverPhoneNumber" : { === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/resources/org/hisp/dhis/mobile/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/resources/org/hisp/dhis/mobile/i18n_module.properties 2012-04-03 03:17:19 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/resources/org/hisp/dhis/mobile/i18n_module.properties 2012-04-04 04:27:11 +0000 @@ -60,6 +60,8 @@ service_stopped=SMS Service is stopped service_stopping=SMS Service is stopping message_not_sent=Message not sent +message=Message +phone_number=Phone number please_select_a_gateway_type_to_send_sms=Please specify a gateway to send SMS service_stopped_cannot_send_sms=Service is stopped, can't send SMS please_verify_phone=Please verify phone number(s). Separate them by the semicolon (;) === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/sendSMSPage.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/sendSMSPage.vm 2012-04-03 03:17:19 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/sendSMSPage.vm 2012-04-04 04:27:11 +0000 @@ -8,6 +8,7 @@ toggleSMSGUI( false ); }); + var i18n_no_recipient = '$encoder.jsEscape( $i18n.getString( "no_recipient" ) , "'")'; var i18n_please_verify_phone = '$encoder.jsEscape( $i18n.getString( "please_verify_phone" ) , "'")'; var i18n_please_select_orgunit = '$encoder.jsEscape( $i18n.getString( "please_select_orgunit" ) , "'")'; @@ -45,7 +46,7 @@