Extra fields are available before creating a user. Add 'getSMSPluginName' function. Now 'sms_type' is got dynamically. Edit translation files - refs BT#8939
$strings['plugin_comment'] = "When enabled and an email sent successfully, a text message is sent to the user.";
$strings['api_key'] = "Kannel SMS key";
$strings['api_key_help'] = "This is the Kannel SMS server security key. <atarget='_blank'href='http://www.kannelsms.com/platforms/chamilo/'>Click here</a> to get it.";
$strings['tool_enable'] = "Enable SMS sending";
$strings['tool_enable_help'] = "Choose if you want to enable SMS sending tool.
Once enabled, they will be sent along with an email the selected SMS message types to the users who had filled their mobile phone number field in their profile<br/>";
$strings['type'] = "Send SMS when";
$strings['mobile_phone_number'] = "Mobile Phone (include country dialing code only)";
$strings['hostAddress'] = "Host address";
$strings['hostAddress_help'] = "This is the address where your SMS gateway is hosted. Example: http://mobilegateway.com/tools/gateways/smssender";
$strings['username'] = "Username";
$strings['password'] = "Password";
$strings['from'] = "Sender mobile number";
$strings['sms_types'] = "Send SMS when";
$strings['mobile_phone_number'] = "Mobile";
$strings['MessageWelcomeXLoginXPasswordX'] = "A user is added to the platform";
$strings['MessageXNewFileSharedCourseXByX'] = "A file is added to dropbox";
$strings['plugin_comment'] = "Ofrece la posibilidad de enviar SMS a celulares cuando se envían e-mails de notificación.";
$strings['api_key'] = "Clave Kannel SMS";
$strings['api_key_help'] = "Ésta es la clave de seguridad de su servidor Kannel SMS. Para obtenerla, <atarget='_blank'href='http://www.kannelsms.com/platforms/chamilo/'>haga click aquí</a>";
$strings['tool_enable'] = "Activar envío de SMS";
$strings['tool_enable_help'] = "Escoja si desea activar la herramienta de envío de mensajes a celulares Kannel SMS.
Una vez activada, se enviarán, simultaneamente con los correos, los tipos mensajes SMS seleccionados a los usuarios que hayan especificado un número de celular en su perfil.<br/>";
$strings['hostAddress'] = "Dirección del servidor";
$strings['hostAddress_help'] = "Ésta es la dirección en donde se aloja su pasarela de SMS. Ejemplo: http://mobilegateway.com/tools/gateways/smssender";
$strings['username'] = "Nombre de usuario";
$strings['password'] = "Contraseña";
$strings['from'] = "Número de móvil remitente";
$strings['sms_types'] = "Enviar un SMS cuando";
$strings['mobile_phone_number'] = "Celular (incluya sólo el código de llamada del país)";
$strings['mobile_phone_number'] = "Móvil";
$strings['MessageWelcomeXLoginXPasswordX'] = "Se añada un usuario a la plataforma";
$strings['MessageXNewFileSharedCourseXByX'] = "Un archivo se añada a dropbox";