diff --git a/src/Template/Main/claims.ctp b/src/Template/Main/claims.ctp index f2ec67a..bb88925 100644 --- a/src/Template/Main/claims.ctp +++ b/src/Template/Main/claims.ctp @@ -40,13 +40,10 @@ $a = ['purple', 'orange', 'blue', 'teal', 'green', 'yellow']; $autoThumbText = ''; -$link = $claim->Name; $rawLink = $claim->Name; if (isset($claim->Publisher->Name)) { - $link = urlencode($claim->Publisher->Name) . '/' . $link; $rawLink = $claim->Publisher->Name . '/' . $rawLink; } -$link = 'lbry://' . $link; $rawLink = 'lbry://' . $rawLink; if ($claim->ClaimType == 1) { $autoThumbText = strtoupper(substr($claim->Name, 1, min( strlen($claim->Name), 10 ))); } else { $str = str_replace(' ', '', (strlen(trim($claim->Title)) > 0) ? $claim->Title : $claim->Name); @@ -81,7 +78,7 @@ if (strlen(trim($desc)) == 0) {
IsNSFW && strlen(trim($claim->ThumbnailUrl)) > 0): ?> - +
@@ -144,7 +141,7 @@ if (strlen(trim($desc)) == 0) {
Language)) > 0 ? ($claim->Language == 'en' ? 'English' : '') : 'Unspecified' ?>
- Open in LBRY + Open in LBRY
@@ -165,13 +162,10 @@ if (strlen(trim($desc)) == 0) { } $autoThumbText = ''; - $link = $claim->Name; $rawLink = $claim->Name; if (isset($claim->Publisher->Name)) { - $link = urlencode($claim->Publisher->Name) . '/' . $link; $rawLink = $claim->Publisher->Name . '/' . $rawLink; } - $link = 'lbry://' . $link; $rawLink = 'lbry://' . $rawLink; $cost = ''; if (isset($claim->Price) && $claim->Price > 0) { @@ -216,7 +210,7 @@ if (strlen(trim($desc)) == 0) {
IsNSFW && strlen(trim($claim->ThumbnailUrl)) > 0): ?> - +
@@ -224,7 +218,7 @@ if (strlen(trim($desc)) == 0) {
ClaimType == 1 ? $claim->Name : ((strlen(trim($claim->Title)) > 0) ? $claim->Title : 'No Title') ?>
- +
Description)) > 0 ? $claim->Description : 'No description available' ?>
@@ -291,13 +285,10 @@ if (strlen(trim($desc)) == 0) { $row++; } $autoThumbText = ''; - $link = $claim->Name; $rawLink = $claim->Name; if (isset($claim->Publisher->Name)) { - $link = urlencode($claim->Publisher->Name) . '/' . $link; $rawLink = $claim->Publisher->Name . '/' . $rawLink; } - $link = 'lbry://' . $link; $rawLink = 'lbry://' . $rawLink; $cost = ''; if (isset($claim->Price) && $claim->Price > 0) { @@ -342,7 +333,7 @@ if (strlen(trim($desc)) == 0) {
IsNSFW && strlen(trim($claim->ThumbnailUrl)) > 0): ?> - +
@@ -350,7 +341,7 @@ if (strlen(trim($desc)) == 0) {