- md5
- 3a86598699667b6677f06f2d8eef16bc
- sha1
- e53414237a7ae33accc9128e5ee7ea0e2a0483a9
- sha256
- 9809771e95083bc45f03e00918fc631ce5df00c3354ac205b2f17194f22f8647
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
<?php
/**
* @package Joomla.Administrator
* @subpackage com_postinstall
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$renderer = JFactory::getDocument()->loadRenderer('module');
$options = array('style' => 'raw');
$mod = JModuleHelper::getModule('mod_feed');
$param = array("rssurl" => "https://www.joomla.org/announcements/release-news.feed?type=rss",
"rsstitle" => 0,
"rssdesc" => 0,
"rssimage" => 1,
"rssitems" => 5,
"rssitemdesc" => 1,
"word_count" => 200,
"cache" => 0,
"moduleclass_sfx" => ' list-striped');
$params = array('params' => json_encode($param));
?>
<?php if (empty($this->items)): ?>
<h2><?php echo JText::_('COM_POSTINSTALL_LBL_NOMESSAGES_TITLE') ?></h2>
<p><?php echo JText::_('COM_POSTINSTALL_LBL_NOMESSAGES_DESC') ?></p>
<div>
<button onclick="window.location='index.php?option=com_postinstall&view=messages&task=reset&eid=<?php echo $this->eid; ?>&<?php echo $this->token ?>=1'; return false;" class="btn btn-warning">
<span class="icon icon-eye-open"></span>
<?php echo JText::_('COM_POSTINSTALL_BTN_RESET') ?>
</button>
</div>
<?php if ($this->eid == 700): ?>
<br/>
<div>
<h3><?php echo JText::_('COM_POSTINSTALL_LBL_RELEASENEWS'); ?></h3>
<?php echo $renderer->render($mod, $params, $options); ?>
</div>
<?php endif; ?>
<?php else: ?>
<?php
if ($this->eid == 700):
echo JHtml::_('sliders.start', 'panel-sliders', array('useCookie' => '1'));
echo JHtml::_('sliders.panel', JText::_('COM_POSTINSTALL_LBL_MESSAGES'), 'postinstall-panel-messages');
else:
?>
<h2><?php echo JText::_('COM_POSTINSTALL_LBL_MESSAGES') ?></h2>
<?php endif; ?>
<?php foreach ($this->items as $item): ?>
<fieldset>
<legend><?php echo JText::_($item->title_key) ?></legend>
<p class="small">
<?php echo JText::sprintf('COM_POSTINSTALL_LBL_SINCEVERSION', $item->version_introduced) ?>
</p>
<p><?php echo JText::_($item->description_key) ?></p>
<div>
<?php if ($item->type !== 'message'): ?>
<button onclick="window.location='index.php?option=com_postinstall&view=messages&task=action&id=<?php echo $item->postinstall_message_id ?>&<?php echo $this->token ?>=1'; return false;" class="btn btn-primary">
<?php echo JText::_($item->action_key) ?>
</button>
<?php endif; ?>
<?php if (JFactory::getUser()->authorise('core.edit.state', 'com_postinstall')) : ?>
<button onclick="window.location='index.php?option=com_postinstall&view=message&task=unpublish&id=<?php echo $item->postinstall_message_id ?>&<?php echo $this->token ?>=1'; return false;" class="btn btn-inverse btn-small">
<?php echo JText::_('COM_POSTINSTALL_BTN_HIDE') ?>
</button>
<?php endif; ?>
</div>
</fieldset>
<?php endforeach; ?>
<?php
if ($this->eid == 700):
echo JHtml::_('sliders.panel', JText::_('COM_POSTINSTALL_LBL_RELEASENEWS'), 'postinstall-panel-releasenotes');
?>
<?php echo $renderer->render($mod, $params, $options); ?>
<?php
echo JHtml::_('sliders.end');
endif;
?>
<?php endif; ?>
No other release has this exact content. See every version of this file.