Esempio n. 1
0
	public function imageAction() {
		$this->common();
		$this->tinyMCE();
			
		if (isset($this->view->form)) {
			return;
		}
		
		if ($this->_bookmarklet) {
			$source		= StuffpressModel::forUser($this->_application->user->id);
			$this->view->images = Stuffpress_Services_Webparse::getImages($this->_bkurl);
			$this->view->form = $this->getFormImage($source->getID(), 0, $this->_bktitle, $this->_bktext, false, false);
		} else {
			$this->view->form = $this->getForm('image');
		}
	}