Ejemplo n.º 1
0
 public function display($tpl = null)
 {
     $this->t = PhocaGalleryUtils::setVars('cp');
     $this->views = array('imgs' => $this->t['l'] . '_IMAGES', 'cs' => $this->t['l'] . '_CATEGORIES', 't' => $this->t['l'] . '_THEMES', 'ra' => $this->t['l'] . '_CATEGORY_RATING', 'raimg' => $this->t['l'] . '_IMAGE_RATING', 'cos' => $this->t['l'] . '_CATEGORY_COMMENTS', 'coimgs' => $this->t['l'] . '_IMAGE_COMMENTS', 'users' => $this->t['l'] . '_USERS', 'fbs' => $this->t['l'] . '_FB', 'tags' => $this->t['l'] . '_TAGS', 'efs' => $this->t['l'] . '_STYLES', 'in' => $this->t['l'] . '_INFO');
     JHTML::stylesheet($this->t['s']);
     //JHTML::_('behavior.tooltip');
     $this->t['version'] = PhocaGalleryRenderInfo::getPhocaVersion();
     $this->addToolbar();
     parent::display($tpl);
 }