예제 #1
0
echo Lang::txt('COM_TOOLS_CONTRIBTOOL_NEW_TOOL');
?>
</a></li>
		</ul>
	</div><!-- / #content-header-extra -->
</header><!-- / #content-header -->

<section class="main section">
	<?php 
$this->status['published'] != 1 && !$this->status['version'] ? $hint = '1.0' : ($hint = '');
// if tool is under dev and no version was specified before
$statuspath = Route::url('index.php?option=' . $this->option . '&controller=' . $this->controller . '&task=status&app=' . $this->status['toolname']);
$newstate = $this->action == 'edit' ? $this->status['state'] : \Components\Tools\Helpers\Html::getStatusNum('Approved');
$submitlabel = $this->action == 'edit' ? Lang::txt('COM_TOOLS_SAVE') : Lang::txt('COM_TOOLS_USE_THIS_VERSION');
if ($this->action == 'confirm') {
    \Components\Tools\Helpers\Html::writeApproval(Lang::txt('COM_TOOLS_CONFIRM_VERSION'));
}
$rconfig = Component::params('com_resources');
$hubDOIpath = $rconfig->get('doi');
?>
	<div class="grid">
		<div class="col span-half">
			<?php 
if ($this->error) {
    ?>
				<p class="error"><?php 
    echo $this->error;
    ?>
</p>
			<?php 
}
예제 #2
0
?>
</a></li>
			<li><a class="icon-add add btn" href="<?php 
echo Route::url('index.php?option=' . $this->option . '&controller=' . $this->controller . '&task=create');
?>
"><?php 
echo Lang::txt('COM_TOOLS_CONTRIBTOOL_NEW_TOOL');
?>
</a></li>
		</ul>
	</div><!-- / #content-header-extra -->
</header><!-- / #content-header -->

<section class="main section">
	<?php 
\Components\Tools\Helpers\Html::writeApproval('Approve');
?>

	<?php 
if ($this->getError()) {
    ?>
		<p class="error"><?php 
    echo implode('<br />', $this->getErrors());
    ?>
</p>
	<?php 
}
?>

	<h4><?php 
echo Lang::txt('COM_TOOLS_CONTRIBTOOL_FINAL_REVIEW');
예제 #3
0
</header><!-- / #content-header -->

<section class="main section">
	<?php 
if ($this->getError()) {
    ?>
		<p class="error"><?php 
    echo $this->getError();
    ?>
</p>
	<?php 
}
?>
	<?php 
if ($this->action == 'confirm') {
    \Components\Tools\Helpers\Html::writeApproval('Confirm license');
}
//$license = ($this->status['license'] && !$open) ? $this->status['license'] : '' ;
?>
	<div class="grid">
		<div class="col span-half">
			<h3>
				<?php 
echo $this->action == 'edit' ? Lang::txt('Specify license for next tool release:') : Lang::txt('Please confirm your license for this tool release:');
?>
			</h3>
			<form action="<?php 
echo Route::url('index.php?option=' . $this->option . '&controller=' . $this->controller . '&task=license');
?>
" method="post" id="versionForm" name="versionForm">
				<fieldset class="versionfield">