mirror of
https://github.com/friendica/friendica
synced 2025-04-29 16:24:23 +02:00
theme description with preview (non-translatable unfortunately)
This commit is contained in:
parent
b5d0315d55
commit
4c585f759f
3 changed files with 13 additions and 2 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue