Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions modules/mod_articles_archive/mod_articles_archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Joomla\Module\ArticlesArchive\Site\Helper\ArticlesArchiveHelper;

$params->def('count', 10);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');
$list = ArticlesArchiveHelper::getList($params);
$list = ArticlesArchiveHelper::getList($params);

require ModuleHelper::getLayoutPath('mod_articles_archive', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_articles_archive/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
defined('_JEXEC') or die;
?>
<?php if (!empty($list)) : ?>
<ul class="archive-module<?php echo $moduleclass_sfx; ?>">
<ul class="archive-module">
<?php foreach ($list as $item) : ?>
<li>
<a href="<?php echo $item->link; ?>">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

if (!empty($list))
{
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');
$startLevel = reset($list)->getParent()->level;

require ModuleHelper::getLayoutPath('mod_articles_categories', $params->get('layout', 'default'));
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_articles_categories/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

defined('_JEXEC') or die;
?>
<ul class="categories-module<?php echo $moduleclass_sfx; ?>">
<ul class="categories-module">
<?php require JModuleHelper::getLayoutPath('mod_articles_categories', $params->get('layout', 'default') . '_items'); ?>
</ul>
1 change: 0 additions & 1 deletion modules/mod_articles_category/mod_articles_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
$grouped = false;
$article_grouping = $params->get('article_grouping', 'none');
$article_grouping_direction = $params->get('article_grouping_direction', 'ksort');
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');
$item_heading = $params->get('item_heading');

if ($article_grouping !== 'none')
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_articles_category/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
defined('_JEXEC') or die;

?>
<ul class="category-module<?php echo $moduleclass_sfx; ?>">
<ul class="category-module">
<?php if ($grouped) : ?>
<?php foreach ($list as $group_name => $group) : ?>
<li>
Expand Down
1 change: 0 additions & 1 deletion modules/mod_articles_latest/mod_articles_latest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
use Joomla\Module\ArticlesLatest\Site\Helper\ArticlesLatestHelper;

$list = ArticlesLatestHelper::getList($params);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_articles_latest', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_articles_latest/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

defined('_JEXEC') or die;
?>
<ul class="latestnews<?php echo $moduleclass_sfx; ?>">
<ul class="latestnews">
<?php foreach ($list as $item) : ?>
<li itemscope itemtype="https://schema.org/Article">
<a href="<?php echo $item->link; ?>" itemprop="url">
Expand Down
1 change: 0 additions & 1 deletion modules/mod_articles_news/mod_articles_news.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
use Joomla\Module\ArticlesNews\Site\Helper\ArticlesNewsHelper;

$list = ArticlesNewsHelper::getList($params);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_articles_news', $params->get('layout', 'horizontal'));
2 changes: 1 addition & 1 deletion modules/mod_articles_news/tmpl/_item.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
?>
<?php if ($params->get('item_title')) : ?>

<<?php echo $item_heading; ?> class="newsflash-title<?php echo $params->get('moduleclass_sfx'); ?>">
<<?php echo $item_heading; ?> class="newsflash-title">
<?php if ($item->link !== '' && $params->get('link_titles')) : ?>
<a href="<?php echo $item->link; ?>">
<?php echo $item->title; ?>
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_articles_news/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

defined('_JEXEC') or die;
?>
<div class="newsflash<?php echo $moduleclass_sfx; ?>">
<div class="newsflash">
<?php foreach ($list as $item) : ?>
<?php require JModuleHelper::getLayoutPath('mod_articles_news', '_item'); ?>
<?php endforeach; ?>
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_articles_news/tmpl/horizontal.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

defined('_JEXEC') or die;
?>
<ul class="newsflash-horiz<?php echo $params->get('moduleclass_sfx'); ?>">
<ul class="newsflash-horiz">
<?php for ($i = 0, $n = count($list); $i < $n; $i ++) : ?>
<?php $item = $list[$i]; ?>
<li>
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_articles_news/tmpl/vertical.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

defined('_JEXEC') or die;
?>
<ul class="newsflash-vert<?php echo $params->get('moduleclass_sfx'); ?>">
<ul class="newsflash-vert">
<?php for ($i = 0, $n = count($list); $i < $n; $i ++) : ?>
<?php $item = $list[$i]; ?>
<li class="newsflash-item">
Expand Down
1 change: 0 additions & 1 deletion modules/mod_articles_popular/mod_articles_popular.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
use Joomla\Module\ArticlesPopular\Site\Helper\ArticlesPopularHelper;

$list = ArticlesPopularHelper::getList($params);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_articles_popular', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_articles_popular/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

defined('_JEXEC') or die;
?>
<ul class="mostread<?php echo $moduleclass_sfx; ?>">
<ul class="mostread">
<?php foreach ($list as $item) : ?>
<li itemscope itemtype="https://schema.org/Article">
<a href="<?php echo $item->link; ?>" itemprop="url">
Expand Down
1 change: 0 additions & 1 deletion modules/mod_banners/mod_banners.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@

BannersHelper::updateReset();
$list = &ModBannersHelper::getList($params);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_banners', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_banners/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

use Joomla\Component\Banners\Site\Helper\BannerHelper;
?>
<div class="bannergroup<?php echo $moduleclass_sfx; ?>">
<div class="bannergroup">
<?php if ($headerText) : ?>
<?php echo $headerText; ?>
<?php endif; ?>
Expand Down
2 changes: 0 additions & 2 deletions modules/mod_breadcrumbs/mod_breadcrumbs.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@
$list = BreadcrumbsHelper::getList($params);
$count = count($list);

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_breadcrumbs', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_breadcrumbs/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

?>

<ul itemscope itemtype="https://schema.org/BreadcrumbList" class="breadcrumb<?php echo $moduleclass_sfx; ?>">
<ul itemscope itemtype="https://schema.org/BreadcrumbList" class="breadcrumb">
<?php if ($params->get('showHere', 1)) : ?>
<li class="float-left">
<?php echo JText::_('MOD_BREADCRUMBS_HERE'); ?>&#160;
Expand Down
2 changes: 0 additions & 2 deletions modules/mod_custom/mod_custom.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@
$module->content = JHtml::_('content.prepare', $module->content, '', 'mod_custom.content');
}

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require JModuleHelper::getLayoutPath('mod_custom', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_custom/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
?>


<div class="custom<?php echo $moduleclass_sfx; ?>" <?php if ($params->get('backgroundimage')) : ?> style="background-image:url(<?php echo $params->get('backgroundimage'); ?>)"<?php endif; ?> >
<div class="custom" <?php if ($params->get('backgroundimage')) : ?> style="background-image:url(<?php echo $params->get('backgroundimage'); ?>)"<?php endif; ?> >
<?php echo $module->content; ?>
</div>
1 change: 0 additions & 1 deletion modules/mod_feed/mod_feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
$rssrtl = $params->get('rssrtl', 0);

$feed = FeedHelper::getFeed($params);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_feed', $params->get('layout', 'default'));
4 changes: 2 additions & 2 deletions modules/mod_feed/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
$iUrl = isset($feed->image) ? $feed->image : null;
$iTitle = isset($feed->imagetitle) ? $feed->imagetitle : null;
?>
<div style="direction: <?php echo $rssrtl ? 'rtl' :'ltr'; ?>; text-align: <?php echo $rssrtl ? 'right' :'left'; ?> ! important" class="feed<?php echo $moduleclass_sfx; ?>">
<div style="direction: <?php echo $rssrtl ? 'rtl' :'ltr'; ?>; text-align: <?php echo $rssrtl ? 'right' :'left'; ?> ! important" class="feed">
<?php
// Feed description
if ($feed->title !== null && $params->get('rsstitle', 1))
Expand Down Expand Up @@ -93,7 +93,7 @@
<!-- Show items -->
<?php if (!empty($feed))
{ ?>
<ul class="newsfeed<?php echo $params->get('moduleclass_sfx'); ?>">
<ul class="newsfeed">
<?php for ($i = 0, $max = min(count($feed), $params->get('rssitems', 5)); $i < $max; $i++) { ?>
<?php
$uri = (!empty($feed[$i]->uri) || $feed[$i]->uri !== null) ? trim($feed[$i]->uri) : trim($feed[$i]->guid);
Expand Down
7 changes: 3 additions & 4 deletions modules/mod_finder/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@
$lang = JFactory::getLanguage();
$lang->load('com_finder', JPATH_SITE);

$suffix = $params->get('moduleclass_sfx');
$input = '<input type="text" name="q" class="js-finder-search-query form-control" value="' . htmlspecialchars(JFactory::getApplication()->input->get('q', '', 'string'), ENT_COMPAT, 'UTF-8') . '"'
. ' placeholder="' . JText::_('MOD_FINDER_SEARCH_VALUE') . '">';

$showLabel = $params->get('show_label', 1);
$labelClass = (!$showLabel ? 'sr-only ' : '') . 'finder' . $suffix;
$labelClass = (!$showLabel ? 'sr-only ' : '') . 'finder';
$label = '<label for="mod-finder-searchword' . $module->id . '" class="' . $labelClass . '">' . $params->get('alt_label', JText::_('JSEARCH_FILTER_SUBMIT')) . '</label>';

$output = '';
Expand All @@ -33,7 +32,7 @@
$output .= '<div class="input-group">';
$output .= $input;
$output .= '<span class="input-group-btn">';
$output .= '<button class="btn btn-primary hasTooltip ' . $suffix . ' finder' . $suffix . '" type="submit" title="' . JText::_('MOD_FINDER_SEARCH_BUTTON') . '"><span class="icon-search icon-white"></span> ' . JText::_('JSEARCH_FILTER_SUBMIT') . '</button>';
$output .= '<button class="btn btn-primary hasTooltip finder" type="submit" title="' . JText::_('MOD_FINDER_SEARCH_BUTTON') . '"><span class="icon-search icon-white"></span> ' . JText::_('JSEARCH_FILTER_SUBMIT') . '</button>';
$output .= '</span>';
$output .= '</div>';
}
Expand All @@ -59,7 +58,7 @@
?>

<form class="js-finder-searchform form-search" action="<?php echo JRoute::_($route); ?>" method="get">
<div class="finder<?php echo $suffix; ?>">
<div class="finder">

<?php echo $output; ?>

Expand Down
2 changes: 0 additions & 2 deletions modules/mod_footer/mod_footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,4 @@
$lineone = $line1;
}

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require JModuleHelper::getLayoutPath('mod_footer', $params->get('layout', 'default'));
4 changes: 2 additions & 2 deletions modules/mod_footer/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@

defined('_JEXEC') or die;
?>
<div class="footer1<?php echo $moduleclass_sfx; ?>"><?php echo $lineone; ?></div>
<div class="footer2<?php echo $moduleclass_sfx; ?>"><?php echo JText::_('MOD_FOOTER_LINE2'); ?></div>
<div class="footer1"><?php echo $lineone; ?></div>
<div class="footer2"><?php echo JText::_('MOD_FOOTER_LINE2'); ?></div>
1 change: 0 additions & 1 deletion modules/mod_languages/mod_languages.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
$headerText = $params->get('header_text');
$footerText = $params->get('footer_text');
$list = LanguagesHelper::getList($params);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_languages', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_languages/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
JHtml::_('formbehavior.chosen');
}
?>
<div class="mod-languages<?php echo $moduleclass_sfx; ?>">
<div class="mod-languages">
<?php if ($headerText) : ?>
<div class="pretext"><p><?php echo $headerText; ?></p></div>
<?php endif; ?>
Expand Down
1 change: 0 additions & 1 deletion modules/mod_random_image/mod_random_image.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
$folder = RandomImageHelper::getFolder($params);
$images = RandomImageHelper::getImages($params, $folder);
$image = RandomImageHelper::getRandomImage($params, $images);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_random_image', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_random_image/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
?>

<div class="random-image<?php echo $moduleclass_sfx; ?>">
<div class="random-image">
<?php if ($link) : ?>
<a href="<?php echo $link; ?>">
<?php endif; ?>
Expand Down
1 change: 0 additions & 1 deletion modules/mod_search/mod_search.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
$text = htmlspecialchars($params->get('text', \JText::_('MOD_SEARCH_SEARCHBOX_TEXT')), ENT_COMPAT, 'UTF-8');
$label = htmlspecialchars($params->get('label', \JText::_('MOD_SEARCH_LABEL_TEXT')), ENT_COMPAT, 'UTF-8');
$set_Itemid = (int) $params->get('set_itemid', 0);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

if ($imagebutton)
{
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_search/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
defined('_JEXEC') or die;

?>
<div class="search<?php echo $moduleclass_sfx; ?>">
<div class="search">
<form action="<?php echo JRoute::_('index.php'); ?>" method="post">
<?php
$input = '<input name="searchword" id="mod-search-searchword' . $module->id . '" class="form-control" type="search" placeholder="' . $text . '">';
Expand Down
1 change: 0 additions & 1 deletion modules/mod_stats/mod_stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
$serverinfo = $params->get('serverinfo');
$siteinfo = $params->get('siteinfo');
$list = StatsHelper::getList($params);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_stats', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_stats/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

defined('_JEXEC') or die;
?>
<ul class="list-group<?php echo $moduleclass_sfx; ?>">
<ul class="list-group">
<?php foreach ($list as $item) : ?>
<li class="list-group-item justify-content-between">
<?php echo $item->title; ?>
Expand Down
1 change: 0 additions & 1 deletion modules/mod_syndicate/mod_syndicate.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
return;
}

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');
$text = htmlspecialchars($params->get('text'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_syndicate', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_syndicate/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
defined('_JEXEC') or die;

?>
<a href="<?php echo $link; ?>" class="syndicate-module<?php echo $moduleclass_sfx; ?>">
<a href="<?php echo $link; ?>" class="syndicate-module">
<?php echo JHtml::_('image', 'system/livemarks.png', 'feed-image', null, true); ?>
<?php if ($params->get('display_text', 1)) : ?>
<span>
Expand Down
1 change: 0 additions & 1 deletion modules/mod_tags_popular/mod_tags_popular.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
return;
}

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');
$display_count = $params->get('display_count', 0);

require ModuleHelper::getLayoutPath('mod_tags_popular', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_tags_popular/tmpl/cloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

JLoader::register('TagsHelperRoute', JPATH_BASE . '/components/com_tags/helpers/route.php');
?>
<div class="tagspopular<?php echo $moduleclass_sfx; ?> tagscloud<?php echo $moduleclass_sfx; ?>">
<div class="tagspopular tagscloud">
<?php
if (!count($list)) : ?>
<div class="alert alert-no-items"><?php echo JText::_('MOD_TAGS_POPULAR_NO_ITEMS_FOUND'); ?></div>
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_tags_popular/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

?>
<?php JLoader::register('TagsHelperRoute', JPATH_BASE . '/components/com_tags/helpers/route.php'); ?>
<div class="tagspopular<?php echo $moduleclass_sfx; ?>">
<div class="tagspopular">
<?php if (!count($list)) : ?>
<div class="alert alert-no-items"><?php echo JText::_('MOD_TAGS_POPULAR_NO_ITEMS_FOUND'); ?></div>
<?php else : ?>
Expand Down
2 changes: 0 additions & 2 deletions modules/mod_tags_similar/mod_tags_similar.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,4 @@
return;
}

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_tags_similar', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_tags_similar/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

?>
<?php JLoader::register('TagsHelperRoute', JPATH_BASE . '/components/com_tags/helpers/route.php'); ?>
<div class="tagssimilar<?php echo $moduleclass_sfx; ?>">
<div class="tagssimilar">
<?php if ($list) : ?>
<ul>
<?php foreach ($list as $i => $item) : ?>
Expand Down
1 change: 0 additions & 1 deletion modules/mod_users_latest/mod_users_latest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@

$shownumber = $params->get('shownumber', 5);
$names = UsersLatestHelper::getUsers($params);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_users_latest', $params->get('layout', 'default'));
2 changes: 1 addition & 1 deletion modules/mod_users_latest/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
defined('_JEXEC') or die;
?>
<?php if (!empty($names)) : ?>
<ul class="latestusers<?php echo $moduleclass_sfx; ?>" >
<ul class="latestusers" >
<?php foreach ($names as $name) : ?>
<li>
<?php echo $name->username; ?>
Expand Down
2 changes: 0 additions & 2 deletions modules/mod_whosonline/mod_whosonline.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,4 @@
$names = WhosonlineHelper::getOnlineUserNames($params);
}

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_whosonline', $params->get('layout', 'default'));
Loading