primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<?php
/*
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*
* @component Phoca Gallery
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
defined('_JEXEC') or die('Restricted access'); ?>
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;
<table border="0" width="100%">
<tr>
<td align="center" valign="middle" height="486"><?php
if (isset($this->file->extid) && $this->file->extid !='') {
$resW = explode(',', $this->file->extw);
$resH = explode(',', $this->file->exth);
$correctImageRes = PhocaGalleryImage::correctSizeWithRate($resW[0], $resH[0], 640, 480);
echo '<a href="#" onclick="SqueezeBox.close();">'. HTMLHelper::_('image', $this->file->extl .'?imagesid='.md5(uniqid(time())), '').'</a>';
} else if ($this->file->linkthumbnailpath=='') {
echo '<center style="font-size:large;font-weight:bold;color:#b3b3b3;font-family: Helvetica, sans-serif;">'. Text::_( 'COM_PHOCAGALLERY_FILENAME_NOT_EXISTS' ).'</center>';
} else {
//echo '<a href="#" onclick="SqueezeBox.close();">'. JHtml::_('image', $this->file->linkthumbnailpath .'?imagesid='.md5(uniqid(time())), '').'</a>';
echo '<a href="#" onclick="SqueezeBox.close();"><img src="'.Uri::root().$this->file->linkthumbnailpath.'?imagesid='.md5(uniqid(time())).'" alt="" /></a>';
}
?>
</td>
</tr>
</table>

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>