1 2 3 4 5 6 7 8 9 10 11 12 13
<?php OC_Util::checkAdminUser(); OC_Util::addScript( "apptemplate", "admin" ); $tmpl = new OC_Template( 'apptemplate', 'settings'); $tmpl->assign('url',OC_Config::getValue( "somesetting", '' )); return $tmpl->fetchPage(); ?>