-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.php
More file actions
15 lines (13 loc) · 808 Bytes
/
Copy pathsettings.php
File metadata and controls
15 lines (13 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
OC_Util::checkAdminUser();
OC_Util::addScript( "subphonic", "admin" );
$tmpl = new OC_Template('subphonic', 'settings');
$tmpl->assign('addr_subsonic', OC_Appconfig::getValue("subphonic", "addr_subsonic", ''));
$tmpl->assign('user_subsonic', OC_Appconfig::getValue("subphonic", "user_subsonic", ''));
$tmpl->assign('pass_subsonic', OC_Appconfig::getValue("subphonic", "pass_subsonic", ''));
$tmpl->assign('addr_headphones', OC_Appconfig::getValue("subphonic", "addr_headphones", ''));
$tmpl->assign('user_headphones', OC_Appconfig::getValue("subphonic", "user_headphones", ''));
$tmpl->assign('pass_headphones', OC_Appconfig::getValue("subphonic", "pass_headphones", ''));
$tmpl->assign('apikey_headphones', OC_Appconfig::getValue("subphonic", "apikey_headphones", ''));
return $tmpl->fetchPage();
?>