From: Frank Karlitschek Date: Sat, 16 Apr 2011 23:11:44 +0000 (+0200) Subject: owncloud now with even more buzzwords. we outsourced the doccumentation and use an... X-Git-Tag: v3.0~267^2~558^2~108 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0820cb8f17c4da54b018be27e5cfd566098c2e3d;p=nextcloud-server.git owncloud now with even more buzzwords. we outsourced the doccumentation and use an online knowledgebase --- diff --git a/help/css/help.css b/help/css/help.css new file mode 100644 index 00000000000..02bcade3cc2 --- /dev/null +++ b/help/css/help.css @@ -0,0 +1,64 @@ +/* APPS TABLE */ + +table td.date +{ + width: 5em; + padding: 0.5em 1em; + text-align: right; +} + +.preview +{ + padding: 3px; + text-align: left; +} + +table td.date +{ + width: 11em; + color: #555555; +} + +table td.selection, table th.selection, table td.fileaction +{ + width: 2em; + text-align: center; +} + +table td.name a +{ + padding: 6px; + text-decoration: none; + color: #555555; +} + +.type +{ + padding: 6px; + text-decoration: none; + color: #888888; + font-size: 0.8em; +} + +.description +{ + padding: 6px; + text-decoration: none; + color: #666666; + font-size: 0.9em; +} + + +.install a { + padding:0.2em 0.5em; + border:1px solid #ddd; + -moz-border-radius:15px; + -webkit-border-radius:15px; + border-radius:15px; + text-decoration: none; + font-size:1.5em; color:#666666; + background-color:#F0F0F0; +} +.install a:hover { + background-color:#DDDDDD; +} diff --git a/help/index.php b/help/index.php index fe20c1c4ab5..bed0ac7b6bb 100644 --- a/help/index.php +++ b/help/index.php @@ -7,6 +7,9 @@ if( !OC_USER::isLoggedIn()){ exit(); } +// Load the files we need +OC_UTIL::addStyle( "help", "help" ); + OC_APP::setActiveNavigationEntry( "help" ); $kbe=OC_OCSCLIENT::getKnownledgebaseEntries(); diff --git a/help/templates/index.php b/help/templates/index.php index 89674e01874..5ff414eb4a7 100644 --- a/help/templates/index.php +++ b/help/templates/index.php @@ -9,7 +9,7 @@ - "") { echo(''); } ?> + "") { echo(''); } ?> " title="">
'.$kb['description'].''); ?> diff --git a/lib/ocsclient.php b/lib/ocsclient.php index 9f6a79e7479..71a0b1279ab 100644 --- a/lib/ocsclient.php +++ b/lib/ocsclient.php @@ -133,9 +133,10 @@ class OC_OCSCLIENT{ $kb['id']=$tmp[$i]->id; $kb['name']=$tmp[$i]->name; $kb['description']=$tmp[$i]->description; + $kb['preview1']=$tmp[$i]->smallpreviewpic1; $kbe[]=$kb; } - return $kb; + return $kbe; }