summaryrefslogtreecommitdiff
path: root/modules/gallery/views/form_uploadify.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-12-02 19:08:13 -0800
committerBharat Mediratta <bharat@menalto.com>2009-12-02 19:08:13 -0800
commitc9e6869c681fa6579d1858cea45ec94eb0972f30 (patch)
tree24853f8df9cadabbd10efebc64ad2f27db489148 /modules/gallery/views/form_uploadify.html.php
parent1ab8ac305bf53bae8c05b917b06f035b9b700937 (diff)
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).
Diffstat (limited to 'modules/gallery/views/form_uploadify.html.php')
-rw-r--r--modules/gallery/views/form_uploadify.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/form_uploadify.html.php b/modules/gallery/views/form_uploadify.html.php
index c18bc8ca..d856c464 100644
--- a/modules/gallery/views/form_uploadify.html.php
+++ b/modules/gallery/views/form_uploadify.html.php
@@ -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,