2011-04-16 19:49:57 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once('../lib/base.php');
|
2011-07-29 23:36:03 +04:00
|
|
|
if( !OC_User::isLoggedIn()){
|
|
|
|
header( "Location: ".OC_Helper::linkTo( "index.php" ));
|
2011-04-16 19:49:57 +04:00
|
|
|
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
|
2011-07-29 23:36:03 +04:00
|
|
|
OC_Util::addStyle( "help", "help" );
|
|
|
|
OC_App::setActiveNavigationEntry( "help" );
|
2011-04-16 19:49:57 +04:00
|
|
|
|
2011-07-29 23:36:03 +04:00
|
|
|
$kbe=OC_OCSClient::getKnownledgebaseEntries();
|
2011-04-17 02:53:10 +04:00
|
|
|
|
2011-04-16 19:49:57 +04:00
|
|
|
|
2011-07-29 23:36:03 +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();
|
|
|
|
|
|
|
|
?>
|