Topic: Make all navlinks "additional navlinks"
I like to be able to remove navlinks as well as add them. I also like to configure who can see my additional navlink (admins/mod, user or guest).
The way i like this to be done is to make all navlinks the same. I also like to set "who can see" permissions just like unix permission (read=admins/mod, write=users, exec=guest). Position could be determined by the row number and permission can be written before the link. So per default the navlinks should look something like:
7 <a href="index.php">Index</a>
7 <a href="userlist.php">User list</a>
7 <a href="misc.php?action=rules">Rules</a>
7 <a href="search.php">Search</a>
1 <a href="register.php">Register</a>
6 <a href="profile.php">Profile</a>
4 <a href="admin_index.php">Admin</a>
1 <a href="login.php">Logga in</a>
6 <a href="login.php?action=out">Logout</a>
The reason i want this is to be able to move the login/logout links without a mod. It's confusing to have it in two diffrent places. I also like to add a link for admins to an admin plugin.