code changes for diplaying internal links

Code changes for displaying internal links that are stored within the
root directories' hierarchy.

Changes following this article:
http://mymods.lifestyle-dream.de/viewtopic.php?f=6&t=4&p=48#p114