diff --git a/controllers/user.js b/controllers/user.js index c37df6e1a..d15b00d5a 100644 --- a/controllers/user.js +++ b/controllers/user.js @@ -723,6 +723,7 @@ exports.newScriptPage = function (aReq, aRes, aNext) { options.newUserJS = true; options.newScriptEditorPageUrl = '/user/add/scripts/new'; options.uploadNewScriptPageUrl = '/user/add/scripts/upload'; + options.maximumUploadScriptSize = settings.maximum_upload_script_size; // Page metadata pageMetadata(options, 'New Script'); @@ -753,6 +754,7 @@ exports.newLibraryPage = function (aReq, aRes, aNext) { options.newJSLibrary = true; options.newScriptEditorPageUrl = '/user/add/lib/new'; options.uploadNewScriptPageUrl = '/user/add/lib/upload'; + options.maximumUploadScriptSize = settings.maximum_upload_script_size; // Page metadata pageMetadata(options, 'New Library'); diff --git a/views/pages/loginPage.html b/views/pages/loginPage.html index 35171f0b4..d8d41c88b 100644 --- a/views/pages/loginPage.html +++ b/views/pages/loginPage.html @@ -43,7 +43,7 @@
@icon url
@license License Type; License Homepage
Specially formatted on the script page. All values shown in reverse order. If absent MIT License (Expat) is implied.
+Specially formatted on the script page. All values shown in reverse order. If absent MIT License (Expat) is implied. See licensing terms for specifics.
@homepageURL url
Any UserScript on OpenUserJS.org that //@require
's libraries from OpenUserJS.org will link to the library on the UserScript page.
Any UserScript on OpenUserJS.org that //@require
's libraries from OpenUserJS.org will link to the library on the UserScript page.