<?php

class AdminPanelView extends Slot {

	var $ModuleID = 3;
	var $SectionID = 3;

	function __construct($pquery) {
		parent::__construct($pquery);
		//$this->Cache = FALSE;
		//$this->Passing = TRUE;
	}

	function init() {
		//if($this->Action->isAuthorizeAdmin()) {
			//$this->Action->processEvent($this->SectionID,'open_admin',array('id' => $this->Action->Security->currentuser->id),$this);
		//}
	}

	function fillElements() {
		/*if(!empty($this->PreparedTemplates) && empty($this->PreparedTemplates['_error'])) {
			//printArray($this->PreparedTemplates);
			$this->TempFillEls['admin'][] = array(
				'id' => $this->PreparedTemplates['id'],
				'username' => $this->PreparedTemplates['username'],
				'first_name' => $this->PreparedTemplates['first_name'],
				'last_name' => $this->PreparedTemplates['last_name'],
			);
		}
		$this->PreparedTemplates = $this->Action->clearTemplate($this->SectionID,'open_admin');
		*/
	}
}
?>