</script>
EOT;
}
-
- $enable_compose = DI::pConfig()->get(local_user(), 'frio', 'enable_compose');
- $compose = $enable_compose === '1' || $enable_compose === null && DI::config()->get('frio', 'enable_compose') ? 1 : 0;
- DI::page()['htmlhead'] .= <<< HTML
- <script type="text/javascript">
- var compose = $compose;
- </script>
-HTML;
}
function frio_install()
$subthread = [
'menu' => 'follow_thread',
'title' => DI::l10n()->t('Follow Thread'),
- 'action' => 'dosubthread(' . $arr['item']['id'] . '); return false;',
+ 'action' => 'dosubthread(' . $arr['item']['id'] . ');',
'href' => '#'
];
}