private function crop() { if ($_POST) { $testimonial = $this->get_testimonial(); if (1 == $testimonial->lock) { die('This testimonial is locked and can no longer be edited.'); } die($testimonial->save_crop($this->owner->apikey, explode('|', $_POST['params']))); } # display the crop view. die(t_build::crop_view($this->owner->apikey, $this->form_url . "&a=crop")); }
public function crop() { if ($_POST) { echo $this->get_testimonial()->save_crop($this->owner->apikey, explode('|', $_POST['params'])); die; } # display the crop view. die(t_build::crop_view($this->owner->apikey)); }