Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

! Finalizing header bard updates.

  • Loading branch information...
commit 77367d8ed2213af2ffcf3405c470a758fe7e4da0 1 parent 8bb6ca7
@silentguardian silentguardian authored
View
11 smf2/Themes/default/Portal.template.php
@@ -107,7 +107,6 @@ function template_block($block)
{
global $context, $txt;
- // Make sure that we have some valid block data.
if (empty($block) || empty($block['type']))
return;
@@ -173,15 +172,17 @@ function template_block_curve($block)
if (empty($block['style']['no_title']))
{
echo '
- <h3 class="', $block['style']['title']['class'], '"', !empty($block['style']['title']['style']) ? ' style="' . $block['style']['title']['style'] . '"' : '', '><span class="left"></span>';
+ <div class="', in_array($block['style']['title']['class'], array('titlebg', 'titlebg2')) ? 'title_bar' : 'cat_bar', '"', !empty($block['style']['title']['style']) ? ' style="' . $block['style']['title']['style'] . '"' : '', '>
+ <h3 class="', $block['style']['title']['class'], '">';
if (empty($block['force_view']))
echo '
- <a class="sp_float_right" style="padding-top: 7px;" href="javascript:void(0);" onclick="sp_collapseBlock(\'', $block['id'], '\')"><img id="sp_collapse_', $block['id'], '" src="', $settings['images_url'], $block['collapsed'] ? '/expand.gif' : '/collapse.gif', '" alt="*" /></a>';
+ <a class="sp_float_right" style="padding-top: 7px;" href="javascript:void(0);" onclick="sp_collapseBlock(\'', $block['id'], '\')"><img id="sp_collapse_', $block['id'], '" src="', $settings['images_url'], $block['collapsed'] ? '/expand.gif' : '/collapse.gif', '" alt="*" /></a>';
echo '
- ', parse_bbc($block['label']), '
- </h3>';
+ ', parse_bbc($block['label']), '
+ </h3>
+ </div>';
}
echo '
View
6 smf2/Themes/default/PortalPages.template.php
@@ -47,9 +47,11 @@ function template_view_page_curve()
if (empty($context['SPortal']['page']['style']['no_title']))
{
echo '
- <h3 class="', $context['SPortal']['page']['style']['title']['class'], '"', !empty($context['SPortal']['page']['style']['title']['style']) ? ' style="' . $context['SPortal']['page']['style']['title']['style'] . '"' : '', '><span class="left"></span>
+ <div class="', in_array($context['SPortal']['page']['style']['title']['class'], array('titlebg', 'titlebg2')) ? 'title_bar' : 'cat_bar', '"', !empty($context['SPortal']['page']['style']['title']['style']) ? ' style="' . $context['SPortal']['page']['style']['title']['style'] . '"' : '', '>
+ <h3 class="', $context['SPortal']['page']['style']['title']['class'], '">
', $context['SPortal']['page']['title'], '
- </h3>';
+ </h3>
+ </div>';
}
if (strpos($context['SPortal']['page']['style']['body']['class'], 'roundframe') !== false)
Please sign in to comment.
Something went wrong with that request. Please try again.