diff --git a/modules/mod_menu/tmpl/default.php b/modules/mod_menu/tmpl/default.php
index 52066b326d2a6..bd467d2d856b3 100644
--- a/modules/mod_menu/tmpl/default.php
+++ b/modules/mod_menu/tmpl/default.php
@@ -19,83 +19,49 @@
// The menu class is deprecated. Use nav instead
?>
', $item->level_diff);
- }
- // The next item is on the same level.
- else
- {
- echo '';
- }
-}
-?>
+ &$item) : ?>
+ id; ?>
+ id == $default_id) : ?>
+
+
+ id == $active_id || ($item->type === 'alias' && $item->params->get('aliasoptions') == $active_id)) : ?>
+
+
+ id, $path)) : ?>
+
+ type === 'alias') : ?>
+ params->get('aliasoptions'); ?>
+ 0 && $aliasToId == $path[count($path) - 1]) : ?>
+
+
+
+
+
+ type === 'separator') : ?>
+
+
+ deeper) : ?>
+
+
+ parent) : ?>
+
+
+
+ type, array('separator', 'component', 'heading', 'url'))) : ?>
+ type); ?>
+
+
+
+
+ deeper) : ?>
+
+ ', $item->level_diff); ?>
+
+
+
+
+
+
diff --git a/modules/mod_menu/tmpl/default_heading.php b/modules/mod_menu/tmpl/default_heading.php
index 5612c40bfd54f..805436c336ce1 100644
--- a/modules/mod_menu/tmpl/default_heading.php
+++ b/modules/mod_menu/tmpl/default_heading.php
@@ -33,4 +33,6 @@
}
?>
-
+
diff --git a/modules/mod_menu/tmpl/default_separator.php b/modules/mod_menu/tmpl/default_separator.php
index eca36cce382db..997e4849f121f 100644
--- a/modules/mod_menu/tmpl/default_separator.php
+++ b/modules/mod_menu/tmpl/default_separator.php
@@ -33,4 +33,6 @@
}
?>
->
+>
+
+
diff --git a/modules/mod_random_image/tmpl/default.php b/modules/mod_random_image/tmpl/default.php
index d1caddec2f1b1..f38347f9491b6 100644
--- a/modules/mod_random_image/tmpl/default.php
+++ b/modules/mod_random_image/tmpl/default.php
@@ -8,13 +8,16 @@
*/
defined('_JEXEC') or die;
+
+$image = JHtml::_('image', $image->folder . '/' . $image->name, $image->name, array('width' => $image->width, 'height' => $image->height));
+
?>
diff --git a/modules/mod_related_items/tmpl/default.php b/modules/mod_related_items/tmpl/default.php
index fdbc7ac573538..868d804d2afaf 100644
--- a/modules/mod_related_items/tmpl/default.php
+++ b/modules/mod_related_items/tmpl/default.php
@@ -8,13 +8,17 @@
*/
defined('_JEXEC') or die;
+
?>