nextcloud/help/templates/index.php

23 lines
847 B
PHP
Raw Normal View History

<h1>Questions and Answers</h1>
<table cellspacing="0" width="100%">
<tbody>
<?php foreach($_["kbe"] as $kb): ?>
<tr>
<td width="1"><?php if($kb["preview1"] <> "") { echo('<img class="preview" border="0" src="'.$kb["preview1"].'" />'); } ?> </a></td>
<td class="name"><?php echo $kb["name"]; ?><br /><?php echo('<span class="type">'.$kb['description'].'</span>'); ?><br />
<?php if($kb['answer']<>'') echo('<br /><span class="type"><b>Answer:</b></span><br /><span class="type">'.$kb['answer'].'</span>');?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php
$url=OC_HELPER::linkTo( "help", "index.php" ).'?page=';
OC_UTIL::showPageNavi($_['pagecount'],$_['page'],$url);
?>
<a target="_blank" class="prettybutton" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new">ASK A QUESTION</a>