event integration improvements

This commit is contained in:
redmatrix
2015-08-19 16:50:32 -07:00
parent 4e3d295c90
commit a4caaefd32
4 changed files with 55 additions and 3 deletions

View File

@@ -32,6 +32,12 @@ function editpost_content(&$a) {
return;
}
if($itm[0]['resource_type'] === 'event' && $itm[0]['resource_id']) {
goaway(z_root() . '/events/event/' . $itm[0]['resource_id']);
}
$plaintext = true;
// if(feature_enabled(local_channel(),'richtext'))
// $plaintext = false;