jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
605 B

'use strict';
const { themes, codeThemes } = require(__dirname+'/../../../lib/misc/themes.js')
, i18n = require(__dirname+'/../../../lib/locale/locale.js')
, { getCountryNames, countryCodes } = require(__dirname+'/../../../lib/misc/countries.js');
module.exports = async (req, res) => {
res
.set('Cache-Control', 'private, max-age=5')
.render('managesettings', {
csrf: req.csrfToken(),
permissions: res.locals.permissions,
countryNamesMap: getCountryNames(res.locals.locale, { select: 'official' }),
countryCodes,
themes,
codeThemes,
languages: i18n.getLocales(),
});
};