option to not publish photos on wall
authorFriendika <info@friendika.com>
Sat, 1 Oct 2011 13:19:34 +0000 (06:19 -0700)
committerFriendika <info@friendika.com>
Sat, 1 Oct 2011 13:19:34 +0000 (06:19 -0700)
js_upload.tgz
js_upload/js_upload.php

index bfbbab6..96afb12 100644 (file)
Binary files a/js_upload.tgz and b/js_upload.tgz differ
index 1996b85..c529be3 100644 (file)
@@ -96,6 +96,7 @@ function createUploader() {
                                uploader.setParams( {
                                        newalbum                :       document.getElementById('photos-upload-newalbum').value,
                                        album                   :       document.getElementById('photos-upload-album-select').value,
+                                       not_visible     :   document.getElementById('photos-upload-noshare').checked,
                                        group_allow             :       acl.allow_gid.join(','),
                                        contact_allow   :       acl.allow_cid.join(','),
                                        group_deny              :       acl.deny_gid.join(','),
@@ -105,6 +106,7 @@ function createUploader() {
                                uploader.setParams( {
                                        newalbum                :       document.getElementById('photos-upload-newalbum').value,
                                        album                   :       document.getElementById('photos-upload-album-select').value,
+                                       not_visible     :   document.getElementById('photos-upload-noshare').checked,
                                        group_allow             :       getSelected(document.getElementById('group_allow')).join(','),
                                        contact_allow   :       getSelected(document.getElementById('contact_allow')).join(','),
                                        group_deny              :       getSelected(document.getElementById('group_deny')).join(','),