git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

  • Evan Prodromou's avatar
    Restructure theme.php to define a class Theme · b7e2e3fd
    Evan Prodromou authored
    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.
    b7e2e3fd
Name
Last commit
Last update
actions Loading commit data...
avatar Loading commit data...
background Loading commit data...
classes Loading commit data...
db Loading commit data...
doc-src Loading commit data...
extlib Loading commit data...
file Loading commit data...
js Loading commit data...
lib Loading commit data...
local Loading commit data...
locale Loading commit data...
plugins Loading commit data...
scripts Loading commit data...
tests Loading commit data...
theme Loading commit data...
tpl Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
EVENTS.txt Loading commit data...
README Loading commit data...
apple-touch-icon.png Loading commit data...
config.php.sample Loading commit data...
favicon.ico Loading commit data...
htaccess.sample Loading commit data...
index.php Loading commit data...
install.php Loading commit data...
lighttpd.conf.example Loading commit data...
sphinx.conf.sample Loading commit data...