Welcome to mirror list, hosted at ThFree Co, Russian Federation.

settings.php « build - github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 02466e0e003f01afbe26860e055082c349ae4fd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

OCP\User::checkAdminUser();

OCP\Util::addScript('ojsxc', 'admin');

$config = \OC::$server->getConfig();
$tmpl = new OCP\Template('ojsxc', 'settings');

$tmpl->assign('serverType', $config->getAppValue('ojsxc', 'serverType'));
$tmpl->assign('boshUrl', $config->getAppValue('ojsxc', 'boshUrl'));
$tmpl->assign('xmppDomain', $config->getAppValue('ojsxc', 'xmppDomain'));
$tmpl->assign('xmppResource', $config->getAppValue('ojsxc', 'xmppResource'));
$tmpl->assign('xmppOverwrite', $config->getAppValue('ojsxc', 'xmppOverwrite'));
$tmpl->assign('xmppStartMinimized', $config->getAppValue('ojsxc', 'xmppStartMinimized'));
$tmpl->assign('iceUrl', $config->getAppValue('ojsxc', 'iceUrl'));
$tmpl->assign('iceUsername', $config->getAppValue('ojsxc', 'iceUsername'));
$tmpl->assign('iceCredential', $config->getAppValue('ojsxc', 'iceCredential'));
$tmpl->assign('iceSecret', $config->getAppValue('ojsxc', 'iceSecret'));
$tmpl->assign('iceTtl', $config->getAppValue('ojsxc', 'iceTtl'));

return $tmpl->fetchPage();