. * */ require_once('../lib/base.php'); oc_require( 'template.php' ); if( !OC_USER::isLoggedIn()){ header( "Location: ".OC_UTIL::linkto( "index.php" )); exit(); } $adminpages = array(); foreach( OC_UTIL::$adminpages as $i ){ // Do some more work here soon $adminpages[] = $i; } $tmpl = new OC_TEMPLATE( "admin", "index", "admin" ); $tmpl->assign( "adminpages", $adminpages ); $tmpl->printPage(); ?>