case 'up': $tab = 1; break; case 'cc': default: $tab = 0; break; } echo '<div> </div>'; if ($this->tmpl['displaytabs'] > 0) { echo '<div id="phocagallery-pane">'; $pane =& JPane::getInstance('Tabs', array('startOffset' => $this->tmpl['tab'])); echo $pane->startPane('pane'); echo $pane->startPanel(JHtml::_('image', $this->tmpl['pi'] . 'icon-user.' . $this->tmpl['fi'], '') . ' ' . JText::_('COM_PHOCAGALLERY_USER'), 'user'); echo $this->loadTemplate('user'); echo $pane->endPanel(); echo $pane->startPanel(JHtml::_('image', $this->tmpl['pi'] . 'icon-folder-small.' . $this->tmpl['fi'], '') . ' ' . $this->tmpl['categorycreateoredithead'], 'category'); echo $this->loadTemplate('category'); echo $pane->endPanel(); echo $pane->startPanel(JHtml::_('image', $this->tmpl['pi'] . 'icon-subcategories.' . $this->tmpl['fi'], '') . ' ' . JText::_('COM_PHOCAGALLERY_SUBCATEGORIES'), 'subcategories'); echo $this->loadTemplate('subcategories'); echo $pane->endPanel(); echo $pane->startPanel(JHtml::_('image', $this->tmpl['pi'] . 'icon-images.' . $this->tmpl['fi'], '') . ' ' . JText::_('COM_PHOCAGALLERY_IMAGES'), 'images'); echo $this->loadTemplate('images'); echo $pane->endPanel(); echo $pane->endPane(); echo '</div>'; } echo '<div> </div>'; echo PhocaGalleryRenderFront::renderInfo(); echo '</div>';