/***************************************************************************
 * 
 *  Name: Empty Template
 *  URI: http://jcore.net/
 *  Description: This is an empty template with only a Main Content 
block and should be only used as the start setup for developing new 
templates. You could think of this theme as a reset template for 
jCore with minimal setup and the required css definitions already 
set so you can start customizing/creating your own template. This 
template is  UNLICENSED meaning you can do whatever you want with 
it, please see http://unlicense.org/ or MIT License 
http://en.wikipedia.org/wiki/MIT_License where unlicense isn't 
juristicaly recognized.
 *  Author: Istvan Petres
 *  Version: 1.1
 *  Tags: empty template, default, white, unlicensed
 * 
 ****************************************************************************/
 
class templateInstaller extends template {
	// This will be automatically set when activating template so 
	// you can use it to associate with blocks or other things
	var $templateID = 0;
	
	function installSQL() {
		sql::run(
			" INSERT INTO `{blocks}` SET" .
			" `Title` = 'Main Content'," .
			" `BlockID` = 'main-content'," .
			" `TypeID` = '".BLOCK_TYPE_MAIN_CONTENT."'," .
			" `TemplateID` = '".$this->templateID."'," .
			" `OrderID` = '1'");
		
		if (sql::error())
			return false;
		
		return true;
	}
	
	function installFiles() {
		return true;
	}
}