guiAssign('strings', $strings); } function initPages($params) { //do nothing $this->guiAssign('zoneUrl', $this->getZoneUrl()); } function pageDefault($params) { //do nothing $month = (int)date('m'); $year = date('Y'); BaseRedirect(zone_expenses::makePath($year, $month)); } function pageTest($params) { //$editor = &getGuiControl('editor', 'test'); //$this->guiAssign('editor', $editor); $this->guiDisplay('test.tpl'); } function postTest($params) { dump_r(getRawPost('test')); dump_r(getPostText('test')); $html = getPostHTML('test'); dump_r($html); sql_query("insert into test (text) values('$html')"); } function pagePdfTest($params) { global $strings; $budgetList = Category::getBudgetList(9, 2006); $pdf = &new SmartPdf(); $pdf->addDivParser(new ChartParser()); $pdf->addParser(new ChartObjectParser()); $pdf->assign('html', 'hello'); $pdf->assign('categories', $budgetList); $pdf->assign('strings', $strings); $pdf->display('default/test.tpl'); } function pageTestAutoComplete($inPath) { $options = array("listvalue"); $answer = '