Beispiel #1
0
 protected function buildInternal()
 {
     parent::buildInternal();
     $ds = new SwatDetailsStore($this->tag);
     $ds->photo_count = $this->tag->getPhotoCount();
     $details_view = $this->ui->getWidget('details_view');
     $details_view->data = $ds;
     $details_frame = $this->ui->getWidget('details_frame');
     $details_frame->title = Pinhole::_('Tag');
     $details_frame->subtitle = $this->tag->title;
     $this->ui->getWidget('for_sale')->visible = $this->ui->getWidget('not_for_sale')->visible = $this->ui->getWidget('for_sale_divider')->visible = $this->app->config->clustershot->username !== null;
     $this->buildToolbar();
 }