diff options
author | Frank Karlitschek <karlitschek@kde.org> | 2011-04-17 00:53:10 +0200 |
---|---|---|
committer | Frank Karlitschek <karlitschek@kde.org> | 2011-04-17 00:53:10 +0200 |
commit | ca04b33abebce8ac21b561882761b4467302639d (patch) | |
tree | e9c6cc5f8e228fdd0cbca4a277e2419d587d005e /help/templates | |
parent | 7de3ecfe5f5e7eebe88b5eb7027abfa0c73898cd (diff) | |
download | nextcloud-server-ca04b33abebce8ac21b561882761b4467302639d.tar.gz nextcloud-server-ca04b33abebce8ac21b561882761b4467302639d.zip |
first step on online ocs knowledgebase integration
Diffstat (limited to 'help/templates')
-rw-r--r-- | help/templates/index.php | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/help/templates/index.php b/help/templates/index.php index 19b0fa8e7fa..89674e01874 100644 --- a/help/templates/index.php +++ b/help/templates/index.php @@ -1 +1,17 @@ -This is self-explanatory. Why are you here? +<?php +/* + * Template for settings page + */ +?> +<h1>Help</h1> + +<table cellspacing="0"> + <tbody> + <?php foreach($_["kbe"] as $kb): ?> + <tr> + <td width="1"><?php if($kb["preview"] <> "") { echo('<a href="'.OC_HELPER::linkTo( "help", "index.php" ).'?id='.$kb['id'].'"><img class="preview" border="0" src="'.$kb["preview"].'" /></a>'); } ?> </a></td> + <td class="name"><a href="<?php echo(OC_HELPER::linkTo( "help", "index.php" ).'?id='.$kb['id']); ?>" title=""><?php echo $kb["name"]; ?></a><br /><?php echo('<span class="type">'.$kb['description'].'</span>'); ?></td> + </tr> + <?php endforeach; ?> + </tbody> +</table> |