Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Actions and Without Actions
Destroy666 Offline
Junior Member
**
Posts: 27
Joined: Jul 2012
Post: #2
RE: Actions and Without Actions

PHP Code:
class="section-home <if THIS_SCRIPT == "usercp.php" && $mybb->input['action'] != "usergroups" then>nav-active</if>

Will show it active in all UCP pages except usergroups.

PHP Code:
class="section-home <if THIS_SCRIPT == "usercp.php" && !$mybb->input['action'] then>nav-active</if>

Should show it active only on main page (no action).

06-08-2013 12:08 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Actions and Without Actions - Destro - 06-08-2013, 02:54 AM
RE: Actions and Without Actions - Destroy666 - 06-08-2013 12:08 PM
RE: Actions and Without Actions - Destro - 06-09-2013, 03:14 PM

 Standard Tools
Forum Jump: