protected function build_groupinfo(rsContainer $Tabs, rsContainer $Container) { $Tabs->subordinate('li', 'Info'); $Page = new rsPage($this->groupdata['docid'], $this->db); $Container->swallow($Page->get_content()); }
protected function build_captcha(rsContainer $Container, $theme = "white") { require_once 'recaptchalib.php'; $Container->swallow('<script type="text/javascript"> var RecaptchaOptions = {theme:"' . $theme . '"}; </script>')->swallow(recaptcha_get_html(CAPTCHAKEY_PUBLIC)); }