09-25-2017, 08:20 PM
Ok, I've fixed the menus. And no, I still haven't figured out how to work a git branch yet :'(
- $config is neither defined nor used so I removed it from the constructor
- checkMenu() was being used without a user ID and was failing, since it was designed to only be used after a user is logged in. Instead of changing the menus themselves, I adjusted the checkMenu() function to allow ID as optional and adjusted for logged out users.
https://pastebin.com/aezrc9a6
I don't see a page to actually manage the menu though, is that still forthcoming?
While looking for the menu page I saw that profiles.php no longer works, so I've fixed it:
https://pastebin.com/x1xLPBQh
On the login page there are undefined language keys, have the been fixed?
Lastly, what is wrong with the menu CSS, aside from the gap above the menu? That should be an easy fix but I'd like to make any other needed changes at the same time.
Code:
helpers/class.treeManager:line 80
Code:
return (!treeManager::$instance instanceof self) ? treeManager::$instance = new self() : treeManager::$instance;
Code:
helpers/us_helpers.php:line 539
https://pastebin.com/aezrc9a6
I don't see a page to actually manage the menu though, is that still forthcoming?
While looking for the menu page I saw that profiles.php no longer works, so I've fixed it:
https://pastebin.com/x1xLPBQh
On the login page there are undefined language keys, have the been fixed?
Lastly, what is wrong with the menu CSS, aside from the gap above the menu? That should be an easy fix but I'd like to make any other needed changes at the same time.