?
Path : /home/admin/public_html/old/board/components/com_joomgallery/views/detail/tmpl/ |
Current File : /home/admin/public_html/old/board/components/com_joomgallery/views/detail/tmpl/default_header.php |
<?php defined('_JEXEC') or die('Direct Access to this location is not allowed.'); ?> <div class="gallery"> <?php if($this->params->get('show_page_title', 1)): ?> <div class="componentheading<?php echo $this->params->get('pageclass_sfx') ?>"> <?php echo $this->escape($this->params->get('page_title')); ?> </div> <?php endif; if($this->params->get('show_top_modules', 0)): ?> <div class="jg_topmodules"> <?php foreach($this->modules['top'] as $module): ?> <div class="jg_topmodule"> <?php echo $module->rendered; ?> </div> <?php endforeach; ?> </div> <?php endif; if($this->params->get('show_header_pathway', 0)): ?> <div class="jg_pathway" > <a href="<?php echo JRoute::_('index.php') ;?>"> <?php echo JHTML::_('joomgallery.icon', 'home.png', 'JGS_COMMON_HOME', 'hspace="6" border="0" align="middle"'); ?></a> <?php echo $this->pathway; ?> </div> <?php endif; if($this->params->get('show_header_search', 0)): ?> <div class="jg_search"> <form action="<?php echo JRoute::_('index.php?view=search'); ?>" method="post"> <input title="<?php echo JText::_('JGS_COMMON_SEARCH', true) ;?>" type="text" name="sstring" class="inputbox" onblur="if(this.value=='') this.value='<?php echo JText::_('JGS_COMMON_SEARCH', true) ;?>';" onfocus="if(this.value=='<?php echo JText::_('JGS_COMMON_SEARCH', true) ;?>') this.value='';" value="<?php echo JText::_('JGS_COMMON_SEARCH') ;?>" /> </form> </div> <?php endif; if($this->params->get('show_header_backlink')): ?> <div class="jg_back"> <a href="<?php echo $this->backtarget; ?>"> <?php echo $this->backtext; ?></a> </div> <?php endif; if($this->params->get('show_mygal')): ?> <div class="jg_mygal"> <a href="<?php echo JRoute::_('index.php?option=com_joomgallery&view=userpanel') ;?>"> <?php echo JText::_('JGS_COMMON_USER_PANEL') ;?> </a> </div> <?php endif; if($this->params->get('show_mygal_no_access')): ?> <div class="jg_mygal"> <span class="jg_no_access<?php echo JHTML::_('joomgallery.tip', 'JGS_COMMON_MSG_YOU_ARE_NOT_LOGGED', 'JGS_COMMON_USER_PANEL'); ?>"> <?php echo JText::_('JGS_COMMON_USER_PANEL'); ?> </span> </div> <?php endif; if($this->params->get('show_favourites', 0)): ?> <div class="jg_my_favourites"> <?php switch($this->params->get('show_favourites', 1)): case 1: ?> <a href="<?php echo JRoute::_('index.php?option=com_joomgallery&view=favourites'); ?>"<?php echo JHTML::_('joomgallery.tip', 'JGS_COMMON_DOWNLOADZIP_DOWNLOAD_TIPTEXT', 'JGS_COMMON_DOWNLOADZIP_MY', true); ?>><?php echo JText::_('JGS_COMMON_DOWNLOADZIP_MY'); ?> <?php echo JHTML::_('joomgallery.icon', 'basket.png', 'JGS_COMMON_DOWNLOADZIP_MY'); ?> </a> <?php break; case 2: ?> <a href="<?php echo JRoute::_('index.php?option=com_joomgallery&view=favourites'); ?>"<?php echo JHTML::_('joomgallery.tip', $this->params->get('favourites_tooltip_text'), JText::_('JGS_COMMON_FAVOURITES_MY'), true, false); ?>><?php echo JText::_('JGS_COMMON_FAVOURITES_MY'); ?> <?php echo JHTML::_('joomgallery.icon', 'star.png', 'JGS_COMMON_FAVOURITES_MY'); ?> </a> <?php break; case 3: ?> <span class="jg_no_access<?php echo JHTML::_('joomgallery.tip', 'JGS_COMMON_DOWNLOADZIP_DOWNLOAD_NOT_ALLOWED_TIPTEXT', 'JGS_COMMON_DOWNLOADZIP_MY'); ?>"><?php echo JText::_('JGS_COMMON_DOWNLOADZIP_MY'); ?> <?php echo JHTML::_('joomgallery.icon', 'basket_gr.png', 'JGS_COMMON_DOWNLOADZIP_MY'); ?> </span> <?php break; case 4: ?> <span class="jg_no_access<?php echo JHTML::_('joomgallery.tip', 'JGS_COMMON_FAVOURITES_DOWNLOAD_NOT_ALLOWED_TIPTEXT', 'JGS_COMMON_FAVOURITES_MY'); ?>"><?php echo JText::_('JGS_COMMON_FAVOURITES_MY'); ?> <?php echo JHTML::_('joomgallery.icon', 'star_gr.png', 'JGS_COMMON_FAVOURITES_MY'); ?> </span> <?php break; case 5: ?> <a href="<?php echo JRoute::_('index.php?task=createzip'); ?>"<?php echo JHTML::_('joomgallery.tip', 'JGS_DOWNLOADZIP_CREATE_TIPTEXT', 'JGS_DOWNLOADZIP_DOWNLOAD', true); ?>><?php echo JText::_('JGS_DOWNLOADZIP_DOWNLOAD'); ?> <?php echo JHTML::_('joomgallery.icon', 'package_go.png', 'JGS_DOWNLOADZIP_DOWNLOAD'); ?> </a> <?php break; default: break; endswitch; ?> </div> <?php endif; if($this->params->get('show_header_allpics', 0) || $this->params->get('show_header_allhits', 0)): ?> <div class="jg_gallerystats"> <?php if($this->params->get('show_header_allpics', 0)): ?> <?php echo JText::sprintf('JGS_COMMON_NUMB_IMAGES_ALL_CATEGORIES', $this->numberofpics); ?> <?php if($this->params->get('show_header_allhits', 0)): ?> <br /> <?php endif; endif; if($this->params->get('show_header_allhits', 0)): ?> <?php echo JText::sprintf('JGS_COMMON_NUMB_HITS_ALL_IMAGES', $this->numberofhits); ?> <?php endif; ?> </div> <?php endif; if($this->params->get('show_header_toplist', 0)): ?> <div class="jg_toplist"> <?php JHTML::_('joomgallery.toplistbar');?> </div> <?php endif; ?>