protected function buildInternal() { parent::buildInternal(); $this->ui->getWidget('tag_menu')->setTagList($this->tag_list); $this->ui->getWidget('tag_menu')->base = $this->app->config->pinhole->path; $this->buildTags(); }
protected function buildInternal() { parent::buildInternal(); $this->buildDateTagBrowser(); $this->buildPhotoPagination(); $this->buildGeoTagLink(); $view = $this->ui->getWidget('photo_view'); $view->model = $this->getPhotoTableStore(); $view->getGroup('publish_period')->visible = count($this->tag_list) == 0 && $this->app->config->pinhole->browser_index_upload_dates; if (count($this->tag_list) > 0) { $this->layout->data->html_title .= $this->tag_list->getAsList(); } }
protected function buildInternal() { parent::buildInternal(); $this->buildDetailsView(); $this->buildComments(); $this->buildLayout(); $this->buildPhotoNextPrev(); ob_start(); $title = $this->photo->getTitle(); if ($title != '') { $h1 = new SwatHtmlTag('h1'); $h1->setContent($title); $h1->display(); } if ($this->photo->description != '') { // Set to text/xml for now pending review in ticket #1159. $div = new SwatHtmlTag('div'); $div->setContent($this->photo->description, 'text/xml'); $div->display(); } $description = $this->ui->getWidget('description'); $description->content_type = 'text/xml'; $description->content = ob_get_clean(); $username = $this->app->config->clustershot->username; if ($this->photo->for_sale && $username !== null) { $this->appendForSaleLink($description); } }
protected function buildInternal() { parent::buildInternal(); $this->buildLayout(); }