| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awebpaca/blog/administrator/components/com_jaextmanager/views/default/tmpl/ |
Upload File : |
<?php
/**
* ------------------------------------------------------------------------
* JA Extenstion Manager Component for J3.x
* ------------------------------------------------------------------------
* Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
* @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
* Author: J.O.O.M Solutions Co., Ltd
* Websites: http://www.joomlart.com - http://www.joomlancers.com
* ------------------------------------------------------------------------
*/
//no direct access
defined( '_JEXEC' ) or die( 'Retricted Access' );
global $jauc;
$obj = $this->obj;
$listRecoveryFiles = $this->listRecoveryFiles;
$totalFiles = count($listRecoveryFiles);
$index = 0;
$version = "";
$conflictNote = JText::_("CONFLICTED_FILES_DESCRIPTION");
$sTooltips = "";
for ($index = 1; $index <= $totalFiles; $index++) {
$file = $listRecoveryFiles[$index-1];
if ( $file['version'] != $version ) {
$version = $file['version'];
$containerId = "backup-".$obj->extId."-".$index;
$startGroup = true;
} else {
$startGroup = false;
}
$endGroup = (($index == $totalFiles) || (($index < $totalFiles) && $listRecoveryFiles[$index]['version'] != $version)) ? true : false;
$displayGroup = ($index==1) ? "block" : "none";
$statusGroup = ($index==1) ? JText::_("HIDE") : JText::_("SHOW");
?>
<?php if($startGroup): ?>
<?php
$tipid = uniqid("ja-tooltip-");
$sTooltips .= jaEMTooltips($tipid, $conflictNote);
?>
<?php echo JText::sprintf("VERSION_S", $file['version']); ?>
[ <a href="#" style="color:#800000" onclick="showMoreOlderVersion(this, '<?php echo $containerId; ?>'); return false;"><?php echo $statusGroup; ?></a> ]
<br />
<div id="<?php echo $containerId; ?>" style="display:<?php echo $displayGroup; ?>" class="ja-backup-list">
<table class="ja-uc-child">
<tr>
<th width="120"><?php echo JText::_("BACKUP_DATE"); ?></th>
<th><?php echo JText::_("COMMENT"); ?></th>
<th width="100"><?php echo JText::sprintf("CONFLICT_S", "<sup id=\"{$tipid}\">[?]<sup>"); ?></th>
<th width="100"> </th>
</tr>
<?php endif; ?>
<tr>
<td><?php echo $file['title']; ?></td>
<td><?php echo (isset($file['comment']) ? $file['comment'] : ''); ?></td>
<td>
<?php
if($file['conflicted']):
$link = sprintf("?option=%s&view=default&task=compare_conflicted&cId[]=%s&folder=%s", JACOMPONENT, $obj->extId, $file['conflictedFolder']);
?>
<?php echo JText::_("YES"); ?>
(<a href="<?php echo $link; ?>" title="<?php echo JText::_("VIEW_CONFLICTED_FILES"); ?>">
<?php echo JText::_("VIEW"); ?>
</a>)
<?php else: ?>
<?php echo JText::_("NO"); ?>
<?php endif; ?>
</td>
<td>
<a href="#" onclick="doRecoveryItem('<?php echo $obj->extId; ?>', '<?php echo $file['version']; ?>', '<?php echo $file['name']; ?>'); return false;" title="<?php echo JText::_("ROLLBACK_TO_THIS_POINT"); ?>">
<?php echo JText::_("ROLLBACK_NOW"); ?> </a> </td>
</tr>
<?php if($endGroup): ?>
</table>
</div>
<?php endif; ?>
<?php }//endfor ?>
<?php echo $sTooltips; ?>