示例#1
0
"><?php 
    echo Lang::txt('COM_TOOLS_CHANGE_LICENSE');
    ?>
</a>]
							<?php 
}
?>
							</td>
						</tr>
						<tr>
							<th><?php 
echo Lang::txt('COM_TOOLS_PROJECT_AREA');
?>
</th>
							<td><?php 
echo \Components\Tools\Helpers\Html::getWikiAccess($this->status['wiki']);
?>
</td>
						</tr>
						
						<?php 
if ($this->status['github']) {
    ?>
							<tr>
								<th><?php 
    echo Lang::txt('Github URL:');
    ?>
</th>
								<td><a href="<?php 
    echo $this->status['github'];
    ?>
示例#2
0
    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 
        echo $i;
        ?>