mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-26 01:57:30 +00:00
Few small fixes
This commit is contained in:
parent
8491a67566
commit
d2fba23da9
@ -413,7 +413,7 @@
|
|||||||
type="radio"
|
type="radio"
|
||||||
label="JGLOBAL_CUSTOM_FIELDS_ENABLE_LABEL"
|
label="JGLOBAL_CUSTOM_FIELDS_ENABLE_LABEL"
|
||||||
layout="joomla.form.field.radio.switcher"
|
layout="joomla.form.field.radio.switcher"
|
||||||
default="0"
|
default="1"
|
||||||
>
|
>
|
||||||
<option value="0">JNO</option>
|
<option value="0">JNO</option>
|
||||||
<option value="1">JYES</option>
|
<option value="1">JYES</option>
|
||||||
|
@ -27,7 +27,7 @@ use Joomla\CMS\HTML\HTMLHelper;
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php if ($cols > 1) :?>
|
<?php if ($cols > 1) :?>
|
||||||
<?php if ($k % $cols == 0) :?>
|
<?php if ($k % $cols == 0) : ?>
|
||||||
<div class="row row-fluid">
|
<div class="row row-fluid">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div class="col-' . 12 / $cols . '">
|
<div class="col-' . 12 / $cols . '">
|
||||||
@ -36,7 +36,7 @@ use Joomla\CMS\HTML\HTMLHelper;
|
|||||||
<strong> <?php echo htmlspecialchars($cat['title'], ENT_COMPAT, 'UTF-8'); ?></strong>
|
<strong> <?php echo htmlspecialchars($cat['title'], ENT_COMPAT, 'UTF-8'); ?></strong>
|
||||||
<?php endif; ?>;
|
<?php endif; ?>;
|
||||||
<ul class="mod-list weblinks ' . $moduleclass_sfx . '">
|
<ul class="mod-list weblinks ' . $moduleclass_sfx . '">
|
||||||
<?php foreach ($items as $item) :?>
|
<?php foreach ($items as $item) : ?>
|
||||||
<li><div class="d-flex flex-wrap">
|
<li><div class="d-flex flex-wrap">
|
||||||
<div class="col flex-sm-grow-1">
|
<div class="col flex-sm-grow-1">
|
||||||
<?php $link = $item->link; ?>
|
<?php $link = $item->link; ?>
|
||||||
@ -76,7 +76,7 @@ use Joomla\CMS\HTML\HTMLHelper;
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php echo $params->get('description', 0) ? '<div class="col flex-sm-grow-1">' . $item->description . '</div>' : '';?>
|
<?php echo $params->get('description', 0) ? '<div class="col flex-sm-grow-1">' . $item->description . '</div>' : ''; ?>
|
||||||
<?php if ($params->get('hits', 0)) : ?>
|
<?php if ($params->get('hits', 0)) : ?>
|
||||||
<div class="col flex-sm-grow-1">
|
<div class="col flex-sm-grow-1">
|
||||||
<span class="badge bg-info float-md-end"> <?php echo $item->hits . ' ' . Text::_('MOD_WEBLINKS_HITS'); ?></span>
|
<span class="badge bg-info float-md-end"> <?php echo $item->hits . ' ' . Text::_('MOD_WEBLINKS_HITS'); ?></span>
|
||||||
@ -134,7 +134,7 @@ use Joomla\CMS\HTML\HTMLHelper;
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php echo $params->get('description', 0) ? '<div class="col flex-sm-grow-1">' . $item->description . '</div>' : '';?>
|
<?php echo $params->get('description', 0) ? '<div class="col flex-sm-grow-1">' . $item->description . '</div>' : ''; ?>
|
||||||
<?php if ($params->get('hits', 0)) : ?>
|
<?php if ($params->get('hits', 0)) : ?>
|
||||||
<div class="col flex-sm-grow-1">
|
<div class="col flex-sm-grow-1">
|
||||||
<span class="badge bg-info float-md-end"><?php echo $item->hits . ' ' . Text::_('MOD_WEBLINKS_HITS'); ?></span>
|
<span class="badge bg-info float-md-end"><?php echo $item->hits . ' ' . Text::_('MOD_WEBLINKS_HITS'); ?></span>
|
||||||
|
Loading…
Reference in New Issue
Block a user