/** * Get the posted content for a text area * */ static function SectionFromPost_Text(&$section) { global $config; $content =& $_POST['gpcontent']; gpFiles::cleanText($content); $section['content'] = $content; if ($config['resize_images']) { gp_edit::ResizeImages($section['content'], $section['resized_imgs']); } return true; }
/** * Used by slideshow addons * @deprecated 3.6rc4 * */ function SaveSection_Text($section) { global $config; $content =& $_POST['gpcontent']; gpFiles::cleanText($content); $this->file_sections[$section]['content'] = $content; if ($config['resize_images']) { gp_edit::ResizeImages($this->file_sections[$section]['content'], $this->file_sections[$section]['resized_imgs']); } return true; }