aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-10 15:43:15 -0700
committerfriendica <info@friendica.com>2015-03-10 15:43:15 -0700
commit5b35f1e6c4fbf0fd941c6d292b9c9b5847b64d0b (patch)
tree2f4b06a34f7e80a24ec6ac3375cf1918d5d991a0 /mod/photos.php
parent57384b9f9fa16d5a03d2e9618ee551a3d1f8c2b5 (diff)
downloadvolse-hubzilla-5b35f1e6c4fbf0fd941c6d292b9c9b5847b64d0b.tar.gz
volse-hubzilla-5b35f1e6c4fbf0fd941c6d292b9c9b5847b64d0b.tar.bz2
volse-hubzilla-5b35f1e6c4fbf0fd941c6d292b9c9b5847b64d0b.zip
Change logic of "don't create a status post for this photo upload" and turn it into a bona-fide on/off toggle. This takes up one more vertical line, but we have it to spare, and the single button (while concise visually) provided no feedback of the current state, or indicate whether a second click toggled it. Some addons use this setting so addons will need to be pulled when this is pulled in order to remain in sync.
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 297790f6e..58a38f3f3 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -553,7 +553,7 @@ function photos_content(&$a) {
'$nickname' => $a->data['channel']['channel_address'],
'$newalbum_label' => t('Enter a new album name'),
'$newalbum_placeholder' => t('or select an existing one (doubleclick)'),
- '$nosharetext' => t('Do not show a status post for this upload'),
+ '$visible' => array('visible', t('Create a status post for this upload'),0,''),
'$albums' => $albums['albums'],
'$selname' => $selname,
'$permissions' => t('Permissions'),