diff options
author | Andrew Dolgov <[email protected]> | 2010-11-24 19:23:24 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-24 19:23:24 +0300 |
commit | 88e4e5979c505cdbb494c2624b7a4e09c8145217 (patch) | |
tree | 3bc816f3e2087b462c9028108ceb9c32af32ac09 /functions.php | |
parent | dcb38ced56c33463bb55f266b2d586308ff12b2f (diff) |
rework user CSS support (bump schema)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 5e567af03..28f2cc892 100644 --- a/functions.php +++ b/functions.php @@ -7040,4 +7040,15 @@ } } + function print_user_stylesheet($link) { + $value = get_pref($link, 'USER_STYLESHEET'); + + if ($value) { + print "<style type=\"text/css\">"; + print $value; + print "</style>"; + } + + } + ?> |