CoreFiles by mySites.guru
default.php55 lines, 2,499 bytes, from Joomla_5.2.4-Stable-Full_Package.zip
Raw History Compare with 5.2.3
md5
00c759c167fb37bdbec6e2b22a3a5b54
sha1
8602ada03a9e4a2de97fdf92fabe17b5a22d562a
sha256
32dba42e07d3f3af11d199a8def2b21c2009e7f180b3542a49856260ef9be861
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_finder
 *
 * @copyright   (C) 2011 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Language\Text;

/** @var \Joomla\Component\Finder\Administrator\View\Statistics\HtmlView $this */
?>
<div class="container-popup">
    <table class="table table-sm">
    <caption class="caption-top"><?php echo Text::sprintf('COM_FINDER_STATISTICS_STATS_DESCRIPTION', number_format($this->data->term_count, 0, Text::_('DECIMALS_SEPARATOR'), Text::_('THOUSANDS_SEPARATOR')), number_format($this->data->link_count, 0, Text::_('DECIMALS_SEPARATOR'), Text::_('THOUSANDS_SEPARATOR')), number_format($this->data->taxonomy_node_count, 0, Text::_('DECIMALS_SEPARATOR'), Text::_('THOUSANDS_SEPARATOR')), number_format($this->data->taxonomy_branch_count, 0, Text::_('DECIMALS_SEPARATOR'), Text::_('THOUSANDS_SEPARATOR'))); ?></caption>
        <thead>
            <tr>
                <th scope="col">
                    <?php echo Text::_('COM_FINDER_STATISTICS_LINK_TYPE_HEADING'); ?>
                </th>
                <th scope="col">
                    <?php echo Text::_('COM_FINDER_STATISTICS_LINK_TYPE_COUNT'); ?>
                </th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($this->data->type_list as $type) : ?>
            <tr>
                <th scope="row">
                    <?php
                    $lang_key    = 'PLG_FINDER_STATISTICS_' . str_replace(' ', '_', $type->type_title);
                    $lang_string = Text::_($lang_key);
                    echo $lang_string === $lang_key ? $type->type_title : $lang_string;
                    ?>
                </th>
                <td>
                    <span class="badge bg-info"><?php echo number_format($type->link_count, 0, Text::_('DECIMALS_SEPARATOR'), Text::_('THOUSANDS_SEPARATOR')); ?></span>
                </td>
            </tr>
            <?php endforeach; ?>
            <tr>
                <td>
                    <strong><?php echo Text::_('COM_FINDER_STATISTICS_LINK_TYPE_TOTAL'); ?></strong>
                </td>
                <td>
                    <span class="badge bg-info"><?php echo number_format($this->data->link_count, 0, Text::_('DECIMALS_SEPARATOR'), Text::_('THOUSANDS_SEPARATOR')); ?></span>
                </td>
            </tr>
        </tbody>
    </table>
</div>

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.