Baris Soner Usakli 11 years ago
commit 030cfbffa4

@ -38,7 +38,7 @@
"prompt": "~0.2.11", "prompt": "~0.2.11",
"uglify-js": "~2.4.0", "uglify-js": "~2.4.0",
"validator": "~1.5.1", "validator": "~1.5.1",
"nodebb-plugin-mentions": "~0.2", "nodebb-plugin-mentions": "~0.3",
"nodebb-plugin-markdown": "~0.3", "nodebb-plugin-markdown": "~0.3",
"nodebb-theme-vanilla": "~0.0.13", "nodebb-theme-vanilla": "~0.0.13",
"nodebb-theme-cerulean": "~0.0.12", "nodebb-theme-cerulean": "~0.0.12",

@ -114,7 +114,7 @@ define(function() {
for (var x = 0; x < numThemes; x++) { for (var x = 0; x < numThemes; x++) {
var theme = bootswatch.themes[x]; var theme = bootswatch.themes[x];
themeEl.setAttribute('data-css', theme.cssMin); themeEl.setAttribute('data-css', theme.cssCdn);
themeEl.setAttribute('data-theme', theme.name); themeEl.setAttribute('data-theme', theme.name);
themeEl.innerHTML = '<img src="' + theme.thumbnail + '" />' + themeEl.innerHTML = '<img src="' + theme.thumbnail + '" />' +
'<div>' + '<div>' +

@ -39,6 +39,10 @@
languageCode = 'cz'; languageCode = 'cz';
break; break;
case 'zh_cn':
languageCode = 'zh-CN';
break;
default: default:
languageCode = config.defaultLang; languageCode = config.defaultLang;
break; break;

@ -37,7 +37,7 @@
<script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script src="{relative_path}/src/utils.js"></script> <script src="{relative_path}/src/utils.js"></script>
<link rel="stylesheet" type="text/css" href="{relative_path}/css/theme.css" /> <link rel="stylesheet" type="text/css" href="{relative_path}/css/theme.css?{cache-buster}" />
</head> </head>
<body class="admin"> <body class="admin">

Loading…
Cancel
Save