nextcloud/help/index.php

23 lines
435 B
PHP
Raw Normal View History

2011-04-16 19:49:57 +04:00
<?php
require_once('../lib/base.php');
require( 'template.php' );
if( !OC_USER::isLoggedIn()){
header( "Location: ".OC_HELPER::linkTo( "index.php" ));
exit();
}
// Load the files we need
OC_UTIL::addStyle( "help", "help" );
2011-04-16 20:06:23 +04:00
OC_APP::setActiveNavigationEntry( "help" );
2011-04-16 19:49:57 +04:00
$kbe=OC_OCSCLIENT::getKnownledgebaseEntries();
2011-04-16 19:49:57 +04:00
$tmpl = new OC_TEMPLATE( "help", "index", "user" );
$tmpl->assign( "kbe", $kbe );
2011-04-16 19:49:57 +04:00
$tmpl->printPage();
?>