Documentation

Languages


Languages

get_msg
It get the word in the selected language. If the word isn't found it return $msg.

get_msg( "inser_your_name" );

 

get_lang
Return the selected language

get_lang();

 

load_lang
Loads the selected file for the selected language

load_file( "user" );

 

draw_msg
Draw a message with style, depending the status of the message (SUCCESS, WARNING, ERROR, INFO)

draw_msg( "info saved", SUCCESS, $close = true, $autoclose = 5 );