Display the contact alias if the URL is no HTTP link
This commit is contained in:
parent
6d911a8f39
commit
4c3f2441f7
16 changed files with 528 additions and 303 deletions
|
@ -149,6 +149,7 @@
|
|||
"author-addr" => ["author", "addr"],
|
||||
"author-name" => "IF (`contact`.`url` = `author`.`url` AND `contact`.`name` != '', `contact`.`name`, `author`.`name`)",
|
||||
"author-nick" => ["author", "nick"],
|
||||
"author-alias" => ["author", "alias"],
|
||||
"author-avatar" => "IF (`contact`.`url` = `author`.`url` AND `contact`.`thumb` != '', `contact`.`thumb`, `author`.`thumb`)",
|
||||
"author-network" => ["author", "network"],
|
||||
"author-blocked" => ["author", "blocked"],
|
||||
|
@ -161,6 +162,7 @@
|
|||
"owner-addr" => ["owner", "addr"],
|
||||
"owner-name" => "IF (`contact`.`url` = `owner`.`url` AND `contact`.`name` != '', `contact`.`name`, `owner`.`name`)",
|
||||
"owner-nick" => ["owner", "nick"],
|
||||
"owner-alias" => ["owner", "alias"],
|
||||
"owner-avatar" => "IF (`contact`.`url` = `owner`.`url` AND `contact`.`thumb` != '', `contact`.`thumb`, `owner`.`thumb`)",
|
||||
"owner-network" => ["owner", "network"],
|
||||
"owner-blocked" => ["owner", "blocked"],
|
||||
|
@ -324,6 +326,7 @@
|
|||
"author-addr" => ["author", "addr"],
|
||||
"author-name" => "IF (`contact`.`url` = `author`.`url` AND `contact`.`name` != '', `contact`.`name`, `author`.`name`)",
|
||||
"author-nick" => ["author", "nick"],
|
||||
"author-alias" => ["author", "alias"],
|
||||
"author-avatar" => "IF (`contact`.`url` = `author`.`url` AND `contact`.`thumb` != '', `contact`.`thumb`, `author`.`thumb`)",
|
||||
"author-network" => ["author", "network"],
|
||||
"author-blocked" => ["author", "blocked"],
|
||||
|
@ -336,6 +339,7 @@
|
|||
"owner-addr" => ["owner", "addr"],
|
||||
"owner-name" => "IF (`contact`.`url` = `owner`.`url` AND `contact`.`name` != '', `contact`.`name`, `owner`.`name`)",
|
||||
"owner-nick" => ["owner", "nick"],
|
||||
"owner-alias" => ["owner", "alias"],
|
||||
"owner-avatar" => "IF (`contact`.`url` = `owner`.`url` AND `contact`.`thumb` != '', `contact`.`thumb`, `owner`.`thumb`)",
|
||||
"owner-network" => ["owner", "network"],
|
||||
"owner-blocked" => ["owner", "blocked"],
|
||||
|
@ -485,6 +489,7 @@
|
|||
"author-addr" => ["author", "addr"],
|
||||
"author-name" => ["author", "name"],
|
||||
"author-nick" => ["author", "nick"],
|
||||
"author-alias" => ["author", "alias"],
|
||||
"author-avatar" => ["author", "thumb"],
|
||||
"author-network" => ["author", "network"],
|
||||
"author-blocked" => ["author", "blocked"],
|
||||
|
@ -497,6 +502,7 @@
|
|||
"owner-addr" => ["owner", "addr"],
|
||||
"owner-name" => ["owner", "name"],
|
||||
"owner-nick" => ["owner", "nick"],
|
||||
"owner-alias" => ["owner", "alias"],
|
||||
"owner-avatar" => ["owner", "thumb"],
|
||||
"owner-network" => ["owner", "network"],
|
||||
"owner-blocked" => ["owner", "blocked"],
|
||||
|
@ -623,6 +629,7 @@
|
|||
"author-addr" => ["author", "addr"],
|
||||
"author-name" => ["author", "name"],
|
||||
"author-nick" => ["author", "nick"],
|
||||
"author-alias" => ["author", "alias"],
|
||||
"author-avatar" => ["author", "thumb"],
|
||||
"author-network" => ["author", "network"],
|
||||
"author-blocked" => ["author", "blocked"],
|
||||
|
@ -635,6 +642,7 @@
|
|||
"owner-addr" => ["owner", "addr"],
|
||||
"owner-name" => ["owner", "name"],
|
||||
"owner-nick" => ["owner", "nick"],
|
||||
"owner-alias" => ["owner", "alias"],
|
||||
"owner-avatar" => ["owner", "thumb"],
|
||||
"owner-network" => ["owner", "network"],
|
||||
"owner-blocked" => ["owner", "blocked"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue