Skip to content

Commit

Permalink
Merge pull request #6 from Erftralle/imp-header-1
Browse files Browse the repository at this point in the history
Small improvement in header layout
  • Loading branch information
Chraneco committed Jul 8, 2015
2 parents 01db054 + dfb60d0 commit ee4e034
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,14 @@ public static function tip($text = 'Tooltip', $title = null, $addclass = false,
</div>
<div class="span6">
<?php if($displayData->params->get('show_header_search')): ?>
<form action="<?php echo JRoute::_('index.php?view=search'); ?>" method="post" class="navbar-search pull-right">
<label for="jg-search-box" class="sr-only hidden"><?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH'); ?></label>
<input title="<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH'); ?>" type="text" name="sstring" id="jg-search-box" class="search-query form-control" onblur="if(this.value=='') this.value='<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH', true); ?>';" onfocus="if(this.value=='<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH', true); ?>') this.value='';" value="<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH'); ?>" placeholder="<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH'); ?>" />
</form>
<div class="row-fluid">
<div class="span12">
<form action="<?php echo JRoute::_('index.php?view=search'); ?>" method="post" class="navbar-search pull-right">
<label for="jg-search-box" class="sr-only hidden"><?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH'); ?></label>
<input title="<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH'); ?>" type="text" name="sstring" id="jg-search-box" class="search-query form-control" onblur="if(this.value=='') this.value='<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH', true); ?>';" onfocus="if(this.value=='<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH', true); ?>') this.value='';" value="<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH'); ?>" placeholder="<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH'); ?>" />
</form>
</div>
</div>
<?php endif;
if($displayData->params->get('show_header_allpics', 1) || $displayData->params->get('show_header_allhits', 0)): ?>
<div class="row-fluid">
Expand Down

0 comments on commit ee4e034

Please sign in to comment.