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();
|
|
|
|
}
|
|
|
|
|
2011-04-17 21:46:09 +04:00
|
|
|
//hardcode for testing
|
|
|
|
$pagecount=8;
|
|
|
|
$page=2;
|
|
|
|
|
|
|
|
|
2011-04-17 03:11:44 +04:00
|
|
|
// 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
|
|
|
|
2011-04-17 02:53:10 +04:00
|
|
|
$kbe=OC_OCSCLIENT::getKnownledgebaseEntries();
|
|
|
|
|
2011-04-16 19:49:57 +04:00
|
|
|
|
2011-04-17 17:05:34 +04:00
|
|
|
$tmpl = new OC_TEMPLATE( "help", "index", "admin" );
|
2011-04-17 02:53:10 +04:00
|
|
|
$tmpl->assign( "kbe", $kbe );
|
2011-04-17 21:46:09 +04:00
|
|
|
$tmpl->assign( "pagecount", $pagecount );
|
|
|
|
$tmpl->assign( "page", $page );
|
2011-04-16 19:49:57 +04:00
|
|
|
$tmpl->printPage();
|
|
|
|
|
|
|
|
?>
|