rendered paste body<?phpclass rightModule extends CMSModule { function rightModule() { $this->setName("Right Module"); $this->setID("right"); } function rightEdit() { $ret = "<form method='post' action='?module=right&mode=editsubmit'>\n"; $ret .= "<input type='text' name='random' />\n"; $ret .= "<input type='submit' name='submit' value='Submit' />\n"; $ret .= "</form>\n"; return $ret; } function rightEditSubmit() { $ret = "You put \"".$_POST['random']."\" in the text field"; return $ret; } function drawSideBar() { $ret = "So, latest news would go here or something.<br />\n"; $ret .= "<br /><a href='?module=right&mode=edit'>Edit Something</a>"; return $ret; } function drawMainContent() { }}?>