diff --git a/pfaltgall b/pfaltgall index 581df87..202c449 100755 --- a/pfaltgall +++ b/pfaltgall @@ -17,7 +17,8 @@ */ $SCRIPTNAME='pfaltgall'; -$SCRIPTVERSION='0.2'; +$SCRIPTVERSION='0.2.1'; +$SCRIPTURL='https://git.lattuga.net/Jones/pfaltgall'; require 'lib/ckratelimit.php'; require 'lib/httpjson.php'; @@ -202,8 +203,15 @@ do { } while ($count>0); echo "\n"; -$title="{$acc['username']}@{$conf['host']}"; -if ($acc['display_name']!='') $title=htmlspecialchars($acc['display_name'],ENT_QUOTES|ENT_HTML5)." ({$title})"; +$accadd="{$acc['username']}@{$conf['host']}"; +$title=$accadd; +$profhead="{$accadd}"; +if ($acc['display_name']!='') { + $accdispname=htmlspecialchars($acc['display_name'],ENT_QUOTES|ENT_HTML5); + $title="{$accdispname} ({$title})"; + $profhead="{$accdispname}
({$profhead})"; +} + $html=' @@ -258,7 +266,7 @@ p { margin: 0; padding: 0; text-indent: 3mm; - line-height: 1.3em; + line-height: 1.5em; } p.firstp, p.center { @@ -268,7 +276,7 @@ p.firstp, p.center { p.center { text-align: center; text-wrap: balance; - padding: 1em 0 1em 0; + padding: 0 0 1.5em 0; } .profile { @@ -458,8 +466,9 @@ function prel() {

-

'.$title.'

+

'.$profhead.'

'.nl2br($acc['note']).'

+

Made with '.$SCRIPTNAME.' v'.$SCRIPTVERSION.'

'.$imgs.'