From a27489bc198343d76376a6b16e4bcd81fd9a85ae Mon Sep 17 00:00:00 2001
From: Sem
'.$prefix['venue'].elgg_echo('event_calendar:venue_description').'
'; -$body .= ''; -$body .= elgg_view("input/text",array('name' => 'description','class'=>'event-calendar-medium-text','value'=>$brief_description)); -$body .= '
'; -$body .= ''.$prefix['brief_description'].elgg_echo('event_calendar:brief_description_description').'
'; +if ($event_calendar_fewer_fields != 'yes') { + $body .= ''; + $body .= elgg_view("input/text",array('name' => 'description','class'=>'event-calendar-medium-text','value'=>$brief_description)); + $body .= '
'; + $body .= ''.$prefix['brief_description'].elgg_echo('event_calendar:brief_description_description').'
'; + +} else { + $body .= ''; + $body .= elgg_view("input/longtext",array('name' => 'long_description','class'=>'event-calendar-long-text','value'=>$long_description)); + $body .= '
'; + $body .= ''.$prefix['long_description'].elgg_echo('event_calendar:long_description_description').'
'; +} $body .= ''; $body .= elgg_view("input/tags",array('name' => 'tags','class'=>'event-calendar-medium-text','value'=>$event_tags)); -- cgit v1.2.3