diff options
author | friendica <info@friendica.com> | 2012-03-26 18:15:10 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-26 18:15:10 -0700 |
commit | 4c585f759f5c2662b2d761adccdf2c6dafd31249 (patch) | |
tree | 4490f26405409cf6101ef56d89a90aa06446ea96 /include/plugin.php | |
parent | b5d0315d55b6488d9493dd49bd35a2fe1b1492c7 (diff) | |
download | volse-hubzilla-4c585f759f5c2662b2d761adccdf2c6dafd31249.tar.gz volse-hubzilla-4c585f759f5c2662b2d761adccdf2c6dafd31249.tar.bz2 volse-hubzilla-4c585f759f5c2662b2d761adccdf2c6dafd31249.zip |
theme description with preview (non-translatable unfortunately)
Diffstat (limited to 'include/plugin.php')
-rwxr-xr-x | include/plugin.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/plugin.php b/include/plugin.php index df33fd3f2..e37ae8435 100755 --- a/include/plugin.php +++ b/include/plugin.php @@ -249,6 +249,7 @@ function get_theme_info($theme){ list($k,$v) = array_map("trim", explode(":",$l,2)); $k= strtolower($k); if ($k=="author"){ + $r=preg_match("|([^<]+)<([^>]+)>|", $v, $m); if ($r) { $info['author'][] = array('name'=>$m[1], 'link'=>$m[2]); |