diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-13 04:04:48 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-13 05:13:34 +0200 |
commit | 4a5ee765cf5030c7d92d88687e886079f6bafb1e (patch) | |
tree | 0b87acdf2f21f56dc1b97b063121899f3cae87bc /settings/help.php | |
parent | 67156f87e3757fbd5e692e7d6b2209cfafc6c3cf (diff) | |
download | nextcloud-server-4a5ee765cf5030c7d92d88687e886079f6bafb1e.tar.gz nextcloud-server-4a5ee765cf5030c7d92d88687e886079f6bafb1e.zip |
merged admin, help and settings to settings
Diffstat (limited to 'settings/help.php')
-rw-r--r-- | settings/help.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/settings/help.php b/settings/help.php new file mode 100644 index 00000000000..b6466d282bf --- /dev/null +++ b/settings/help.php @@ -0,0 +1,27 @@ +<?php + +require_once('../lib/base.php'); +if( !OC_User::isLoggedIn()){ + header( "Location: ".OC_Helper::linkTo( "", "index.php" )); + exit(); +} + +//hardcode for testing +$pagecount=8; +$page=2; + + +// Load the files we need +OC_Util::addStyle( "settings", "settings" ); +OC_App::setActiveNavigationEntry( "help" ); + +$kbe=OC_OCSClient::getKnownledgebaseEntries(); + + +$tmpl = new OC_Template( "settings", "help", "user" ); +$tmpl->assign( "kbe", $kbe ); +$tmpl->assign( "pagecount", $pagecount ); +$tmpl->assign( "page", $page ); +$tmpl->printPage(); + +?> |