! show not writable message on the directorys when
in the admin edit theme area

Signed-off-by: Spuds <spuds@spudsdesign.com>
! add a few comments to the get file listing function for themes

Signed-off-by: Spuds <spuds@spudsdesign.com>
! clean up some overuse of super globals
! add in some comments

Signed-off-by: Spuds <spuds@spudsdesign.com>
! the edit template function was not compatible with doc blocks
its look ahead assumed the line before the function was empty or // so for now
only separate the areas on the full function lines.

Signed-off-by: Spuds <spuds@spudsdesign.com>