<th><?php echo Lang::txt('COM_TOOLS_TOOL_EXEC'); ?> </th> <td><?php echo \Components\Tools\Helpers\Html::getToolAccess($this->status['exec'], $this->status['membergroups']); ?> </td> </tr> <tr> <th><?php echo Lang::txt('COM_TOOLS_SOURCE_CODE'); ?> </th> <td><?php echo \Components\Tools\Helpers\Html::getCodeAccess($this->status['code']); ?> <?php if (\Components\Tools\Helpers\Html::toolActive($this->status['state']) && \Components\Tools\Helpers\Html::toolWIP($this->status['state'])) { ?> [<a class="license-tool" href="<?php echo Route::url('index.php?option=' . $this->option . '&controller=' . $this->controller . '&task=license&app=' . $this->status['toolname']); ?> "><?php echo Lang::txt('COM_TOOLS_CHANGE_LICENSE'); ?> </a>] <?php } ?> </td>
</th> <th scope="row"><?php echo ucfirst(Lang::txt('COM_TOOLS_PUBLISHED')); ?> </th> <th scope="row"></th> </tr> </thead> <tbody> <?php $i = 0; foreach ($this->versions as $t) { // get tool access text $toolaccess = \Components\Tools\Helpers\Html::getToolAccess($t->toolaccess, $this->status['membergroups']); // get source code access text $codeaccess = \Components\Tools\Helpers\Html::getCodeAccess($t->codeaccess); // get wiki access text $wikiaccess = \Components\Tools\Helpers\Html::getWikiAccess($t->wikiaccess); $handle = isset($t->doi) && $t->doi ? $hubDOIpath . 'r' . $this->status['resourceid'] . '.' . $t->doi : ''; $t->version = $t->state == 3 && $t->version == $this->status['currentversion'] ? Lang::txt('COM_TOOLS_NO_LABEL') : $t->version; ?> <tr id="displays_<?php echo $i; ?> "> <td> <span class="showcontrols"> <a href="#confdiv_<?php echo $i; ?> " class="expand" id="exp_<?php