optimize getRemoteLmlPhp function; the display method add one parameter to set the template to displayed;

optimize getRemoteLmlPhp function; the display method add one parameter
to set the template to displayed;