forked from joomla/joomla-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request joomla#82 from elinw/beez-t8
Some changes to make transitioning to the new outputs easier
- Loading branch information
Showing
8 changed files
with
101 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
/** | ||
* @package Joomla.Site | ||
* @subpackage mod_breadcrumbs | ||
* | ||
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. | ||
* @license GNU General Public License version 2 or later; see LICENSE.txt | ||
*/ | ||
|
||
defined('_JEXEC') or die; | ||
?> | ||
|
||
<div class="breadcrumbs<?php echo $moduleclass_sfx; ?>"> | ||
<?php if ($params->get('showHere', 1)) | ||
{ | ||
echo '<span class="showHere">' .JText::_('MOD_BREADCRUMBS_HERE').'</span>'; | ||
} | ||
?> | ||
<?php for ($i = 0; $i < $count; $i ++) : | ||
// Workaround for duplicate Home when using multilanguage | ||
if ($i == 1 && !empty($list[$i]->link) && !empty($list[$i-1]->link) && $list[$i]->link == $list[$i-1]->link) { | ||
continue; | ||
} | ||
// If not the last item in the breadcrumbs add the separator | ||
if ($i < $count -1) { | ||
if (!empty($list[$i]->link)) { | ||
echo '<a href="'.$list[$i]->link.'" class="pathway">'.$list[$i]->name.'</a>'; | ||
} else { | ||
echo '<span>'; | ||
echo $list[$i]->name; | ||
echo '</span>'; | ||
} | ||
if($i < $count -2){ | ||
echo ' '.$separator.' '; | ||
} | ||
} elseif ($params->get('showLast', 1)) { // when $i == $count -1 and 'showLast' is true | ||
if ($i > 0) | ||
{ | ||
echo ' '.$separator.' '; | ||
} | ||
echo '<span>'; | ||
echo $list[$i]->name; | ||
echo '</span>'; | ||
} | ||
endfor; ?> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
/** | ||
* @package Joomla.Site | ||
* @subpackage mod_breadcrumbs | ||
* | ||
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. | ||
* @license GNU General Public License version 2 or later; see LICENSE.txt | ||
*/ | ||
|
||
defined('_JEXEC') or die; | ||
?> | ||
|
||
<div class="breadcrumbs<?php echo $moduleclass_sfx; ?>"> | ||
<?php if ($params->get('showHere', 1)) | ||
{ | ||
echo '<span class="showHere">' .JText::_('MOD_BREADCRUMBS_HERE').'</span>'; | ||
} | ||
?> | ||
<?php for ($i = 0; $i < $count; $i ++) : | ||
// Workaround for duplicate Home when using multilanguage | ||
if ($i == 1 && !empty($list[$i]->link) && !empty($list[$i-1]->link) && $list[$i]->link == $list[$i-1]->link) { | ||
continue; | ||
} | ||
// If not the last item in the breadcrumbs add the separator | ||
if ($i < $count -1) { | ||
if (!empty($list[$i]->link)) { | ||
echo '<a href="'.$list[$i]->link.'" class="pathway">'.$list[$i]->name.'</a>'; | ||
} else { | ||
echo '<span>'; | ||
echo $list[$i]->name; | ||
echo '</span>'; | ||
} | ||
if($i < $count -2){ | ||
echo ' '.$separator.' '; | ||
} | ||
} elseif ($params->get('showLast', 1)) { // when $i == $count -1 and 'showLast' is true | ||
if ($i > 0) | ||
{ | ||
echo ' '.$separator.' '; | ||
} | ||
echo '<span>'; | ||
echo $list[$i]->name; | ||
echo '</span>'; | ||
} | ||
endfor; ?> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><title></title> |