change event behaviour - share by default.

This commit is contained in:
zotlabs 2016-10-18 16:46:09 -07:00
parent d55fcd055d
commit 2db7b2d948
2 changed files with 4 additions and 6 deletions

View File

@ -118,8 +118,10 @@ class Events extends \Zotlabs\Web\Controller {
goaway($onerror_url);
}
$share = ((intval($_POST['distr'])) ? intval($_POST['distr']) : 0);
// $share = ((intval($_POST['distr'])) ? intval($_POST['distr']) : 0);
$share = 1;
$channel = \App::get_channel();
$acl = new \Zotlabs\Access\AccessList(false);

View File

@ -105,10 +105,6 @@
</div>
</div>
{{if ! $eid}}
{{include file="field_checkbox.tpl" field=$share}}
{{/if}}
<div class="clear"></div>
<button type="button" class="btn btn-default" onclick="openClose('advanced');">{{$advanced}}</button>