diff --git a/nodebb b/nodebb
index b318989623..3733935784 100755
--- a/nodebb
+++ b/nodebb
@@ -1,4 +1,6 @@
#!/bin/bash
clear
-echo "Launching NodeBB in \"development\" mode"
+echo "Launching NodeBB in \"development\" mode."
+echo "To run the production build of NodeBB, please use \"forever\"."
+echo "More Information: https://github.com/designcreateplay/NodeBB/wiki/How-to-run-NodeBB"
NODE_ENV=development supervisor --extensions 'node|js|tpl' -- app $1
\ No newline at end of file
diff --git a/public/css/admin.less b/public/css/admin.less
index c56eeb74ce..9cb477f08e 100644
--- a/public/css/admin.less
+++ b/public/css/admin.less
@@ -85,6 +85,10 @@
&:hover {
background-color: rgba(128, 128, 128, 0.2);
}
+
+ &.no-themes {
+ font-style: italic;
+ }
}
}
diff --git a/public/src/forum/admin/themes.js b/public/src/forum/admin/themes.js
index 66b04a9de2..762924cd4f 100644
--- a/public/src/forum/admin/themes.js
+++ b/public/src/forum/admin/themes.js
@@ -39,7 +39,7 @@ var nodebb_admin = (function(nodebb_admin) {
(function() {
var scriptEl = document.createElement('script');
- scriptEl.src = 'http://api.bootswatch.com?callback=nodebb_admin.themes.render';
+ scriptEl.src = 'http://api.bootswatch.com/2/?callback=nodebb_admin.themes.render';
document.body.appendChild(scriptEl);
var bootstrapThemeContainer = document.querySelector('#bootstrap_themes'),
@@ -81,32 +81,38 @@ var nodebb_admin = (function(nodebb_admin) {
}, false);
// Installed Themes
- socket.once('api:admin:themes.getInstalled', function(themes) {
+ socket.emit('api:admin.themes.getInstalled', function(themes) {
var instListEl = document.getElementById('installed_themes'),
themeFrag = document.createDocumentFragment(),
liEl = document.createElement('li');
- for(var x=0,numThemes=themes.length;x
' + + themes[x].description + + (themes[x].url ? ' (Homepage)' : '') + + '
' + '' + - themes[x].description + - (themes[x].url ? ' (Homepage)' : '') + - '
' + - '