File manager - Edit - /home/verseaumee/empowernetkenyajuly2026/backuponupdate.tar
Back
tmpl/default.html.php 0000604 00000004423 15251771207 0010626 0 ustar 00 <?php /** * @package akeebabackup * @copyright Copyright (c)2006-2019 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ defined('_JEXEC') or die(); /** * @package AkeebaBackup * @subpackage backuponupdate * @copyright Copyright (c)2006-2019 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later * * @since 5.4.1 * * This file contains the CSS for rendering the status (footer) icon for the Backup on Update plugin. The icon is only * rendered in the administrator backend of the site. * * You can override this file WITHOUT overwriting it. Copy this file into: * * administrator/templates/YOUR_TEMPLATE/html/plg_system_backuponupdate/default.html.php * * where YOUR_TEMPLATE is the folder of the administrator template you are using. Modify that copy. It will be loaded * instead of the file in plugins/system/backuponupdate. */ $token = urlencode(JFactory::getSession()->getToken()); $js = <<< JS ; // Work around broken third party Javascript function akeeba_backup_on_update_toggle() { window.jQuery.get('index.php?_akeeba_backup_on_update_toggle=$token', function() { location.reload(true); }); } JS; $document = JFactory::getApplication()->getDocument(); if (empty($document)) { $document = JFactory::getDocument(); } if (empty($document)) { return; } $document->addScriptDeclaration($js); ?> <div class="btn-group viewsite pull-right" id="akeebaBackupOnUpdateStatusContainer"> <a href="javascript:akeeba_backup_on_update_toggle()" class="hasPopover" data-title="<?php echo JText::_('PLG_SYSTEM_BACKUPONUPDATE_LBL_POPOVER_TITLE') ?>" data-content="<p><?php echo JText::_('PLG_SYSTEM_BACKUPONUPDATE_LBL_POPOVER_CONTENT_' . ($params['active'] ? 'ACTIVE' : 'INACTIVE')) ?></p><p class='small'><?php echo JText::_('PLG_SYSTEM_BACKUPONUPDATE_LBL_POPOVER_CONTENT_COMMON') ?></p>" data-placement="top"> <span class="badge badge-<?php echo $params['active'] ? 'success' : 'none' ?>"> <span class="icon-akeeba-backup-on-update"></span> </span> <?php echo JText::_('PLG_SYSTEM_BACKUPONUPDATE_LBL_' . ($params['active'] ? 'ACTIVE' : 'INACTIVE')) ?> </a> <span class="btn-group separator"></span> </div> tmpl/default.css.php 0000604 00000002362 15251771207 0010452 0 ustar 00 <?php /** * @package akeebabackup * @copyright Copyright (c)2006-2019 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ defined('_JEXEC') or die(); /** * @package AkeebaBackup * @subpackage backuponupdate * @copyright Copyright (c)2006-2019 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later * * @since 5.4.1 * * This file contains the CSS for rendering the status (footer) icon for the Backup on Update plugin. The icon is only * rendered in the administrator backend of the site. * * You can override this file WITHOUT overwriting it. Copy this file into: * * administrator/templates/YOUR_TEMPLATE/html/plg_system_backuponupdate/default.css.php * * where YOUR_TEMPLATE is the folder of the administrator template you are using. Modify that copy. It will be loaded * instead of the file in plugins/system/backuponupdate. */ ?> .icon-akeeba-backup-on-update { background-image: url("../media/com_akeeba/icons/akeeba-16-white.png"); width: 16px; height: 16px; } #akeebaBackupOnUpdateStatusContainer a span.badge { float: left; } #akeebaBackupOnUpdateStatusContainer a span.icon-akeeba-backup-on-update { margin: 0 -4px -3px; } tmpl/joomla4.html.php 0000604 00000005410 15251771207 0010544 0 ustar 00 <?php /** * @package akeebabackup * @copyright Copyright (c)2006-2019 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ defined('_JEXEC') or die(); /** * @package AkeebaBackup * @subpackage backuponupdate * @copyright Copyright (c)2006-2019 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later * * @since 6.4.1 * * This file contains the CSS for rendering the status (footer) icon for the Backup on Update plugin. The icon is only * rendered in the administrator backend of the site. * * You can override this file WITHOUT overwriting it. Copy this file into: * * administrator/templates/YOUR_TEMPLATE/html/plg_system_backuponupdate/joomla4.html.php * * where YOUR_TEMPLATE is the folder of the administrator template you are using. Modify that copy. It will be loaded * instead of the file in plugins/system/backuponupdate. */ $document = JFactory::getDocument(); $document->addScript('../media/com_akeeba/js/System.min.js'); $token = urlencode(JFactory::getSession()->getToken()); $js = <<< JS ; // Work around broken third party Javascript function akeeba_backup_on_update_toggle() { window.jQuery.get('index.php?_akeeba_backup_on_update_toggle=$token', function() { location.reload(true); }); } akeeba.System.documentReady(function() { var newListItemArray = document.getElementById('akeebabackup-bou-container').querySelectorAll('ul > li'); var headerLinks = document.getElementById('header').querySelectorAll('div.header-items ul.nav'); var newItem = newListItemArray[0]; var headerLink = headerLinks[0]; if (headerLink.childNodes.length < 2) { headerLink.appendChild(newItem); } else { headerLink.insertBefore(newItem, headerLink.childNodes[headerLink.childNodes.length - 2]); } var oldChild = document.getElementById('akeebabackup-bou-container'); oldChild.parentElement.removeChild(oldChild); }) JS; $document = JFactory::getApplication()->getDocument(); if (empty($document)) { $document = JFactory::getDocument(); } if (empty($document)) { return; } $document->addScriptDeclaration($js); ?> <div id="akeebabackup-bou-container"> <ul> <li class="nav-item"> <a class="nav-link dropdown-toggle" href="javascript:akeeba_backup_on_update_toggle()" title="<?php echo JText::_('PLG_SYSTEM_BACKUPONUPDATE_LBL_POPOVER_CONTENT_' . ($params['active'] ? 'ACTIVE' : 'INACTIVE')) ?>"> <span class="fa fa-akbou <?php echo $params['active'] ? 'fa-akbou-active' : 'fa-akbou-inactive' ?>" aria-hidden="true"></span> <span class="sr-only"> <?php echo JText::_('PLG_SYSTEM_BACKUPONUPDATE_LBL_' . ($params['active'] ? 'ACTIVE' : 'INACTIVE')) ?> </span> </a> </li> </ul> </div> tmpl/joomla4.css.php 0000604 00000003145 15251771207 0010373 0 ustar 00 <?php /** * @package akeebabackup * @copyright Copyright (c)2006-2019 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ defined('_JEXEC') or die(); /** * @package AkeebaBackup * @subpackage backuponupdate * @copyright Copyright (c)2006-2019 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later * * @since 6.4.1 * * This file contains the CSS for rendering the status (footer) icon for the Backup on Update plugin. The icon is only * rendered in the administrator backend of the site. * * You can override this file WITHOUT overwriting it. Copy this file into: * * administrator/templates/YOUR_TEMPLATE/html/plg_system_backuponupdate/joomla4.css.php * * where YOUR_TEMPLATE is the folder of the administrator template you are using. Modify that copy. It will be loaded * instead of the file in plugins/system/backuponupdate. */ ?> @font-face { font-family: "Akeeba Products for Joomla Status"; font-style: normal; font-weight: normal; src: url("../media/com_akeeba/fonts/akeeba/Akeeba-Products.woff") format("woff"); } span.fa-akbou:before { display: inline-block; font-family: 'Akeeba Products for Joomla Status'; font-style: normal; font-weight: normal; line-height: 1; -webkit-font-smoothing: antialiased; position: relative; -moz-osx-font-smoothing: grayscale; color: var(--primary-dark); background: transparent; } span[class*=fa-akbou]:before { content: 'B'; } span.fa-akbou-active:before { color: var(--primary-dark); } span.fa-akbou-inactive:before { color: var(--warning); } script.php 0000604 00000000752 15251771207 0006570 0 ustar 00 <?php /** * @package akeebabackup * @copyright Copyright (c)2006-2019 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ defined('_JEXEC') or die; // Load FOF if not already loaded if (!defined('FOF30_INCLUDED') && !@include_once(JPATH_LIBRARIES . '/fof30/include.php')) { throw new RuntimeException('This extension requires FOF 3.0.'); } class plgSystemBackuponupdateInstallerScript extends FOF30\Utils\InstallScript\Plugin { } web.config 0000604 00000001025 15251771207 0006511 0 ustar 00 <?xml version="1.0"?> <!-- This only works on IIS 7 or later. See https://www.iis.net/configreference/system.webserver/security/requestfiltering/fileextensions --> <configuration> <system.webServer> <security> <requestFiltering> <fileExtensions allowUnlisted="false" > <clear /> <add fileExtension=".html" allowed="true"/> </fileExtensions> </requestFiltering> </security> </system.webServer> </configuration>