diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-09-22 11:07:21 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-09-22 11:07:21 +0200 |
commit | 56aa5681244a5c4577ad3a3d95d32d764309d15a (patch) | |
tree | 0748fabaf599c23a27986711fcb8ca7b39ca28dc /Zotlabs/Module/Events.php | |
parent | 73c781a0cf2cdcb90a9f024d44e010459da277b2 (diff) | |
download | volse-hubzilla-56aa5681244a5c4577ad3a3d95d32d764309d15a.tar.gz volse-hubzilla-56aa5681244a5c4577ad3a3d95d32d764309d15a.tar.bz2 volse-hubzilla-56aa5681244a5c4577ad3a3d95d32d764309d15a.zip |
objects with id=share_container seem to be blacklisted in various security browser plugins. rename it to distr_container. also remove some superfluous js
Diffstat (limited to 'Zotlabs/Module/Events.php')
-rw-r--r-- | Zotlabs/Module/Events.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Events.php b/Zotlabs/Module/Events.php index d27de9989..2bff4676e 100644 --- a/Zotlabs/Module/Events.php +++ b/Zotlabs/Module/Events.php @@ -118,7 +118,7 @@ class Events extends \Zotlabs\Web\Controller { goaway($onerror_url); } - $share = ((intval($_POST['share'])) ? intval($_POST['share']) : 0); + $share = ((intval($_POST['distr'])) ? intval($_POST['distr']) : 0); $channel = \App::get_channel(); @@ -469,7 +469,7 @@ class Events extends \Zotlabs\Web\Controller { '$t_orig' => $t_orig, '$sh_text' => t('Share this event'), '$sh_checked' => $sh_checked, - '$share' => array('share', t('Share this event'), $sh_checked, '', array(t('No'),t('Yes'))), + '$share' => array('distr', t('Share this event'), $sh_checked, '', array(t('No'),t('Yes'))), '$preview' => t('Preview'), '$perms_label' => t('Permission settings'), // populating the acl dialog was a permission description from view_stream because Cal.php, which |