Fixed problems when generating pages not on current directory.
Before, if the TYPEDIR variable have '../' or absolute paths a bad name was formated to fill the select box. Now, we fixed it by using the TYPENAME variable and the basename of current file. Signed-off-by: Vinicius Ruoso <email@example.com>
Showing with 5 additions and 5 deletions