2011-07-17 18:36:15 +04:00
|
|
|
<?php if(is_null($_["kbe"])):?>
|
|
|
|
Can't connect to Q&A database
|
|
|
|
<?php else:?>
|
|
|
|
<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
|
2011-07-29 23:36:03 +04:00
|
|
|
$url=OC_Helper::linkTo( "help", "index.php" ).'?page=';
|
|
|
|
$pageNavi=OC_Util::getPageNavi($_['pagecount'],$_['page'],$url);
|
2011-07-17 18:36:15 +04:00
|
|
|
$pageNavi->printPage();
|
|
|
|
?>
|
2011-08-03 07:09:42 +04:00
|
|
|
<a target="_blank" class="prettybutton" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new"><?php echo $l->t( 'Ask a question' ); ?></a>
|
2011-07-17 18:36:15 +04:00
|
|
|
<?php endif;?>
|
2011-04-17 19:38:35 +04:00
|
|
|
|
|
|
|
|