summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/SampleLayout.php
blob: a89b905d2fbd95a3cf671675de7a2f860520bb89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

class SampleLayout extends TTemplateControl
{
	public function __construct()
	{
		if(isset($this->Request['notheme']))
			$this->Service->RequestedPage->EnableTheming=false;
		parent::__construct();
	}
}

?>