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();
?>
|