From: Carsten K. <car...@ma...> - 2001-11-28 22:05:30
|
Excellent ideas. I agree with nearly everything except the images. To summarize then: - embed translatable strings in the templates, leaving only one set of html templates in themes. - templates inside top level of theme e.g. "/themes/default/browse.template" or "browse.tmpl" - style sheets served by php script (<link rel="stylesheet" href="index.php?action=css" type="text/css" />) - move remaining files out of /admin (perhaps into "/lib") - gather up installation notes, theme instructions & docs into "/doc" - name theme configuration script "/themes/default/config.php" (in "themes/ $theme/") - "tests/unit_test_backend_cvs.php" accessible via http Here's an idea I just thought of regarding the images. - Keep the default "wikibase.png", "signature.png" and "png.png" in /images - /themes/default/config.php will set $signature and $logo pointing to /images - any additional themes which need to include differently colored logos etc. can place them in their theme directory, and its config.php would point to it: "/themes/Forge/config.php" could specify $logo="/themes/Forge/ SteelyDanSig.png" etc. Carsten |