The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
checkMenu Page
#3
Sorry to ask for the work on this - but how can I built this into a function? Would I be using return true if in and return false if not in?

I will see if I can play around with it in a bit.

My issues is I won't be using $currentPage as I plan on using this for example in the navbar, so I'll be defining the page manually instead of using currentPage, but I want to do this so if I change permission levels, I don't have to make sure I do that in the nav.

Hope this makes sense.
  Reply


Messages In This Thread
checkMenu Page - by Brandin - 06-24-2017, 12:57 PM
checkMenu Page - by mudmin - 06-24-2017, 01:16 PM
checkMenu Page - by Brandin - 06-24-2017, 01:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)