From 092fb44b69a96f47e678ad74a6233e25d6d2c803 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 20 Sep 2016 14:19:37 -0400 Subject: [PATCH] Setup h2 for title in the content h1 will be for the page title h2 for page content titles --- controllers/ToolboxImport.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/controllers/ToolboxImport.php b/controllers/ToolboxImport.php index 9a7b984..54a11c7 100644 --- a/controllers/ToolboxImport.php +++ b/controllers/ToolboxImport.php @@ -442,7 +442,7 @@ $iterator = 1; if ($this->_options['toolbox_page_table'] == 'bus_category') { if ( $this->_options['navigation_name_in_content'] ) { - $page['pageContent'] .= '

'.$page['category'].'

'; + $page['pageContent'] .= '

'.$page['category'].'

'; } else { $page['title'] .= $page['category']; } @@ -458,7 +458,7 @@ case 1: if (isset($paragraph['title']) && $paragraph['title']) { if ( $this->_options['navigation_name_in_content'] ) { - $page['pageContent'] .= '

'.$paragraph['title'].'

'; + $page['pageContent'] .= '

'.$paragraph['title'].'

'; } else { $page['title'] = $paragraph['title']; } @@ -469,10 +469,10 @@ break; case 2: if (isset($paragraph['name']) && $paragraph['name']) { - $page['pageContent'] .= '

'.$paragraph['name'].'

'; + $page['pageContent'] .= '

'.$paragraph['name'].'

'; } if (isset($paragraph['title']) && $paragraph['title']) { - $page['pageContent'] .= '

'.$paragraph['title'].'

'; + $page['pageContent'] .= '

'.$paragraph['title'].'

'; } if (isset($paragraph['image']) && $paragraph['image']) { $page['pageContent'] .= $this->_displayImage($paragraph, $secondaryAlign); @@ -480,10 +480,10 @@ break; default: if (isset($paragraph['name']) && $paragraph['name']) { - $page['pageContent'] .= '

'.$paragraph['name'].'

'; + $page['pageContent'] .= '

'.$paragraph['name'].'

'; } if (isset($paragraph['title']) && $paragraph['title']) { - $page['pageContent'] .= '

'.$paragraph['title'].'

'; + $page['pageContent'] .= '

'.$paragraph['title'].'

'; } if (isset($paragraph['template']) && $alternateImg && $page['template'] == 2) { $align = ($iterator%2 == 0) ? 'left' : 'right'; -- 2.17.1