I noticed that the selflink is not appearing in some pages like for example tbl_addfield.php. It took me a couple of hours to find out why and it was because a global variable was set which was $checked_special it was set in the checkParameters method in Util.class.php I am not sure what this variable means.
anyways this variable gets checked in getDisplay in the footer class and if it is true the self link is not shown.
can someone tell me if this is correct behavior and why should we not show the self link in those pages. I need the self link to get the current token so it is important that the self link should be available in all pages.