X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fevents.php;h=ac0c444cb5068c1b6923e91edfd5bb7d176259b1;hb=5471dd79e89821909649b37e4f88d42f897e27a2;hp=4a421df9d977dd251470e4973fc64e3fda04ff09;hpb=df8b522f6b96bc3a631e608ee430555590e91f0c;p=friendica.git diff --git a/mod/events.php b/mod/events.php index 4a421df9d9..ac0c444cb5 100644 --- a/mod/events.php +++ b/mod/events.php @@ -220,11 +220,6 @@ function events_content(App $a) { nav_set_selected('events'); } - $editselect = 'none'; - if ( feature_enabled(local_user(), 'richtext') ) { - $editselect = 'textareas'; - } - // get the translation strings for the callendar $i18n = get_event_strings(); @@ -234,13 +229,11 @@ function events_content(App $a) { '$module_url' => '/events', '$modparams' => 1, '$i18n' => $i18n, - '$editselect' => $editselect )); $etpl = get_markup_template('event_end.tpl'); $a->page['end'] .= replace_macros($etpl,array( '$baseurl' => App::get_baseurl(), - '$editselect' => $editselect )); $o =""; @@ -393,7 +386,7 @@ function events_content(App $a) { '$title' => t('Events'), '$view' => t('View'), '$new_event' => array(App::get_baseurl().'/events/new',t('Create New Event'),'',''), - '$previus' => array(App::get_baseurl()."/events/$prevyear/$prevmonth",t('Previous'),'',''), + '$previous' => array(App::get_baseurl()."/events/$prevyear/$prevmonth",t('Previous'),'',''), '$next' => array(App::get_baseurl()."/events/$nextyear/$nextmonth",t('Next'),'',''), '$calendar' => cal($y,$m,$links, ' eventcal'),