Файловый менеджер - Редактировать - /home/wuectly/www/administrator/components/com_icagenda/liveupdate/classes/tmpl/overview.php
Назад
<?php /** *------------------------------------------------------------------------------ * iCagenda v3 by Jooml!C - Events Management Extension for Joomla! 2.5 / 3.x *------------------------------------------------------------------------------ * * @package LiveUpdate 2.1.5 - 2.2.1 * @copyright Copyright (c)2010-2013 Nicholas K. Dionysopoulos / AkeebaBackup.com * @license GNU LGPLv3 or later <http://www.gnu.org/copyleft/lesser.html> * * @version 3.4.0 2014-12-21 * @since 1.2.6 */ /** * Specific strings iCagenda */ defined('_JEXEC') or die(); JHtml::_('behavior.framework'); JHtml::_('behavior.modal'); ?> <div class="liveupdate"> <?php if($this->updateInfo->releasenotes): ?> <div style="display:none;"> <div id="liveupdate-releasenotes"> <div class="liveupdate-releasenotes-text"> <?php echo $this->updateInfo->releasenotes ?> </div> </div> </div> <?php endif; ?> <?php if(!$this->updateInfo->supported): ?> <div class="liveupdate-notsupported"> <h3><?php echo JText::_('LIVEUPDATE_NOTSUPPORTED_HEAD') ?></h3> <p><?php echo JText::_('LIVEUPDATE_NOTSUPPORTED_INFO'); ?></p> <p class="liveupdate-url"> <?php echo $this->escape($this->updateInfo->extInfo->updateurl) ?> </p> <p><?php echo JText::sprintf('LIVEUPDATE_NOTSUPPORTED_ALTMETHOD', $this->escape($this->updateInfo->extInfo->title)); ?></p> <p class="liveupdate-buttons"> <button onclick="window.location='<?php echo $this->requeryURL ?>'" ><?php echo JText::_('LIVEUPDATE_REFRESH_INFO') ?></button> </p> </div> <?php elseif($this->updateInfo->stuck):?> <div class="liveupdate-stuck"> <h3><?php echo JText::_('LIVEUPDATE_STUCK_HEAD') ?></h3> <p><?php echo JText::_('LIVEUPDATE_STUCK_INFO'); ?></p> <p><?php echo JText::sprintf('LIVEUPDATE_NOTSUPPORTED_ALTMETHOD', $this->escape($this->updateInfo->extInfo->title)); ?></p> <p class="liveupdate-buttons"> <button onclick="window.location='<?php echo $this->requeryURL ?>'" ><?php echo JText::_('LIVEUPDATE_REFRESH_INFO') ?></button> </p> </div> <?php else: ?> <?php $class = $this->updateInfo->hasUpdates ? 'hasupdates' : 'noupdates'; $auth = $this->config->getAuthorization(); $auth = empty($auth) ? '' : '?'.$auth; ?> <?php if($this->needsAuth): ?> <p class="liveupdate-error-needsauth"> <?php echo JText::_('LIVEUPDATE_ERROR_NEEDS_PRO_ID'); ?> </p> <?php endif; ?> <div class="liveupdate-<?php echo $class?>"> <h3><?php echo JText::_('LIVEUPDATE_'.strtoupper($class).'_HEAD') ?><?php if ($class == 'hasupdates') : ?>!<?php endif; ?></h3> <div class="liveupdate-infotable"> <div class="liveupdate-row row0"> <span class="liveupdate-label"><?php echo JText::_('LIVEUPDATE_CURRENTVERSION') ?></span> <span class="liveupdate-data"><?php echo $this->updateInfo->extInfo->version ?></span> </div> <div class="liveupdate-row row1"> <span class="liveupdate-label"><?php echo JText::_('LIVEUPDATE_LATESTVERSION') ?></span> <span class="liveupdate-data"><?php echo $this->updateInfo->version ?></span> </div> <div class="liveupdate-row row0"> <span class="liveupdate-label"><?php echo JText::_('LIVEUPDATE_LATESTRELEASED') ?></span> <span class="liveupdate-data"><?php echo $this->updateInfo->date ?></span> </div> <div class="liveupdate-row row1"> <span class="liveupdate-label"><?php echo JText::_('LIVEUPDATE_DOWNLOADURL') ?></span> <span class="liveupdate-data"><a href="<?php echo $this->updateInfo->downloadURL.$auth?>"><?php echo $this->escape($this->updateInfo->downloadURL)?></a></span> </div> <?php if(!empty($this->updateInfo->releasenotes) || !empty($this->updateInfo->infoURL)): ?> <div class="liveupdate-row row0"> <span class="liveupdate-label"><?php echo JText::_('LIVEUPDATE_RELEASEINFO') ?></span> <span class="liveupdate-data"> <?php if($this->updateInfo->releasenotes): ?> <a href="#" id="btnLiveUpdateReleaseNotes" class="btn btn-warning btn-small"><i class="icon-file"></i> <?php echo JText::_('LIVEUPDATE_RELEASENOTES') ?></a> <?php JHTML::_('behavior.framework'); JHTML::_('behavior.modal'); $script = <<<ENDSCRIPT window.addEvent( 'domready' , function() { $('btnLiveUpdateReleaseNotes').addEvent('click', showLiveUpdateReleaseNotes); }); function showLiveUpdateReleaseNotes() { var liveupdateReleasenotes = $('liveupdate-releasenotes').clone(); SqueezeBox.fromElement( liveupdateReleasenotes, { handler: 'adopt', size: { x: 450, y: 350 } } ); } ENDSCRIPT; $document = JFactory::getDocument(); $document->addScriptDeclaration($script,'text/javascript'); ?> <?php endif; ?> <?php if($this->updateInfo->releasenotes && $this->updateInfo->infoURL): ?> <!-- • --> <?php endif; ?> <?php if($this->updateInfo->infoURL): ?> <!-- a class="btn btn-small" href="http://icagenda.joomlic.com" target="_blank"><?php echo JText::_('LIVEUPDATE_READMOREINFO') ?></a --> <?php endif; ?> <button class="btn btn-info btn-small" onclick="window.location='<?php echo $this->requeryURL ?>'" ><i class="icon-refresh"></i> <?php echo JText::_('LIVEUPDATE_REFRESH_INFO') ?></button> </span> </div> <?php endif; ?> </div> <p class="liveupdate-buttons"> <?php if($this->updateInfo->hasUpdates):?> <?php $disabled = $this->needsAuth ? 'disabled="disabled"' : ''?> <button class="btn btn-success btn-large" <?php echo $disabled?> onclick="window.location='<?php echo $this->runUpdateURL ?>'" ><i class="icon-download"></i> <?php echo JText::_('LIVEUPDATE_DO_UPDATE') ?></button> <?php endif;?> <!--button class="btn btn-info btn-small" onclick="window.location='<?php echo $this->requeryURL ?>'" ><i class="icon-refresh"></i> <?php echo JText::_('LIVEUPDATE_REFRESH_INFO') ?></button--> </p> </div> <?php endif; ?> <p class="liveupdate-poweredby"> Powered by <a href="https://www.akeebabackup.com/software/akeeba-live-update.html">Akeeba Live Update</a> </p> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка