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

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

OCP\User::checkAdminUser();

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

$tmpl = new OCP\Template( 'ojsxc', 'settings');

$tmpl->assign('boshUrl', OCP\Config::getAppValue('ojsxc', 'boshUrl'));
$tmpl->assign('xmppDomain', OCP\Config::getAppValue('ojsxc', 'xmppDomain'));
$tmpl->assign('xmppResource', OCP\Config::getAppValue('ojsxc', 'xmppResource'));
$tmpl->assign('iceUrl', OCP\Config::getAppValue('ojsxc', 'iceUrl'));
$tmpl->assign('iceUsername', OCP\Config::getAppValue('ojsxc', 'iceUsername'));
$tmpl->assign('iceCredential', OCP\Config::getAppValue('ojsxc', 'iceCredential'));
$tmpl->assign('iceSecret', OCP\Config::getAppValue('ojsxc', 'iceSecret'));
$tmpl->assign('iceTtl', OCP\Config::getAppValue('ojsxc', 'iceTtl'));

return $tmpl->fetchPage();
?>