<?php

/**
 * @version        1.9.7
 * @package        Joomla
 * @subpackage     EDocman
 * @author         Tuan Pham Ngoc
 * @copyright      Copyright (C) 2011 - 2024 Ossolution Team
 * @license        GNU/GPL, see LICENSE.php
 */

// No direct access.
defined('_JEXEC') or die; 

use Joomla\CMS\Language\Text;

$bootstrapHelper		= new EDocmanHelperBootstrap(EDocmanHelperHtml::getAdminBootstrapHelper());
$controlGroupClass		= $bootstrapHelper->getClassMapping('control-group');
$controlLabelClass		= $bootstrapHelper->getClassMapping('control-label');
$controlsClass			= $bootstrapHelper->getClassMapping('controls');
?>
<fieldset class="publishing form-horizontal options-form">
	<legend><?php echo Text::_( 'JGLOBAL_FIELDSET_PUBLISHING' ); ?></legend>
	<div class="<?php echo $controlGroupClass; ?>">
		<label class="<?php echo $controlLabelClass; ?>">
			<?php echo $this->form->getLabel('publish_up'); ?>
		</label>
		<div class="<?php echo $controlsClass; ?>">
			<?php echo $this->form->getInput('publish_up'); ?>
		</div>
	</div>
	<div class="<?php echo $controlGroupClass; ?>">
		<label class="<?php echo $controlLabelClass; ?>">
			<?php echo $this->form->getLabel('publish_down'); ?>
		</label>
		<div class="<?php echo $controlsClass; ?>">
			<?php echo $this->form->getInput('publish_down'); ?>
		</div>
	</div>
	<div class="<?php echo $controlGroupClass; ?>">
		<label class="<?php echo $controlLabelClass; ?>">
			<?php echo $this->form->getLabel('created_user_id'); ?>
		</label>
		<div class="<?php echo $controlsClass; ?>">
			<?php echo $this->form->getInput('created_user_id'); ?>
		</div>
	</div>
	<?php ///if (intval($this->item->created_time)) : ?>
		<div class="<?php echo $controlGroupClass; ?>">
			<label class="<?php echo $controlLabelClass; ?>">
				<?php echo $this->form->getLabel('created_time'); ?>
			</label>
			<div class="<?php echo $controlsClass; ?>">
				<?php echo $this->form->getInput('created_time'); ?>
			</div>
		</div>	
	<?php //endif; ?>
	<?php if ($this->item->modified_user_id) : ?>
		<div class="<?php echo $controlGroupClass; ?>">
			<label class="<?php echo $controlLabelClass; ?>">
				<?php echo $this->form->getLabel('modified_user_id'); ?>
			</label>
			<div class="<?php echo $controlsClass; ?>">
				<?php echo $this->form->getInput('modified_user_id'); ?>
			</div>
		</div>	
		<div class="<?php echo $controlGroupClass; ?>">
			<label class="<?php echo $controlLabelClass; ?>">
				<?php echo $this->form->getLabel('modified_time'); ?>
			</label>
			<div class="<?php echo $controlsClass; ?>">
				<?php echo $this->form->getInput('modified_time'); ?>
			</div>
		</div>				
	<?php endif; ?>
	<div class="<?php echo $controlGroupClass; ?>">
		<label class="<?php echo $controlLabelClass; ?>">
			<?php echo $this->form->getLabel('hits'); ?>
		</label>
		<div class="<?php echo $controlsClass; ?>">
			<?php echo $this->form->getInput('hits'); ?>
		</div>
	</div>
	<div class="<?php echo $controlGroupClass; ?>">
		<label class="<?php echo $controlLabelClass; ?>">
			<?php echo $this->form->getLabel('downloads'); ?>
		</label>
		<div class="<?php echo $controlsClass; ?>">
			<?php echo $this->form->getInput('downloads'); ?>
		</div>
	</div>
</fieldset>	
