$tmpl->assign('isAdminPage', false, false);
$tmpl->assign('mounts', OC_Mount_Config::getPersonalMountPoints());
$tmpl->assign('certs', OC_Mount_Config::getCertificates());
-$tmpl->assign('dependencies', OC_Mount_Config::checkDependencies(),false);
+$tmpl->assign('dependencies', OC_Mount_Config::checkDependencies(), false);
$tmpl->assign('backends', $backends);
return $tmpl->fetchPage();
$tmpl->assign('backends', OC_Mount_Config::getBackends());
$tmpl->assign('groups', OC_Group::getGroups());
$tmpl->assign('users', OCP\User::getUsers());
-$tmpl->assign('dependencies', OC_Mount_Config::checkDependencies(),false);
+$tmpl->assign('dependencies', OC_Mount_Config::checkDependencies(), false);
$tmpl->assign('allowUserMounting', OCP\Config::getAppValue('files_external', 'allow_user_mounting', 'yes'));
return $tmpl->fetchPage();
'\"' => '\5c22',
'\#' => '\5c23',
);
- $dn = str_replace(array_keys($replacements),array_values($replacements), $dn);
+ $dn = str_replace(array_keys($replacements), array_values($replacements), $dn);
return $dn;
}
mkdir($tmpDirNoClean);
}
$file=$tmpDirNoClean.md5(time().rand()).$postfix;
- $fh=fopen($file,'w');
+ $fh=fopen($file, 'w');
fclose($fh);
return $file;
}
}
foreach($accepted_languages as $i) {
$temp = explode(';', $i);
- $temp[0] = str_replace('-','_',$temp[0]);
+ $temp[0] = str_replace('-', '_', $temp[0]);
if( ($key = array_search($temp[0], $available)) !== false) {
return $available[$key];
}
foreach($available as $l) {
- if ( $temp[0] == substr($l,0,2) ) {
+ if ( $temp[0] == substr($l, 0, 2) ) {
return $l;
}
}