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: d0ffe8c7ea6a2e79c07f1c27d6c7b15d5e06b4f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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 ();
?>