]> git.mxchange.org Git - friendica.git/commit
Fix undefined variables in nav.tpl
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 10 May 2021 23:03:33 +0000 (19:03 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 10 May 2021 23:03:33 +0000 (19:03 -0400)
commit43638fa29b6257aa32bf34890c0e4bc631b17d23
tree7b8c170e21367f96ab242c192c25d69c014d1620
parentabc0616d331f487a353b6df9d681c7a6b0471593
Fix undefined variables in nav.tpl

- Reworked the nav_info hook to include the rest of the array keys defined in Nav::getInfo
- Replaced the theme-specific template variable nav.userinfo with the regular userinfo in frio nav.tpl
- Initialized all the nav array keys
src/Content/Nav.php
view/theme/frio/templates/nav.tpl
view/theme/frio/theme.php