Mario Vavti
805cae7b31
whitespace
2017-02-27 11:12:35 +01:00
Mario Vavti
2467698045
do not mess up schemas
2017-02-27 10:45:31 +01:00
Mario Vavti
8e3e90ddd2
set minversion and maxversion for themes in view/theme/themename/php/theme.php instead of separate file.
2017-02-27 10:16:04 +01:00
Mario Vavti
8a69a5c3c7
add a minversion to the theme and fallback to default if requirement is not met. mark incompatible themes in the theme selector
2017-02-26 21:22:19 +01:00
zotlabs
573846707c
fix several places where head_add_(css|js) functions have been used incorrectly. It appears that mistakes were made going back a long time and propagated. Here's the way it should work:
...
- if there is no preceding / character, we look for the file within all the appropriate theme directories.
- otherwise the file should have a preceding /, which means use this path relative to the hubzilla basedir
- files beginning with // are considered to be schemeless URLs.
Therefore 'foo.css' means find the best theme-able representation of foo.css.
'/library/foo.css' means only use the version of foo.css that is in /library.
2017-02-19 16:50:41 -08:00
redmatrix
2ebb8851f6
theme preview - that was easy; plus a bit more tweaking of the saved search widget to try and get the sucker to auto submit
2016-09-01 12:42:47 -07:00
redmatrix
537401cf27
don't set session theme unless logged in.
2016-08-16 22:15:51 -07:00
redmatrix
8a89cfb158
move schema settings into the display settings main so we can set theme:schema theme selectors in settings
2016-08-15 22:45:07 -07:00
redmatrix
20cb4130d4
support work for a long-term fix for issue #390 , essentially one can specify a theme:schema string anywhere a theme is input. It will be honoured unless an existing schema setting over-rides this behaviour. This should also be backward compatible but the theme selection code has been cleaned up slightly and there may be subtle differences in behaviour after this commit. On my site this required a page refresh as the first page load after this change was a bit confused.
2016-05-17 17:46:30 -07:00