Merge pull request #484 from nextcloud/reenable-help-section

[master] Reenable help section
This commit is contained in:
Morris Jobke 2016-07-21 09:19:11 +02:00 committed by GitHub
commit ca6c2c7855
2 changed files with 6 additions and 8 deletions

View File

@ -421,8 +421,6 @@ class OC_App {
$settings = array(); $settings = array();
// by default, settings only contain the help menu // by default, settings only contain the help menu
/*
* FIXME: Add help sidebar back once documentation is properly branded.
if (OC_Util::getEditionString() === '' && if (OC_Util::getEditionString() === '' &&
\OC::$server->getSystemConfig()->getValue('knowledgebaseenabled', true) == true \OC::$server->getSystemConfig()->getValue('knowledgebaseenabled', true) == true
) { ) {
@ -435,7 +433,7 @@ class OC_App {
"icon" => $urlGenerator->imagePath("settings", "help.svg") "icon" => $urlGenerator->imagePath("settings", "help.svg")
) )
); );
}*/ }
// if the user is logged-in // if the user is logged-in
if (OC_User::isLoggedIn()) { if (OC_User::isLoggedIn()) {

View File

@ -16,19 +16,19 @@
<?php } ?> <?php } ?>
<li> <li>
<a href="https://owncloud.org/support" target="_blank" rel="noreferrer"> <a href="https://docs.nextcloud.org" target="_blank" rel="noreferrer">
<?php p($l->t('Online documentation')); ?> <?php p($l->t('Online documentation')); ?>
</a> </a>
</li> </li>
<li> <li>
<a href="https://forum.owncloud.org" target="_blank" rel="noreferrer"> <a href="https://help.nextcloud.com" target="_blank" rel="noreferrer">
<?php p($l->t('Forum')); ?> <?php p($l->t('Forum')); ?>
</a> </a>
</li> </li>
<?php if($_['admin']) { ?> <?php if($_['admin']) { ?>
<li> <li>
<a href="https://github.com/owncloud/core/blob/master/CONTRIBUTING.md" <a href="https://github.com/nextcloud/server/blob/master/CONTRIBUTING.md"
target="_blank" rel="noreferrer"> target="_blank" rel="noreferrer">
<?php p($l->t('Issue tracker')); ?> <?php p($l->t('Issue tracker')); ?>
</a> </a>
@ -36,7 +36,7 @@
<?php } ?> <?php } ?>
<li> <li>
<a href="https://owncloud.com/subscriptions/" target="_blank" rel="noreferrer"> <a href="https://nextcloud.com/enterprise/" target="_blank" rel="noreferrer">
<?php p($l->t('Commercial support')); ?> <?php p($l->t('Commercial support')); ?>
</a> </a>
</li> </li>