mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Rename the "upload_limit" variable to "simultaneous_upload_limit" for
clarity, since it only limits concurrency not the number of actual uploads. Move the default-setting code into the upgrader so that we avoid creating the variable as a side-effect of the view (personal preference to avoid side-effect code since it's led to problems in the past).
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
fileDesc: <?= t("Photos and movies")->for_js() ?>,
|
||||
cancelImg: "<?= url::file("lib/uploadify/cancel.png") ?>",
|
||||
buttonText: <?= t("Select photos...")->for_js() ?>,
|
||||
simUploadLimit: <?= $upload_limit ?>,
|
||||
simUploadLimit: <?= $simultaneous_upload_limit ?>,
|
||||
wmode: "transparent",
|
||||
hideButton: true, /* should be true */
|
||||
auto: true,
|
||||
|
||||
Reference in New Issue
Block a user