SoylentNews/slashcode — pull request #200 by paulej72 (2014-05-24 05:56:41+00:00)
Title: Dynamic static pages

This is to fix issue #199 that I discovered today. Static pages were always static and thus did not show the proper my menu. What was more of an issue was they did not show themes. This can be a real problem when the theme is very different like night mode.

I redid the faq and about pages as pl files that load the pages from templates. the header and footer are done in the pl file, and the old guts of the shtml files are put into the new template files.

I grepped the files to see where all of the urls needed to be changed, and found that the old help files were still there. Since these were D2 based, I removed them as well. They had a lot of links to the shtml files that I did not want to fix.

The bulk of the rest of the files changed were the ones that had links to the static files. Most were active, but some were not, but I did them anyway just to make sure everything worked properly.