Skip to content

Commit

Permalink
Fixed problem with duplicated titles in the muscistate style.
Browse files Browse the repository at this point in the history
  • Loading branch information
dziudek committed Sep 24, 2014
1 parent 045ee74 commit 9b81971
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mod_image_show_gk4/styles/gk_musicstate/view.php
Expand Up @@ -72,7 +72,9 @@
<?php if($this->config['config']->gk_musicstate->gk_musicstate_show_title_block && $title != '') : ?>
<figcaption<?php echo ' style="color: '.$this->config['config']->gk_musicstate->gk_musicstate_title_block_color.';"'; ?>>
<h2><?php echo $title; ?></h2>
<?php if($this->config['image_show_data'][$i]->type == "text") : ?>
<p><?php echo $content; ?></p>
<?php endif; ?>
<a href="<?php echo $link; ?>"><?php echo JText::_('MOD_IMAGE_SHOW_MUSIC_STATE_READMORE'); ?></a>
</figcaption>
<?php endif; ?>
Expand Down Expand Up @@ -101,4 +103,4 @@
<?php endif; ?>
<?php endfor; ?>
</ul>
</div>
</div>

0 comments on commit 9b81971

Please sign in to comment.