From 8cd7f31bdec78c4519ec5365a1bafb6fcefa50c5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Feb 2019 19:46:09 +0300 Subject: utility css updates --- classes/handler/public.php | 57 ++++++++++------------------------------------ 1 file changed, 12 insertions(+), 45 deletions(-) (limited to 'classes/handler') diff --git a/classes/handler/public.php b/classes/handler/public.php index aaeee8219..48722a0ec 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -429,62 +429,29 @@ class Handler_Public extends Handler { } $rv .= ""; - $rv .= "
"; - - /* header */ - - $rv .= "
"; - $rv .= "
"; # row - - //$entry_author = $line["author"] ? " - " . $line["author"] : ""; - $parsed_updated = make_local_datetime($line["updated"], true, - $owner_uid, true); + $rv .= "
"; if ($line["link"]) { - $rv .= ""; + href=\"" .htmlspecialchars($line["link"]) . "\">" . $line["title"] . ""; } else { - $rv .= "
" . $line["title"] . "
"; + $rv .= "

" . $line["title"] . "

"; } - $rv .= "
$parsed_updated
"; + $rv .= "
"; - $rv .= "
"; # row + /* header */ + $rv .= "
"; $rv .= "
"; # row - /* left buttons */ - - $rv .= "
"; - foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_LEFT_BUTTON) as $p) { - $rv .= $p->hook_article_left_button($line); - } - $rv .= "
"; - - /* comments */ - - $rv .= "
$entry_comments
"; - $rv .= "
".$line['author']."
"; - - /* tags */ - - $tags_str = Article::format_tags_string($line["tags"], $id); - - $rv .= "label_outline
"; - - $tags_str = strip_tags($tags_str); - $rv .= "$tags_str"; - - $rv .= "
"; - - /* buttons */ + //$entry_author = $line["author"] ? " - " . $line["author"] : ""; + $parsed_updated = make_local_datetime($line["updated"], true, + $owner_uid, true); - $rv .= "
"; - foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_BUTTON) as $p) { - $rv .= $p->hook_article_button($line); - } - $rv .= "
"; + $rv .= "
".$line['author']."
"; + $rv .= "
$parsed_updated
"; $rv .= "
"; # row -- cgit v1.2.3-54-g00ecf