Widget:File upload: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 36: | Regel 36: | ||
var regex = /<(\w+)>/gm; | var regex = /<(\w+)>/gm; | ||
var m; | var m; | ||
− | var name = | + | var name = filename.split('.')[0]; |
− | var type = | + | var type = filename.split('.')[1]; |
while ((m = regex.exec(settingsFilename)) !== null) { | while ((m = regex.exec(settingsFilename)) !== null) { | ||
Regel 68: | Regel 68: | ||
var regex = /<(\w+)>/gm; | var regex = /<(\w+)>/gm; | ||
var m; | var m; | ||
− | var name = | + | var name = filename.split('.')[0]; |
− | var type = | + | var type = filename.split('.')[1]; |
while ((m = regex.exec(settingsFilepageparameters)) !== null) { | while ((m = regex.exec(settingsFilepageparameters)) !== null) { |
Versie van 7 sep 2020 10:08
This is the Widget:Multi upload page. It should be called in the following format:
{{#widget:Multi upload }}