mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
pumpio, statusnet, tumblr, twitter, wordpress: Changed the way, shares are displayed
twitter: Look for the entities when importing tweets.
This commit is contained in:
parent
e28b559bfc
commit
bbc8a1328d
7 changed files with 178 additions and 29 deletions
|
@ -26,10 +26,8 @@ function rendertime_page_end(&$a, &$o) {
|
|||
|
||||
$duration = microtime(true)-$a->performance["start"];
|
||||
|
||||
if (!is_site_admin())
|
||||
return
|
||||
|
||||
$o = $o.'<div class="renderinfo">'.sprintf(t("Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"),
|
||||
if (is_site_admin())
|
||||
$o = $o.'<div class="renderinfo">'.sprintf(t("Performance: Database: %s, Network: %s, Rendering: %s, Parser: %s, I/O: %s, Other: %s, Total: %s"),
|
||||
round($a->performance["database"], 3),
|
||||
round($a->performance["network"], 3),
|
||||
round($a->performance["rendering"], 3),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue