=== 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 @@ - $i18n.getString( "organisation_unit" ) + $i18n.getString( "org_unit_tree" ) @@ -58,7 +59,7 @@ - $i18n.getString( "phone" ): + $i18n.getString( "phone_number" ): === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/smsServiceConfiguration.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/smsServiceConfiguration.vm 2012-03-23 04:01:16 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/smsServiceConfiguration.vm 2012-04-04 04:27:11 +0000 @@ -24,8 +24,6 @@ actionType = "start"; jQuery( "#startStopButton" ).attr( "value", i18n_start_sms_service ); #end - - //alert(actionType); } ); var i18n_confirm_delete = '$encoder.jsEscape( $i18n.getString( "confirm_delete_gateway" ) , "'")'; @@ -73,11 +71,11 @@ $i18n.getString("polling_interval_in_seconds"): - + $i18n.getString("server_phone_number"): - +