From 3fa003b5a889e2565eb64a950afabf5f6e4b3fe8 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 11 Nov 2014 15:13:18 -0800 Subject: add some subtle delineation to directory entries, remove forced link on homepage element (SECURITY) --- mod/directory.php | 2 +- view/css/mod_directory.css | 3 +++ view/tpl/direntry.tpl | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mod/directory.php b/mod/directory.php index 10e90b145..b7c965289 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -217,7 +217,7 @@ function directory_content(&$a) { 'pdesc' => $pdesc, 'marital' => $marital, 'homepage' => $homepage, - 'homepageurl' => $homepageurl, + 'homepageurl' => linkify($homepageurl), 'hometown' => $hometown, 'about' => $about, 'conn_label' => t('Connect'), diff --git a/view/css/mod_directory.css b/view/css/mod_directory.css index 98b99ef50..849e8e485 100644 --- a/view/css/mod_directory.css +++ b/view/css/mod_directory.css @@ -21,6 +21,8 @@ .directory-item { overflow: hidden; margin: 2px; + border-bottom: 2px solid #f1f1f1; + padding-bottom: 3px; } #directory-search-wrapper { @@ -63,6 +65,7 @@ div.dirtagblock.widget { margin: 16px; } .directory-connect { + margin-top: 3px; display:block; margin-left:auto; margin-right: auto; diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index 879a168c9..2da920ab1 100755 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -26,7 +26,7 @@
{{$entry.about}}
{{/if}} {{if $entry.homepage}} -
{{$entry.homepage}}{{$entry.homepageurl}}
+
{{$entry.homepage}}{{$entry.homepageurl}}
{{/if}} {{if $entry.kw}}
{{$entry.kw}} {{$entry.keywords}}
-- cgit v1.2.3