diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-13 04:04:48 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-13 05:13:34 +0200 |
commit | 4a5ee765cf5030c7d92d88687e886079f6bafb1e (patch) | |
tree | 0b87acdf2f21f56dc1b97b063121899f3cae87bc /settings/templates/help.php | |
parent | 67156f87e3757fbd5e692e7d6b2209cfafc6c3cf (diff) | |
download | nextcloud-server-4a5ee765cf5030c7d92d88687e886079f6bafb1e.tar.gz nextcloud-server-4a5ee765cf5030c7d92d88687e886079f6bafb1e.zip |
merged admin, help and settings to settings
Diffstat (limited to 'settings/templates/help.php')
-rw-r--r-- | settings/templates/help.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/settings/templates/help.php b/settings/templates/help.php new file mode 100644 index 00000000000..4cd748c3dff --- /dev/null +++ b/settings/templates/help.php @@ -0,0 +1,24 @@ +<?php if(is_null($_["kbe"])):?> + Can't connect to Q&A database +<?php else:?> + <table id="help" cellspacing="20"> + <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"><p><strong><?php echo $kb["name"]; ?></strong></p><?php echo('<span class="type">'.$kb['description'].'</span>'); ?> + <?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( "settings", "help.php" ).'?page='; + $pageNavi=OC_Util::getPageNavi($_['pagecount'],$_['page'],$url); + $pageNavi->printPage(); + ?> + <a target="_blank" class="prettybutton" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new"><?php echo $l->t( 'Ask a question' ); ?></a> +<?php endif;?> + + |