- md5
- 8fb86da8bebe7b3e4690980118014c90
- sha1
- 449bd619a2f041f8c1987d1eb912b3e9b3afc11b
- sha256
- d7ba1f27dccf6a231433a8e1c349d616770523434fa0811f91aa20ecdea386fb
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
<?php
/**
* @package Joomla.Administrator
* @subpackage mod_sampledata
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::_('jquery.framework');
JHtml::_('bootstrap.tooltip');
JHtml::_('script', 'mod_sampledata/sampledata-process.js', false, true);
JText::script('MOD_SAMPLEDATA_CONFIRM_START');
JText::script('MOD_SAMPLEDATA_ITEM_ALREADY_PROCESSED');
JText::script('MOD_SAMPLEDATA_INVALID_RESPONSE');
JFactory::getDocument()->addScriptDeclaration('
var modSampledataUrl = "index.php?option=com_ajax&format=json&group=sampledata",
modSampledataIconProgress = "' . JUri::root(true) . '/media/jui/img/ajax-loader.gif";
');
?>
<div class="sampledata-container">
<?php if ($items) : ?>
<div class="row-striped">
<?php foreach($items as $i => $item) : ?>
<div class="row-fluid sampledata-<?php echo $item->name; ?>">
<div class="span4">
<a href="#" onclick="sampledataApply(this)" data-type="<?php echo $item->name; ?>" data-steps="<?php echo $item->steps; ?>">
<strong class="row-title">
<span class="icon-<?php echo $item->icon; ?>" aria-hidden="true"> </span>
<?php echo htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8'); ?>
</strong>
</a>
</div>
<div class="span6">
<small>
<?php echo htmlspecialchars($item->description); ?>
</small>
</div>
</div>
<!-- Progress bar -->
<div class="row-fluid sampledata-progress-<?php echo $item->name; ?> hide">
<progress class="span12"></progress>
</div>
<!-- Progress messages -->
<div class="row-fluid sampledata-progress-<?php echo $item->name; ?> hide">
<ul class="unstyled"></ul>
</div>
<?php endforeach; ?>
</div>
<?php else : ?>
<div class="alert"><?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS');?></div>
<?php endif; ?>
</div>
The same content is in 2 releases, Joomla 3.8.0-beta2 to 3.8.0-beta3. See them all, or every version of this file.