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,74 @@
<?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\Language\Text;
use Joomla\CMS\Uri\Uri;
if ($this->t['display_category'] == 0) {
echo Text::_('COM_PHOCAGALLERY_CATEGORY was not selected in parameters');
} else {
echo '<div id="phocagallery" class="pg-cooliris3dwall-view-view'.$this->params->get( 'pageclass_sfx' ).'">'. "\n";
// Heading
$heading = '';
if ($this->params->get( 'page_title' ) != '') {
$heading .= $this->params->get( 'page_title' );
}
if ( $this->t['displaycatnametitle'] == 1) {
if ($this->category->title != '') {
if ($heading != '') {
$heading .= ' - ';
}
$heading .= $this->category->title;
}
}
// Pagetitle
if ($this->t['showpageheading'] != 0) {
if ( $heading != '') {
echo '<h1>'. $this->escape($heading) . '</h1>';
}
}
// Category Description
if ( $this->category->description != '' ) {
echo '<div class="pg-cooliris3dwall-view-desc'.$this->params->get( 'pageclass_sfx' ).'">';
echo $this->category->description.'</div>'. "\n";
}
?>
<object id="o"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="<?php echo $this->t['cooliris3d_wall_width'];?>"
height="<?php echo $this->t['cooliris3d_wall_height'];?>">
<param name="movie"
value="http://apps.cooliris.com/embed/cooliris.swf" />
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="always" />
<param name="wmode" value="transparent" />
<param name="flashvars"
value="feed=<?php echo Uri::root() . $this->t['path']->image_rel . (int)$this->category->id;?>.rss" />
<embed type="application/x-shockwave-flash"
src="http://apps.cooliris.com/embed/cooliris.swf"
flashvars="feed=<?php echo Uri::root() . $this->t['path']->image_rel . (int)$this->category->id;?>.rss"
width="<?php echo $this->t['cooliris3d_wall_width'];?>"
height="<?php echo $this->t['cooliris3d_wall_height'];?>"
allowFullScreen="true"
allowScriptAccess="always"
wmode="transparent" >
</embed>
</object>
<?php
}
echo '<div>&nbsp;</div>';
echo PhocaGalleryUtils::getExtInfo();
echo '</div>';
?>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<layout title="COM_PHOCAGALLERY_COOLIRIS_3D_WALL_LAYOUT">
<message>
<![CDATA[COM_PHOCAGALLERY_COOLIRIS_3D_WALL_LAYOUT_DESC]]>
</message>
</layout>
<fields name="request">
<fieldset name="request" addfieldpath="/administrator/components/com_phocagallery/models/fields">
<field name="id" type="phocagallerycategory" section="com_phocagallery" default="0" label="Select Category" description="A Phoca gallery category" required="true" />
</fieldset>
</fields>
<fields name="params">
<fieldset name="basic" addfieldpath="/administrator/components/com_phocagallery/models/fields" >
<field name="cooliris3d_wall_width" default="600" size="10" type="text" label="Cooliris 3D Wall Width" description="Cooliris 3D Wall Width DESC" />
<field name="cooliris3d_wall_height" default="370" size="10" type="text" label="Cooliris 3D Wall Height" description="Cooliris 3D Wall Height DESC" />
<field name="display_cat_name_title" type="list" default="1" label="Display Category Name in Page Title" description="Display Category Name in Page Title DESC">
<option value="0">Hide</option>
<option value="1">Show</option>
</field>
<field name="display_cat_name_breadcrumbs" type="list" default="0" label="Display Category Name in Breadcrumbs" description="Display Category Name in Breadcrumbs DESC">
<option value="0">Menu Item Title</option>
<option value="1">Menu Item Title - Category Title</option>
<option value="2">Category Title</option>
</field>
</fieldset>
</fields>
</metadata>

View File

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