$browser = $elxis->obj('browser')->getBrowser();if ($browser['mobile'] == true) { //include the mobile layout} else { //include the standard layout}
<?xml version="1.0"?><package type="template" section="backend"> <name>ba</name> <title>Ba</title> <created>2012-04-06 19:39:00</created> <author>Elxis Team</author> <authoremail>info@elxis.org</authoremail> <authorurl>https://www.elxis.org</authorurl> <copyright>(C) 2006-2012 Elxis.org. All rights reserved</copyright> <license>Elxis Public License</license> <licenseurl>https://www.elxis.org/elxis-public-license.html</licenseurl> <link></link> <version>1.0</version> <description><![CDATA[Iris is a pre-installed template for Elxis 4.x administration area.]]></description> <dependencies> <package type="core" version="4.x">elxis</package> </dependencies> <params /></package>