[repo.or.cz] duojsonparge.git branch master updated: bee5952abd724fd83de0691a3cc24fe8150916ea

0 views
Skip to first unread message

hahahahacker2009

<hahahahacker2009@gmail.com>
unread,
Aug 30, 2024, 7:35:00 AMAug 30
to duovn894@googlegroups.com
This is an automated email generated because a ref change occurred in the
git repository for project duojsonparge.git.

The branch, master has been updated
via bee5952abd724fd83de0691a3cc24fe8150916ea (commit)
from b93dcb04d051ef7eec082b82475c69480f79018d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bee5952abd724fd83de0691a3cc24fe8150916ea
Author: hahahahacker2009 <hahahaha...@gmail.com>
Date: Tue, 27 Aug 2024 21:52:25 +0700
URL: <https://repo.or.cz/duojsonparge.git/bee5952abd724fd8>

add line breaks, users wants to edit html

---
comment/view.php | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/comment/view.php b/comment/view.php
index 61cef3e7cdc3..43e3c376e879 100644
--- a/comment/view.php
+++ b/comment/view.php
@@ -26,14 +26,14 @@ walk_cmt($cmtarr) /* call: walk_cmt($arr['comment']); */
echo "<blockquote>";
if (!isset($arr['user']['deactivated'])) {
echo "<pre>{$arr['user']['username']} | "
- . "Vote: {$arr['votes']}</pre>";
+ . "Vote: {$arr['votes']}</pre>\n";
} else {
echo "<pre>[deactivated user]</pre> | "
- . "Vote: {$arr['votes']}</pre>";
+ . "Vote: {$arr['votes']}</pre>\n";
}
- echo "{$arr['marked_down_message']}";
- echo "<pre>{$arr['datetime_string']}</pre>";
- echo "<p><br></p>";
+ echo "{$arr['marked_down_message']}\n";
+ echo "<pre>{$arr['datetime_string']}</pre>\n";
+ echo "<p><br></p>\n";
if ($arr['num_comments'] > 0) {
walk_cmt($arr['comments']);
}
@@ -56,26 +56,26 @@ fclose($file);
$page_title = $arr['title'];
include "{$_SERVER['DOCUMENT_ROOT']}/extra/header.html";
if ($mode == 1) {
- echo "<p><a href=\"/page1.html\">danh sách bài viết</a></p>";
+ echo "<p><a href=\"/page1.html\">danh sách bài viết</a></p>\n";
} else {
- echo "<p><a href=\"/comment/\">danh sách bài viết</a></p>";
+ echo "<p><a href=\"/comment/\">danh sách bài viết</a></p>\n";
}
-echo "<h1>{$arr['title']}</h1>";
+echo "<h1>{$arr['title']}</h1>\n";
if (!isset($arr['user']['deactivated'])) {
- echo "<pre>{$arr['user']['username']}</pre>";
+ echo "<pre>{$arr['user']['username']}</pre>\n";
} else {
- echo "<pre>[deactivated user]</pre>";
+ echo "<pre>[deactivated user]</pre>\n";
}
-echo "<pre>Vote: {$arr['votes']}</pre>";
+echo "<pre>Vote: {$arr['votes']}</pre>\n";

-echo "{$arr['marked_down_message']}";
+echo "{$arr['marked_down_message']}\n";
if ($mode == 1) {
$name = "$req.html";
} else {
$name = $req;
}
-echo "<pre><a href=\"/comment/$name\">{$arr['datetime_string']}</a></pre>";
-echo "<h3>{$arr['num_comments']} bình luận</h3>";
+echo "<pre><a href=\"/comment/$name\">{$arr['datetime_string']}</a></pre>\n";
+echo "<h3>{$arr['num_comments']} bình luận</h3>\n";
walk_cmt($arr['comments']);
include "{$_SERVER['DOCUMENT_ROOT']}/extra/footer.html";


-----------------------------------------------------------------------

Summary of changes:
comment/view.php | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)


repo.or.cz automatic notification. Contact project admin hahahaha...@gmail.com
if you want to unsubscribe, or site admin ad...@repo.or.cz if you receive
no reply.
--
duojsonparge.git ("Scripts to parse duolingo forum's json file and generate minimal HTML web page.")
Reply all
Reply to author
Forward
0 new messages