mirror of
https://github.com/friendica/friendica
synced 2024-11-18 09:03:42 +00:00
Fix Broken Profile Links (#5286)
* Expose the block_public setting to head.tpl * Do not include hovercard.js if block_public
This commit is contained in:
parent
678efab1c9
commit
b5fe1c60a9
2 changed files with 3 additions and 0 deletions
|
@ -554,6 +554,7 @@ class App
|
|||
'$touch_icon' => $touch_icon,
|
||||
'$stylesheet' => $stylesheet,
|
||||
'$infinite_scroll' => $invinite_scroll,
|
||||
'$block_public' => intval(Config::get('system', 'block_public')),
|
||||
]) . $this->page['htmlhead'];
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,9 @@
|
|||
{{* own js files *}}
|
||||
<script type="text/javascript" src="view/theme/frio/js/theme.js"></script>
|
||||
<script type="text/javascript" src="view/theme/frio/js/modal.js"></script>
|
||||
{{if ! $block_public}}
|
||||
<script type="text/javascript" src="view/theme/frio/js/hovercard.js"></script>
|
||||
{{/if}}
|
||||
<script type="text/javascript" src="view/theme/frio/js/textedit.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
Loading…
Reference in a new issue