From eb0849211f3b68cfe1f76ee5ccf6b54cfbe71fbb Mon Sep 17 00:00:00 2001 From: Seth Warburton Date: Tue, 30 Sep 2014 17:23:11 +0100 Subject: [PATCH 1/2] Block party Signed-off-by: Seth Warburton --- layouts/joomla/content/info_block/author.php | 17 +++-- layouts/joomla/content/info_block/block.php | 72 +++++++++++-------- .../joomla/content/info_block/category.php | 17 +++-- .../joomla/content/info_block/create_date.php | 11 ++- layouts/joomla/content/info_block/hits.php | 9 ++- .../joomla/content/info_block/modify_date.php | 11 ++- .../content/info_block/parent_category.php | 17 +++-- .../content/info_block/publish_date.php | 11 ++- 8 files changed, 87 insertions(+), 78 deletions(-) diff --git a/layouts/joomla/content/info_block/author.php b/layouts/joomla/content/info_block/author.php index fb07bf0a7c690..237f73f410a48 100644 --- a/layouts/joomla/content/info_block/author.php +++ b/layouts/joomla/content/info_block/author.php @@ -10,12 +10,11 @@ defined('JPATH_BASE') or die; ?> - + +created_by_alias ? $displayData['item']->created_by_alias : $displayData['item']->author); ?> +' . $author . ''; ?> +contact_link ) && $displayData['params']->get('link_author') == true) : ?> + contact_link, $author, array('itemprop' => 'url'))); ?> + + + diff --git a/layouts/joomla/content/info_block/block.php b/layouts/joomla/content/info_block/block.php index a9102d9559f16..13a0098d2526f 100644 --- a/layouts/joomla/content/info_block/block.php +++ b/layouts/joomla/content/info_block/block.php @@ -12,49 +12,65 @@ $blockPosition = $displayData['params']->get('info_block_position', 0); ?> - diff --git a/layouts/joomla/content/info_block/category.php b/layouts/joomla/content/info_block/category.php index c834cf9d62c07..da4ef1bf12d0c 100644 --- a/layouts/joomla/content/info_block/category.php +++ b/layouts/joomla/content/info_block/category.php @@ -10,12 +10,11 @@ defined('JPATH_BASE') or die; ?> -
- escape($displayData['item']->category_title); ?> - get('link_category') && $displayData['item']->catslug) : ?> - catslug)) . '" itemprop="genre">' . $title . ''; ?> - - - ' . $title . ''); ?> - -
\ No newline at end of file + +escape($displayData['item']->category_title); ?> +get('link_category') && $displayData['item']->catslug) : ?> + catslug)) . '" itemprop="genre">' . $title . ''; ?> + + + ' . $title . ''); ?> + diff --git a/layouts/joomla/content/info_block/create_date.php b/layouts/joomla/content/info_block/create_date.php index e631f78f0e4f4..ee6716f603852 100644 --- a/layouts/joomla/content/info_block/create_date.php +++ b/layouts/joomla/content/info_block/create_date.php @@ -10,9 +10,8 @@ defined('JPATH_BASE') or die; ?> -
- - -
\ No newline at end of file + + + diff --git a/layouts/joomla/content/info_block/hits.php b/layouts/joomla/content/info_block/hits.php index 158e485f4b460..ba211a50b906a 100644 --- a/layouts/joomla/content/info_block/hits.php +++ b/layouts/joomla/content/info_block/hits.php @@ -10,8 +10,7 @@ defined('JPATH_BASE') or die; ?> -
- - - hits); ?> -
\ No newline at end of file + + + +hits); ?> diff --git a/layouts/joomla/content/info_block/modify_date.php b/layouts/joomla/content/info_block/modify_date.php index eb34d07069b63..7f422d8cc7313 100644 --- a/layouts/joomla/content/info_block/modify_date.php +++ b/layouts/joomla/content/info_block/modify_date.php @@ -10,9 +10,8 @@ defined('JPATH_BASE') or die; ?> -
- - -
\ No newline at end of file + + + diff --git a/layouts/joomla/content/info_block/parent_category.php b/layouts/joomla/content/info_block/parent_category.php index f5b32463d4684..8fcc2a2b2f3d9 100644 --- a/layouts/joomla/content/info_block/parent_category.php +++ b/layouts/joomla/content/info_block/parent_category.php @@ -10,12 +10,11 @@ defined('JPATH_BASE') or die; ?> -
- escape($displayData['item']->parent_title); ?> - get('link_parent_category') && !empty($displayData['item']->parent_slug)) : ?> - parent_slug)) . '" itemprop="genre">' . $title . ''; ?> - - - ' . $title . ''); ?> - -
\ No newline at end of file + +escape($displayData['item']->parent_title); ?> +get('link_parent_category') && !empty($displayData['item']->parent_slug)) : ?> + parent_slug)) . '" itemprop="genre">' . $title . ''; ?> + + + ' . $title . ''); ?> + diff --git a/layouts/joomla/content/info_block/publish_date.php b/layouts/joomla/content/info_block/publish_date.php index fa4aa35a8b008..2c723c0688405 100644 --- a/layouts/joomla/content/info_block/publish_date.php +++ b/layouts/joomla/content/info_block/publish_date.php @@ -9,9 +9,8 @@ defined('JPATH_BASE') or die; ?> -
- - -
\ No newline at end of file + + + From c76a74ed2fe1a9922f24e830a5b5d3fb9cbb55ed Mon Sep 17 00:00:00 2001 From: Seth Warburton Date: Thu, 2 Oct 2014 09:32:09 +0100 Subject: [PATCH 2/2] Die whitespace! Signed-off-by: Seth Warburton --- layouts/joomla/content/info_block/category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/joomla/content/info_block/category.php b/layouts/joomla/content/info_block/category.php index da4ef1bf12d0c..3b116391b6eb2 100644 --- a/layouts/joomla/content/info_block/category.php +++ b/layouts/joomla/content/info_block/category.php @@ -17,4 +17,4 @@ ' . $title . ''); ?> - +