protected function addImageStyle()
    {
        $this->controlAccess('image_style_add');

        if ($this->image_style->add($this->getSubmitted())) {
            $this->redirect('admin/settings/imagestyle', $this->text('Image style has been added'), 'success');
        }

        $this->redirect('', $this->text('Image style has not been added'), 'warning');
    }
protected function addImageStyle()
    {
        $this->controlAccess('image_style_add');

        if ($this->image_style->add($this->getSubmitted())) {
            $this->redirect('admin/settings/imagestyle', $this->text('Image style has been added'), 'success');
        }

        $this->redirect('', $this->text('Image style has not been added'), 'warning');
    }
protected function addImageStyle ( ) { $ this -> controlAccess ( 'image_style_add' ) ; if ( $ this -> image_style -> add ( $ this -> getSubmitted ( ) ) ) { $ this -> redirect ( 'admin/settings/imagestyle' , $ this -> text ( 'Image style has been added' ) , 'success' ) ; } $ this -> redirect ( '' , $ this -> text ( 'Image style has not been added' ) , 'warning' ) ; }
Adds a new image style
Adds a new image style