primo commit
This commit is contained in:
@ -0,0 +1,37 @@
|
||||
<?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;
|
||||
|
||||
$currentFolder = '';
|
||||
if (isset($this->t['state']->folder) && $this->t['state']->folder != '') {
|
||||
$currentFolder = $this->t['state']->folder;
|
||||
}
|
||||
|
||||
echo '<div class="ph-item-list-box ph-item-list-box-admin">';
|
||||
echo $this->loadTemplate('up');
|
||||
if (count($this->t['folders']) > 0) {
|
||||
for ($i=0,$n=count($this->t['folders']); $i<$n; $i++) {
|
||||
$this->setFolder($i);
|
||||
echo $this->loadTemplate('folder');
|
||||
}
|
||||
} else {
|
||||
echo '<div class="ph-item-list-box-head">'.Text::_( 'COM_PHOCAGALLERY_THERE_IS_NO_FOLDER' ).'</div>';
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
echo '<div style="clear:both"></div>';
|
||||
echo PhocaGalleryFileUpload::renderCreateFolder($this->t['session']->getName(), $this->t['session']->getId(), $currentFolder, 'phocagalleryf', 'field='.$this->field);
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,25 @@
|
||||
<?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
|
||||
*/
|
||||
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
defined('_JEXEC') or die('Restricted access'); ?>
|
||||
|
||||
|
||||
<div class="ph-item-box">
|
||||
<div class="ph-item-image"><a title="<?php echo $this->_tmp_folder->name ?>" href="index.php?option=com_phocagallery&view=phocagalleryf&tmpl=component&folder=<?php echo $this->_tmp_folder->path_with_name_relative_no; ?>&field=<?php echo $this->field; ?>"><span class="ph-cp-item"><i class="phi duotone phi-fs-l phi-fc-brd icon-folder-close"></i></span></a></div>
|
||||
|
||||
<div class="ph-item-name"><a title="<?php echo $this->_tmp_folder->name ?>" href="index.php?option=com_phocagallery&view=phocagalleryf&tmpl=component&folder=<?php echo $this->_tmp_folder->path_with_name_relative_no; ?>&field=<?php echo $this->field; ?>"><span><?php echo PhocagalleryText::WordDelete($this->_tmp_folder->name, 15); ?></span></a></div>
|
||||
|
||||
<div class="ph-item-action-box">
|
||||
<a href="#" onclick="if (window.parent) window.parent.<?php echo $this->fce; ?>('<?php echo $this->_tmp_folder->path_with_name_relative_no; ?>');" title="<?php echo Text::_('COM_PHOCAGALLERY_INSERT_FOLDER') ?>"><span class="ph-cp-item"><i class="phi duotone phi-fs-m phi-fc-gd icon-download"></i></span></a></div>
|
||||
</div>
|
||||
@ -0,0 +1,19 @@
|
||||
<?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'); ?>
|
||||
|
||||
<div class="ph-item-box">
|
||||
<div class="ph-item-image"><a href="index.php?option=com_phocagallery&view=phocagalleryf&tmpl=component&folder=<?php echo PhocaGalleryText::filterValue($this->t['state']->parent, 'folderpath'); ?>&field=<?php echo htmlspecialchars($this->field); ?>" ><span class="ph-cp-item"><i class="phi duotone phi-fs-l phi-fc-bl icon-arrow-up"></i></span></a></div>
|
||||
|
||||
<div class="ph-item-name"><a href="index.php?option=com_phocagallery&view=phocagalleryf&tmpl=component&folder=<?php echo PhocaGalleryText::filterValue($this->t['state']->parent, 'folderpath'); ?>&field=<?php echo htmlspecialchars($this->field); ?>" >..</a></div>
|
||||
|
||||
<div class="ph-item-action-box"></div>
|
||||
</div>
|
||||
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
Reference in New Issue
Block a user