This repository has been archived by the owner on Feb 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
28d51e4
commit f8b3147
Showing
6 changed files
with
156 additions
and
1 deletion.
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
30 changes: 30 additions & 0 deletions
30
web/administrator/templates/elysio/html/com_finder/indexer/default.php
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,30 @@ | ||
<?php | ||
/** | ||
* @package Joomla.Administrator | ||
* @subpackage com_finder | ||
* | ||
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. | ||
* @license GNU General Public License version 2 or later; see LICENSE | ||
*/ | ||
|
||
defined('_JEXEC') or die; | ||
|
||
JHtml::_('behavior.keepalive'); | ||
JHtml::_('behavior.core'); | ||
JHtml::_('jquery.framework'); | ||
JHtml::_('script', 'com_finder/indexer.js', false, true); | ||
JFactory::getDocument()->addScriptDeclaration('var msg = "' . JText::_('COM_FINDER_INDEXER_MESSAGE_COMPLETE') . '";'); | ||
?> | ||
|
||
|
||
<div id="finder-indexer-container"> | ||
<h1 id="finder-progress-header"><?php echo JText::_('COM_FINDER_INDEXER_HEADER_INIT'); ?></h1> | ||
|
||
<p id="finder-progress-message"><?php echo JText::_('COM_FINDER_INDEXER_MESSAGE_INIT'); ?></p> | ||
|
||
<div id="progress" class="progress progress-striped active"> | ||
<div id="progress-bar" class="bar bar-success" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div> | ||
</div> | ||
|
||
<input id="finder-indexer-token" type="hidden" name="<?php echo JFactory::getSession()->getFormToken(); ?>" value="1" /> | ||
</div> |
58 changes: 58 additions & 0 deletions
58
web/administrator/templates/elysio/html/com_finder/statistics/default.php
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,58 @@ | ||
<?php | ||
/** | ||
* @package Joomla.Administrator | ||
* @subpackage com_finder | ||
* | ||
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. | ||
* @license GNU General Public License version 2 or later; see LICENSE | ||
*/ | ||
|
||
defined('_JEXEC') or die; | ||
?> | ||
|
||
<div class="k-heading"> | ||
<?php echo JText::_('COM_FINDER_STATISTICS_TITLE') ?> | ||
</div> | ||
|
||
<p><?php echo JText::sprintf('COM_FINDER_STATISTICS_STATS_DESCRIPTION', number_format($this->data->term_count, 0, JText::_('DECIMALS_SEPARATOR'), JText::_('THOUSANDS_SEPARATOR')), number_format($this->data->link_count, 0, JText::_('DECIMALS_SEPARATOR'), JText::_('THOUSANDS_SEPARATOR')), number_format($this->data->taxonomy_node_count, 0, JText::_('DECIMALS_SEPARATOR'), JText::_('THOUSANDS_SEPARATOR')), number_format($this->data->taxonomy_branch_count, 0, JText::_('DECIMALS_SEPARATOR'), JText::_('THOUSANDS_SEPARATOR'))); ?></p> | ||
|
||
<div class="k-table-container"> | ||
<div class="k-table"> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th> | ||
<?php echo JText::_('COM_FINDER_STATISTICS_LINK_TYPE_HEADING');?> | ||
</th> | ||
<th> | ||
<?php echo JText::_('COM_FINDER_STATISTICS_LINK_TYPE_COUNT');?> | ||
</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php foreach ($this->data->type_list as $type) :?> | ||
<tr> | ||
<td> | ||
<?php | ||
$lang_key = 'PLG_FINDER_STATISTICS_' . str_replace(' ', '_', $type->type_title); | ||
$lang_string = JText::_($lang_key); | ||
echo ($lang_string == $lang_key) ? $type->type_title : $lang_string; | ||
?> | ||
</td> | ||
<td> | ||
<span class="badge badge-info"><?php echo number_format($type->link_count, 0, JText::_('DECIMALS_SEPARATOR'), JText::_('THOUSANDS_SEPARATOR'));?></span> | ||
</td> | ||
</tr> | ||
<?php endforeach; ?> | ||
<tr> | ||
<td> | ||
<strong><?php echo JText::_('COM_FINDER_STATISTICS_LINK_TYPE_TOTAL'); ?></strong> | ||
</td> | ||
<td> | ||
<span class="badge badge-info"><?php echo number_format($this->data->link_count, 0, JText::_('DECIMALS_SEPARATOR'), JText::_('THOUSANDS_SEPARATOR')); ?></span> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</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
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