====== getTemplate ======
{#JAPI Joomla.Framework Application JApplication::getTemplate #}
Gets the name of the current template. The value returned by the JApplication class itself is '_system'. The $mainframe object is actually an instance of the JSite class, which extends JApplication and overrides this method to return a string containing the name of the current template.
===== Syntax =====
string getTemplate ()
===== Examples =====
global $mainframe;
echo $mainframe->getTemplate();
might produce
rhuk_milkyway
----
~~DISCUSSION~~