summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/appinfo/info.xml
blob: 5d7a647fd03a1d793efa56ae19420654b35dd7ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0"?>
<info>
	<id>updatenotification</id>
	<name>Update notification</name>
	<description>Displays update notifications for ownCloud and provides the SSO for the updater.</description>
	<licence>AGPL</licence>
	<author>Lukas Reschke</author>
	<version>0.2.0</version>
	<namespace>UpdateNotification</namespace>
	<default_enable/>
	<dependencies>
		<owncloud min-version="9.1" max-version="9.1" />
	</dependencies>
</info>
ntry( "admin" ); $tmpl = new OC_Template( 'settings', 'admin', 'user'); $forms=OC_App::getForms('admin'); $htaccessworking=OC_Util::ishtaccessworking(); $entries=OC_Log_Owncloud::getEntries(3); $entriesremain=(count(OC_Log_Owncloud::getEntries(4)) > 3)?true:false; function compareEntries($a, $b) { return $b->time - $a->time; } usort($entries, 'compareEntries'); $tmpl->assign('loglevel', OC_Config::getValue( "loglevel", 2 )); $tmpl->assign('entries', $entries); $tmpl->assign('entriesremain', $entriesremain); $tmpl->assign('htaccessworking', $htaccessworking); $tmpl->assign('internetconnectionworking', OC_Util::isinternetconnectionworking()); $tmpl->assign('islocaleworking', OC_Util::issetlocaleworking()); $tmpl->assign('has_fileinfo', OC_Util::fileInfoLoaded()); $tmpl->assign('backgroundjobs_mode', OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax')); $tmpl->assign('shareAPIEnabled', OC_Appconfig::getValue('core', 'shareapi_enabled', 'yes')); // Check if connected using HTTPS if (OC_Request::serverProtocol() == 'https') { $connectedHTTPS = true; } else { $connectedHTTPS = false; } $tmpl->assign('isConnectedViaHTTPS', $connectedHTTPS); $tmpl->assign('enforceHTTPSEnabled', OC_Config::getValue( "forcessl", false)); $tmpl->assign('allowLinks', OC_Appconfig::getValue('core', 'shareapi_allow_links', 'yes')); $tmpl->assign('allowResharing', OC_Appconfig::getValue('core', 'shareapi_allow_resharing', 'yes')); $tmpl->assign('sharePolicy', OC_Appconfig::getValue('core', 'shareapi_share_policy', 'global')); $tmpl->assign('forms', array()); foreach($forms as $form) { $tmpl->append('forms', $form); } $tmpl->printPage();