08-30-2017, 02:07 PM
These were all Brandin's fixes. Cron manager updates and permission fixes primarily. Thanks Brandin!
The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Status Update 010
|
08-30-2017, 02:07 PM
These were all Brandin's fixes. Cron manager updates and permission fixes primarily. Thanks Brandin!
08-30-2017, 04:05 PM
Most welcome - someone please throw some tests towards this to make sure I wasn't blinded by thinking it was all working - and looking forward to @karsen's updates too!
08-31-2017, 12:42 PM
admin_user.php has a modal called "System Settings" - it is empty, meant for admins to put whatever they want in there.
Maybe we should do something similar to admin_info_panels with that? You want to pop that code in there? Shouldn't take long!
09-01-2017, 12:44 PM
I'll have to check it out. I think the admin panel could use a redo graphically. @Picasso had some great rewrites but a language barrier made it tough for us to work out those details.
09-01-2017, 12:45 PM
09-01-2017, 02:15 PM
Yes...I love that admin panel, it's so pretttttttttttttty. But I didn't ever work it in since I made my own changes.
09-01-2017, 03:19 PM
I broke a tooth and had to get it fixed, then spent a couple days relaxing at home on my weekend! I'll download 010 and test it out and get my notifications in there. I also want to see if any of my other modifications will be easily added, but I do have a custom permissions system and it might take some work to convert it back to US permissions.
09-01-2017, 04:03 PM
Ouch. Sorry about that.
I appreciate all your work.
09-01-2017, 05:59 PM
Here is my notifications class:
https://pastebin.com/B7B3xzen navigation.php: https://pastebin.com/Yp0zNwYQ getNotifications.php (Ajax parser): https://pastebin.com/VJ38bzwd page_footer.php https://pastebin.com/aETkyRLX I did have an issue with the font colors on my end being white despite any css changes. I didn't immediately see any reason for it to happen. I also have a style change for the 'new' badge but wasn't sure where to put it. Maybe simply in a style tag right above the notifications modal? Code: .badge-notif { Code: font-size: 8px; Code: background: #245eb3; Code: } A new notification can be added easily: Code: $notifications->addNotification($message, $id); For example: Code: $msg = 'A new time off request requires approval. <a href="'.$us_url_root.'users/staff_timeoff_approval">Go to page</a>'; Code: $notifications->addNotification($msg, $empId);
09-01-2017, 09:43 PM
I must have done something wrong...getting an error saying it can't find the class...shouldn't the autoLoader pick this up?
I added this in /classes/ Or did you put this in custom_functions? |