| Current Path : /home/smartconb/www/armencom33/components/com_eventgallery/tmpl/singleimage/ |
| Current File : /home/smartconb/www/armencom33/components/com_eventgallery/tmpl/singleimage/report.php |
<?php
/**
* @package Sven.Bluege
* @subpackage com_eventgallery
*
* @copyright Copyright (C) 2005 - 2019 Sven Bluege All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
defined('_JEXEC') or die('Restricted access');
/**
* @var \de\svenbluege\joomla\eventgallery\ObjectWithConfiguration $this
* @var \Svenbluege\Component\Eventgallery\Site\Library\File\File $file
*/
$file = $this->model->file;
?>
<h2><?php echo Text::_('COM_EVENTGALLERY_MESSAGES_REPORT_HEADLINE'); ?></h2>
<p><?php echo Text::_('COM_EVENTGALLERY_MESSAGES_REPORT_DESCRIPTION'); ?></p>
<p><?php echo $file->getThumbImgTag(100,100,'thumbnail', false, null, false, false)?></p>
<form action="<?php echo Route::_("index.php?option=com_eventgallery&view=singleimage&task=saveReport&layout=report") ?>"
method="post" class="form-validate form-horizontal">
<fieldset class="userdata-fieldset">
<?php foreach ($this->messageForm->getFieldset() as $field): ?>
<div class="control-group form-group row">
<?php if (!$field->hidden): ?>
<?php echo $field->label; ?>
<?php endif; ?>
<div class="controls col-sm-9">
<?php echo $field->input; ?>
</div>
</div>
<?php endforeach; ?>
</fieldset>
<fieldset>
<div class="eg-form-actions">
<div class="right">
<input type="submit" class="validate btn btn-primary"
value="<?php echo Text::_('COM_EVENTGALLERY_MESSAGES_SEND_REPORT') ?>"/>
</div>
</div>
</fieldset>
<input type="hidden" name="folder" value="<?php echo $file->getFolderName(); ?>">
<input type="hidden" name="file" value="<?php echo $file->getFileName(); ?>">
<?php echo \Joomla\CMS\HTML\HTMLHelper::_('form.token'); ?>
</form>