diff options
author | friendica <info@friendica.com> | 2012-03-30 14:58:44 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-30 14:58:44 -0700 |
commit | 007d67a998eb8f26228ddd22bb0323d54af9af8c (patch) | |
tree | 01d8d450ccc447b50138f2fa5d7a15e953ac85f6 /mod/view.php | |
parent | f50fb7d6ca47729c7cb464f84b768d56e35b62d6 (diff) | |
parent | be2005f146fc8d482734ca48ec594bc3f797360c (diff) | |
download | volse-hubzilla-007d67a998eb8f26228ddd22bb0323d54af9af8c.tar.gz volse-hubzilla-007d67a998eb8f26228ddd22bb0323d54af9af8c.tar.bz2 volse-hubzilla-007d67a998eb8f26228ddd22bb0323d54af9af8c.zip |
Merge pull request #188 from fabrixxm/master
Display settings tab and theme settings code
Diffstat (limited to 'mod/view.php')
-rw-r--r-- | mod/view.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mod/view.php b/mod/view.php new file mode 100644 index 000000000..33aa23f44 --- /dev/null +++ b/mod/view.php @@ -0,0 +1,16 @@ +<?php +/** + * load view/theme/$current_theme/style.php with friendica contex + */ + +function view_init($a){ + header("Content-Type: text/css"); + + if ($a->argc == 4){ + $theme = $a->argv[2]; + $THEMEPATH = "view/theme/$theme"; + require_once("view/theme/$theme/style.php"); + } + + killme(); +} |