diff --git a/composer.json b/composer.json index 56c29d4..8a28896 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "pablouser1/proxitok", "description": "An alternative frontend for TikTok", - "version": "2.4.6.0", + "version": "2.4.7.0", "license": "AGPL-3.0-or-later", "type": "project", "authors": [ diff --git a/composer.lock b/composer.lock index e91edaa..b0d13f5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8536364f5905bc49a9a88d4fa3daa3be", + "content-hash": "97152c7473ad08a262f9db1af867faaa", "packages": [ { "name": "bramus/router", @@ -303,16 +303,16 @@ }, { "name": "pablouser1/tikscraper", - "version": "v2.3.5.0", + "version": "v2.3.6.0", "source": { "type": "git", "url": "https://github.com/pablouser1/TikScraperPHP.git", - "reference": "825b486fa07832a4ee694739ca4ffdb67c392fb8" + "reference": "23eff4120eecfb01ed27e049dc36ed14a967cef8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/825b486fa07832a4ee694739ca4ffdb67c392fb8", - "reference": "825b486fa07832a4ee694739ca4ffdb67c392fb8", + "url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/23eff4120eecfb01ed27e049dc36ed14a967cef8", + "reference": "23eff4120eecfb01ed27e049dc36ed14a967cef8", "shasum": "" }, "require": { @@ -346,9 +346,9 @@ "description": "Get data from TikTok API", "support": { "issues": "https://github.com/pablouser1/TikScraperPHP/issues", - "source": "https://github.com/pablouser1/TikScraperPHP/tree/v2.3.5.0" + "source": "https://github.com/pablouser1/TikScraperPHP/tree/v2.3.6.0" }, - "time": "2023-03-05T12:17:33+00:00" + "time": "2023-03-06T20:19:11+00:00" }, { "name": "php-webdriver/webdriver", diff --git a/templates/views/video.latte b/templates/views/video.latte index 5ce87ec..0c7bab0 100644 --- a/templates/views/video.latte +++ b/templates/views/video.latte @@ -45,6 +45,34 @@ + {if !empty($item->comments)} +
+

Comments

+ {foreach $item->comments as $comment} +
+
+

+ +

+
+
+
+

+ {$comment->user->unique_id} + + @{$comment->user->nickname} + + {date('M d, Y', $comment->create_time)} +
+ {$comment->text} +

+
+

{include '../components/icon.latte', icon: 'heart', text: number($comment->digg_count)}

+
+
+ {/foreach} +
+ {/if} {/block}