Location: PHPKode > projects > AModules3 > amodules-3.0.1/mini-apps/02-DBver_control/page/AddScript.php
<?php
/*
 * Created on 03.05.2006 by *Camper*
 */
class page_AddScript extends Page{
	function init(){
		$app_id=$_GET['application_id'];
		if(!$app_id)$app_id=$this->api->recall('application_id');
		$this->frame('Content', "Add script for '".$this->api->getAppName($app_id)."'")
			->add('FormScript', null, 'content');
	}
	function defaultTemplate(){
		return array('addscript', '_top');
	}
}
Return current item: AModules3