mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
- Remove tinyMCE mentions or convert to addeditortext()
- Remove $editselect template value
This commit is contained in:
parent
a2740d2034
commit
9d5384f107
19 changed files with 122 additions and 623 deletions
|
@ -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 ="";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue