summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/SampleLayout.php
blob: a2d6f6586f0a8eee78973701c8d4fe67a23f5942 (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();
	}
}

?>