. * */ require_once('../../lib/base.php'); require_once( 'lib_share.php' ); require( 'template.php' ); if( !OC_USER::isLoggedIn() || !OC_GROUP::inGroup( $_SESSION['user_id'], 'admin' )){ header( "Location: ".OC_HELPER::linkTo( "index.php" )); exit(); } OC_APP::setActiveNavigationEntry( "files_sharing_administration" ); $tmpl = new OC_TEMPLATE( "files_sharing", "admin", "admin" ); $tmpl->assign( 'shared_items', OC_SHARE::getSharedItems()); $tmpl->printPage(); ?>