summaryrefslogtreecommitdiff
path: root/lib/theme.php
AgeCommit message (Collapse)Author
2010-02-11null theme ssl setting means 'guess'Evan Prodromou
2010-02-11Themes can be served from an SSL serverEvan Prodromou
2009-11-08add a method to Theme class to list available themesEvan Prodromou
2009-11-08add utilities for calculating local and installation theme root dirsEvan Prodromou
2009-11-08Restructure theme.php to define a class ThemeEvan Prodromou
For various reasons, it's nicer to have a class for theme-file paths and such. So, I've rewritten the code for determining the locations of theme files to be more OOPy. I changed all the uses of the two functions in the module (theme_file and theme_path) to use Theme::file and Theme::path respectively. I've also removed the code in common.php that require's the module; using a class means we can autoload it instead.
2009-08-26define LACONICA and accept LACONICA for backwards compatibilityEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-25change controlyourself.ca to status.netEvan Prodromou
2009-08-25change laconi.ca to status.netEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-06-22theme dir, path configurableEvan Prodromou
2009-06-14Removed hanging skin crapolaSarven Capadisli
2009-04-12Separation of themes (i.e., layout, typography) and skins (i.e., backgroundSarven Capadisli
images, colours). A theme can have multiple skins. Majority of the changes in this commit are due to restructuring the path/files for themes and skins. Both theme and skin will be set to 'default' if not set in config.php. This commit also allows each instance of this software to create its own theme without having to override any style from the default distribution. Added Cloudy theme.
2009-01-14Add an optional theme parameter to theme functionsEvan Prodromou
2008-12-23change function headers to K&R styleEvan Prodromou
Another huge change, for PEAR code standards compliance. Function headers have to be in K&R style (opening brace on its own line), instead of having the opening brace on the same line as the function and parameters. So, a little perl magic found all the function definitions and move the opening brace to the next line (properly indented... usually). darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23replace all tabs with four spacesEvan Prodromou
The PEAR coding standards decree: no tabs, but indent by four spaces. I've done a global search-and-replace on all tabs, replacing them by four spaces. This is a huge change, but it will go a long way to getting us towards phpcs-compliance. And that means better code readability, and that means more participation. darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-07-16theme server supportEvan Prodromou
darcs-hash:20080716205947-84dde-fa57c8fc140cc479e14b50479df13447abaef31b.gz
2008-06-10first steps towards new skinEvan Prodromou
darcs-hash:20080610185238-84dde-c073065f5f802be39b97a23105613fac1eeb0bea.gz