diff --git a/modules/timeline.php b/modules/timeline.php index a8cb832..a61b92d 100644 --- a/modules/timeline.php +++ b/modules/timeline.php @@ -333,12 +333,12 @@ if ((!isset($thread[0]['id']) && !empty($thread)) || !is_array($thread)) { } } - //if ((empty($elem['media_attachments']) && $post['media'] == "") || (!(empty($elem['media_attachments']) && $post['media'] == "") && $user_settings['attach'] == "off")) { - //$post['template'] = themes("get","templates/textpost.txt"); - //} - //else { + if ((empty($elem['media_attachments']) && $post['media'] == "") || (!(empty($elem['media_attachments']) && $post['media'] == "") && $user_settings['attach'] == "off")) { + $post['template'] = themes("get","templates/textpost.txt"); + } + else { $post['template'] = themes("get","templates/post.txt"); - //} + } foreach ($post as $key => $value) { $post['template'] = str_replace(":$key:", $value, $post['template']); diff --git a/templates/textpost.txt b/templates/textpost.txt index a41ff26..6f07178 100644 --- a/templates/textpost.txt +++ b/templates/textpost.txt @@ -1,23 +1,20 @@
-
-
+
+
:ancestors:
- - - :name: :rt: - + :name: :rt:
-
-
:spoiler: :replyto: :text:
-
- + :spoiler: +
+ :replyto: :text: +
+
:notes:
-
:descendants:
+
:descendants:
-