Browse Source

Added a tumblr theme (Se parece, no hay violación de licencia :P)

Victor De la Rocha 15 years ago
parent
commit
13c4b5c7fb

BIN
themes/Dreamscape/images/bg.gif View File


BIN
themes/Dreamscape/images/content_bg.png View File


+ 185 - 0
themes/Dreamscape/index.htm View File

@@ -0,0 +1,185 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head>
3
+		{Gelato_includes}
4
+		<link rel="stylesheet" type="text/css" href="{URL_Tumble}/themes/{Template_name}/style.css"/>
5
+		<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/jquery.js"></script>
6
+		<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/lightbox.js"></script>
7
+		<link rel="stylesheet" type="text/css" href="{URL_Tumble}/admin/css/lightbox.css" />
8
+
9
+        <!-- DEFAULT COLORS -->
10
+        <meta name="color:Background" content="#002c43">
11
+        <meta name="color:Content Background" content="#005885">
12
+        <meta name="color:Content Border" content="#003955">
13
+        <meta name="color:Title" content="#fff">
14
+        <meta name="color:Description" content="#568">
15
+        <meta name="color:Post Title" content="#fff">
16
+        <meta name="color:Text" content="#fff">
17
+        <meta name="color:Inline Link" content="#ff9900">
18
+        <meta name="color:Quote" content="#fff">
19
+        <meta name="color:Quote Source" content="#aaa">
20
+        <meta name="color:Link Post" content="#ff9900">
21
+        <meta name="color:Conversation Background" content="#46a6e9">
22
+        <meta name="color:Conversation Border" content="#0070ba">
23
+        <meta name="color:Conversation Text" content="#000">
24
+        <meta name="color:Photo Border" content="#eee">
25
+        <meta name="color:Date 1" content="#888">
26
+        <meta name="color:Date 2" content="#4075a2">
27
+        <!-- END DEFAULT COLORS -->
28
+
29
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
30
+	    <title>{Page_Title}</title>
31
+	    {rssFeed}
32
+
33
+        <!--[if lt IE 7]>
34
+            <style type="text/css">
35
+                #content {
36
+                    background-image: none;
37
+                }
38
+
39
+                .post .date {
40
+                    right: 600px;
41
+                }
42
+            </style>
43
+        <![endif]-->
44
+    </head>
45
+    <body>
46
+        <div id="content">
47
+            <h1><a href="{URL_Tumble}">Gelato</a></h1>
48
+			{if {$error}}
49
+				<div class="error">{$error}</div>
50
+			{else}
51
+				{block {$rows} as {$row}}
52
+					<div class="post">
53
+						<div class="permalink"><a href="{$row.Permalink}">•</a></div>
54
+						<div class="date">
55
+							{$row.Date_Added}
56
+						</div>
57
+
58
+					{if {$row.postType}=='post'}
59
+						<div class="regular">
60
+							<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
61
+							{$row.Body}
62
+						</div>
63
+					{elseif {$row.postType}=='photo'}
64
+						<div class="photo">
65
+							<a {$row.Effect}><img src="{$row.PhotoURL}" alt="{$row.PhotoAlt}"></a>
66
+							<div class="caption">
67
+								{$row.Caption}
68
+							</div>
69
+						</div>
70
+					{elseif {$row.postType}=='quote'}
71
+						<div class="quote">
72
+							<span class="quote">
73
+								<big class="quote">“</big> <a href="{$row.Permalink}">{$row.Quote}</a>
74
+							</span>
75
+							<span class="source">{$row.Source}</span>
76
+						</div>
77
+					{elseif {$row.postType}=='url'}
78
+	                    <div class="link">
79
+		                    <a href="{$row.URL}" class="link" >{$row.Name}</a>
80
+	                        <div class="description">{$row.Description}</div>
81
+	                    </div>
82
+					{elseif {$row.postType}=='conversation'}
83
+						<div class="conversation">
84
+							...<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
85
+							{$row.Conversation}
86
+						</div>
87
+					{elseif {$row.postType}=='video'}
88
+						<div class="video">
89
+							{$row.Video}
90
+							<div class="caption">{$row.Caption}</div>
91
+						</div>
92
+					{elseif {$row.postType}=='mp3'}
93
+						<div class="video">
94
+							{$row.Mp3}
95
+							<div class="caption">{$row.Caption}</div>
96
+						</div>
97
+					{/if}
98
+					</div>
99
+					{if !{$id_post}}
100
+						<div class="totalComments">
101
+							<h3>{__("Posted by")} {$row.User} {if {$allowComments}}- <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) {__("comments")}{/if}</a></h3>
102
+						</div>
103
+					{/if}
104
+				{/block}
105
+
106
+				{if {$id_post}}
107
+					{if {$row.Comments_Number}>0}
108
+						<div class="containerComments">
109
+							<h3 id="comments">{$row.Comments_Number} {__("answers to")} &#8220;{$row.Post_Title}&#8221;</h3>
110
+							<ol class="commentlist">
111
+								{block {$comments} as {$comment}}
112
+								<li class="alt" id="comment-{$comment.Id_Comment}">
113
+									<cite>
114
+										<a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>&nbsp;&nbsp;
115
+										{$comment.Comment_Author} {__("said")}:
116
+									</cite>
117
+									<br />
118
+									<span class="timestampComment"> {__("at")} {$comment.Date}</span><br /><br />
119
+									{$comment.Comment}
120
+									<br /><br />
121
+								</li>
122
+								{/block}
123
+							</ol>
124
+						</div>
125
+					{/if}
126
+
127
+					{if {$allowComments}}
128
+						<div class="containerFormComments">
129
+							<h3 id="respond">{__("Add your comment")}</h3>
130
+
131
+							<form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
132
+								<p>
133
+									<label for="username">
134
+										<small>{__("Name:")}</small>
135
+									</label>
136
+									<input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
137
+								</p>
138
+								<p>
139
+									<label for="email">
140
+										<small>{__("E-mail:")}</small>
141
+									</label>
142
+									<input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
143
+								</p>
144
+								<p>
145
+									<label for="web">
146
+										<small>{__("Website:")}</small>
147
+									</label>
148
+									<input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
149
+								</p>
150
+								<p>
151
+									<textarea name="content" id="content" cols=" rows="10" tabindex="4"></textarea>
152
+								</p>
153
+								<p>
154
+									<span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
155
+				                    	{__("Some HTML allowed:")}<br />
156
+				                        &nbsp;&nbsp;&nbsp;&nbsp;
157
+				                        <code>
158
+				                            &lt;blockquote&gt; &lt;code&gt; &lt;em&gt; &lt;strong&gt; &lt;a&gt;
159
+				                        </code>
160
+				                	</span>
161
+				                </p>
162
+						  		<p>
163
+									<input type="submit" value="Add comment" name="btnAdd" id="btnAdd" tabindex="5" />
164
+								</p>
165
+								<p>
166
+									<input name="id_post" id="id_post" value="{id_post}" type="hidden" />
167
+									<input name="comment_date" id="comment_date" value="{Date_Added}" type="hidden" />
168
+								</p>
169
+							</form>
170
+						</div>
171
+					{/if}
172
+				{else}
173
+					{pagination}
174
+				{/if}
175
+			{/if}
176
+            <div id="footer">
177
+                <p class="tiny">
178
+                	{__("subscribe via")} <a href="{URL_Tumble}/rss.php">rss</a> &nbsp;/&nbsp;
179
+					{__("powered by")} <a href="http://www.gelatocms.com/">gelato cms</a>
180
+                </p>
181
+            </div>
182
+        </div>
183
+
184
+	</body>
185
+</html>

+ 378 - 0
themes/Dreamscape/style.css View File

@@ -0,0 +1,378 @@
1
+            body {
2
+                color:            #fff;
3
+                margin:           0px;
4
+                background:       #002c43 url('images/bg.gif');
5
+                font-family:      'Lucida Grande', Helvetica, sans-serif;
6
+            }
7
+
8
+            #content {
9
+                width:            510px;
10
+                margin:           auto;
11
+                padding:          35px;
12
+                position:         relative;
13
+                background:       #005885 url('images/content_bg.png');
14
+                border-left:      solid 10px #003955;
15
+                border-right:     solid 10px #003955;
16
+            }
17
+
18
+            a {
19
+                color:            #ff9900;
20
+            }
21
+
22
+            h1 {
23
+                padding:          25px 0px 65px 0px;
24
+                margin:           0px;
25
+                text-align:       center;
26
+                font:             Normal 65px Georgia, serif;
27
+                line-height:      60px;
28
+                letter-spacing:   -1px;
29
+                opacity:          0.9;
30
+                -moz-opacity:     0.9;
31
+                filter:           alpha(opacity=90);
32
+            }
33
+
34
+            h1 a {
35
+                color:            #fff;
36
+                text-decoration:  none;
37
+            }
38
+
39
+            div#content {
40
+                position:         relative;
41
+            }
42
+
43
+            div#description {
44
+                position:         absolute;
45
+                left:             605px;
46
+                font:             Normal 12px Verdana,sans-serif;
47
+                line-height:      20px;
48
+                width:            150px;
49
+                color:            #568;
50
+            }
51
+
52
+						div#search {
53
+							text-align: right;
54
+						}
55
+
56
+            div#description div a {
57
+                color:            #568;
58
+            }
59
+
60
+						div#searchresultcount {
61
+								text-align:				center;
62
+						}
63
+
64
+            .post {
65
+                position:         relative;
66
+                margin-bottom:    50px;
67
+            }
68
+
69
+            .post .permalink {
70
+                position:         absolute;
71
+                top:              8px;
72
+                right:            3px;
73
+                display:          none;
74
+                font-weight:      bold;
75
+                font-size:        24px;
76
+                line-height:      0px;
77
+            }
78
+
79
+            .post:hover .permalink {
80
+                display:          block;
81
+            }
82
+
83
+            .post .permalink a {
84
+                text-decoration:  none;
85
+            }
86
+
87
+            .post .date {
88
+                position:         absolute;
89
+                right:            565px;
90
+                text-align:       right;
91
+                width:            200px;
92
+                white-space:      nowrap;
93
+                font:             Bold 20px Helvetica, sans-serif;
94
+                text-align:       right;
95
+                letter-spacing:   -1px;
96
+                color:            #888;
97
+                padding:          5px 5px 5px 5px;
98
+                line-height:      20px;
99
+                text-transform:   uppercase;
100
+            }
101
+
102
+            .post .date em {
103
+                font-style:       normal;
104
+                color:            #4075a2;
105
+            }
106
+
107
+            .post .date big {
108
+                font-size:        30px;
109
+            }
110
+
111
+            .post h2 {
112
+                font:             Normal 20px Georgia, serif;
113
+                color:            #fff;
114
+                letter-spacing:   -1px;
115
+                margin:           0px 0px 10px 0px;
116
+            }
117
+
118
+            .post h2 a {
119
+                color:            #fff;
120
+                text-decoration:  none;
121
+            }
122
+
123
+            /* Regular Post */
124
+            .post .regular {
125
+                font-size:        12px;
126
+                line-height:      17px;
127
+            }
128
+
129
+            .post .regular blockquote {
130
+                font-style: italic;
131
+            }
132
+
133
+            /* Photo Post */
134
+            .post .photo img {
135
+                border:           solid 5px #eee;
136
+            }
137
+
138
+            .post .photo .caption {
139
+                font-size:        11px;
140
+                margin-top:       5px;
141
+            }
142
+
143
+            .post .photo .caption a {
144
+                color:            #fff;
145
+            }
146
+
147
+            /* Quote Post */
148
+            .post .quote span.quote {
149
+                font:             Normal 28px Georgia, serif;
150
+                letter-spacing:   -1px;
151
+                color:            #fff;
152
+            }
153
+
154
+            .post .quote span.quote a {
155
+                color:            #fff;
156
+            }
157
+
158
+            .post .quote span.quote big.quote {
159
+                font-weight:      bold;
160
+                font-size:        60px;
161
+                line-height:      8px;
162
+                vertical-align:   -20px;
163
+            }
164
+
165
+            .post .quote span.source {
166
+                font-size:        16px;
167
+                color:            #aaa;
168
+                letter-spacing:   -1px;
169
+            }
170
+
171
+            .post .quote span.source a {
172
+                color:            #aaa;
173
+            }
174
+
175
+            /* Link Post */
176
+            .post .link a.link {
177
+                font:             Bold 30px Helvetica, sans-serif;
178
+                letter-spacing:   -1px;
179
+                color:            #ff9900;
180
+                text-decoration:  none;
181
+                border-bottom:    dotted 1px #ff9900;
182
+                line-height:      33px;
183
+            }
184
+
185
+            .post .link .description {
186
+                font-weight:      normal;
187
+                font-size:        11px;
188
+                line-height:      16px;
189
+                margin-top:       5px;
190
+            }
191
+
192
+            /* Conversation Post */
193
+            .post .conversation ul {
194
+                background-color: #46a6e9;
195
+                list-style-type:  none;
196
+                margin:           0px;
197
+                padding:          0px;
198
+                border-left:      solid 5px #0070ba;
199
+            }
200
+
201
+            .post .conversation ul li {
202
+                border-bottom:    solid 1px #0070ba;
203
+                font-size:        12px;
204
+                padding:          4px 0px 4px 8px;
205
+                color:            #000;
206
+            }
207
+
208
+            .post .conversation ul li span.label {
209
+                font-weight:      bold;
210
+            }
211
+
212
+            /* Audio Post */
213
+            .post .audio .caption {
214
+                font-size:        11px;
215
+                margin-top:       5px;
216
+            }
217
+
218
+            .post .audio .caption a {
219
+                color:            #fff;
220
+            }
221
+
222
+            /* Video Post */
223
+            .post .video {
224
+                width:            500px;
225
+                margin:           auto;
226
+            }
227
+
228
+            .post .video .caption {
229
+                font-size:        11px;
230
+                margin-top:       5px;
231
+            }
232
+
233
+            .post .video .caption a {
234
+                color:            #fff;
235
+            }
236
+
237
+            /* Footer */
238
+            #footer {
239
+                margin:           20px 0px 0px 0px;
240
+                text-align:       center;
241
+                font-size:        22px;
242
+            }
243
+
244
+            #footer a {
245
+                text-decoration:  none;
246
+                color:            #fff;
247
+            }
248
+
249
+            #footer a:hover {
250
+                text-decoration:  underline;
251
+            }
252
+
253
+            #footer p.tiny {
254
+                margin:           50px 0px 0px 0px;
255
+                font-size:        11px;
256
+                font-weight:      bold;
257
+            }
258
+
259
+            #footer p.tiny a {
260
+                text-decoration:  underline;
261
+                color:            #fff;
262
+            }
263
+
264
+            #footer p.tiny .dim {
265
+                filter: alpha(opacity=50);
266
+                -moz-opacity: 0.5;
267
+                opacity: 0.5;
268
+            }
269
+
270
+						.query {
271
+								font-weight: 			bold;
272
+						}
273
+
274
+
275
+
276
+.containerFormComments {
277
+	margin: 25px 65px 0px 0px;
278
+	font-family: Verdana;
279
+	font-size: 0.75em;
280
+}
281
+
282
+#commentForm input, #commentForm textarea {
283
+	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
284
+}
285
+
286
+#commentForm p {
287
+	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
288
+	margin: 5px 0;
289
+}
290
+
291
+#commentForm input {
292
+	width: 170px;
293
+	padding: 2px;
294
+	margin: 5px 5px 1px 0;
295
+}
296
+
297
+#commentForm textarea {
298
+	width: 100%;
299
+	padding: 2px;
300
+	border:1px solid #fff;
301
+	background-color:#fff;
302
+}
303
+
304
+#commentForm #btnAdd {
305
+	margin: 0;
306
+	float: right;
307
+}
308
+
309
+.totalComments h3 {
310
+	margin: 0 10px 0 0;
311
+	font-size: 10pt;
312
+	font-weight: normal;
313
+	text-align: right;
314
+	color: #999;
315
+	font-style: italic;
316
+}
317
+
318
+.totalComments a {
319
+	color: #999;
320
+}
321
+
322
+/*
323
+Plugin Name: WP-Digg Style Paginator
324
+Plugin URI: http://www.mis-algoritmos.com/2007/09/09/wp-digg-style-pagination-plugin-v-10/
325
+Author: Victor De la Rocha
326
+Author URI: http://www.mis-algoritmos.com
327
+*/
328
+/*CSS Yahoo new version style pagination*/
329
+	div.pagination {
330
+		padding: 3px;
331
+		margin: 10px 3px 3px 3px;
332
+		text-align:center;
333
+		font-family:Tahoma,Helvetica,sans-serif;
334
+		font-size:.85em;
335
+	}
336
+
337
+	div.pagination a {
338
+		background-color:#fff;
339
+
340
+		border: 1px solid #ccdbe4;
341
+		margin-right:3px;
342
+		padding:2px 8px;
343
+
344
+		background-position:bottom;
345
+		text-decoration: none;
346
+
347
+		color: #000;
348
+	}
349
+	div.pagination a:hover, div.pagination a:active {
350
+		border: 1px solid #2b55af;
351
+		background-image:none;
352
+		background-color:#3666d4;
353
+		color: #fff;
354
+	}
355
+	div.pagination span.current {
356
+		margin-right:3px;
357
+		padding:2px 6px;
358
+
359
+		font-weight: bold;
360
+		color: #000;
361
+	}
362
+	div.pagination span.disabled {
363
+		display:none;
364
+	}
365
+	div.pagination a.next{
366
+		border:2px solid #ccdbe4;
367
+		margin:0 0 0 10px;
368
+	}
369
+	div.pagination a.next:hover{
370
+		border:2px solid #2b55af;
371
+	}
372
+	div.pagination a.prev{
373
+		border:2px solid #ccdbe4;
374
+		margin:0 10px 0 0;
375
+	}
376
+	div.pagination a.prev:hover{
377
+		border:2px solid #2b55af;
378
+	}

+ 72 - 73
themes/tumblr/index.htm View File

@@ -82,84 +82,83 @@
82 82
 						</div>
83 83
 				{/if}
84 84
 				</div>
85
-			{if !{$id_post}}
86
-				<div class="totalComments">
87
-					<h3>{__("Posted by")} {$row.User} {if {$allowComments}}- <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) {__("comments")}{/if}</a></h3>
88
-				</div>
89
-			{/if}
90
-
91
-		{/block}
85
+				{if !{$id_post}}
86
+					<div class="totalComments">
87
+						<h3>{__("Posted by")} {$row.User} {if {$allowComments}}- <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) {__("comments")}{/if}</a></h3>
88
+					</div>
89
+				{/if}
90
+			{/block}
92 91
 
93
-		{if {$id_post}}
94
-			{if {$row.Comments_Number}>0}
95
-				<div class="containerComments">
96
-					<h3 id="comments">{$row.Comments_Number} {__("answers to")} &#8220;{$row.Post_Title}&#8221;</h3>
97
-					<ol class="commentlist">
98
-						{block {$comments} as {$comment}}
99
-						<li class="alt" id="comment-{$comment.Id_Comment}">
100
-							<cite>
101
-								<a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>&nbsp;&nbsp;
102
-								{$comment.Comment_Author} {__("said")}:
103
-							</cite>
104
-							<br />
105
-							<span class="timestampComment"> {__("at")} {$comment.Date}</span><br /><br />
106
-							{$comment.Comment}
107
-							<br /><br />
108
-						</li>
109
-						{/block}
110
-					</ol>
111
-				</div>
112
-			{/if}
92
+			{if {$id_post}}
93
+				{if {$row.Comments_Number}>0}
94
+					<div class="containerComments">
95
+						<h3 id="comments">{$row.Comments_Number} {__("answers to")} &#8220;{$row.Post_Title}&#8221;</h3>
96
+						<ol class="commentlist">
97
+							{block {$comments} as {$comment}}
98
+							<li class="alt" id="comment-{$comment.Id_Comment}">
99
+								<cite>
100
+									<a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>&nbsp;&nbsp;
101
+									{$comment.Comment_Author} {__("said")}:
102
+								</cite>
103
+								<br />
104
+								<span class="timestampComment"> {__("at")} {$comment.Date}</span><br /><br />
105
+								{$comment.Comment}
106
+								<br /><br />
107
+							</li>
108
+							{/block}
109
+						</ol>
110
+					</div>
111
+				{/if}
113 112
 
114
-			{if {$allowComments}}
115
-				<div class="containerFormComments">
116
-					<h3 id="respond">{__("Add your comment")}</h3>
113
+				{if {$allowComments}}
114
+					<div class="containerFormComments">
115
+						<h3 id="respond">{__("Add your comment")}</h3>
117 116
 
118
-					<form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
119
-						<p>
120
-							<label for="username">
121
-								<small>{__("Name:")}</small>
122
-							</label>
123
-							<input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
124
-						</p>
125
-						<p>
126
-							<label for="email">
127
-								<small>{__("E-mail:")}</small>
128
-							</label>
129
-							<input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
130
-						</p>
131
-						<p>
132
-							<label for="web">
133
-								<small>{__("Website:")}</small>
134
-							</label>
135
-							<input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
136
-						</p>
137
-						<p>
138
-							<textarea name="content" id="content" cols="100" rows="10" tabindex="4"></textarea>
139
-						</p>
140
-						<p>
141
-							<span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
142
-		                    	{__("Some HTML allowed:")}<br />
143
-		                        &nbsp;&nbsp;&nbsp;&nbsp;
144
-		                        <code>
145
-		                            &lt;blockquote&gt; &lt;code&gt; &lt;em&gt; &lt;strong&gt; &lt;a&gt;
146
-		                        </code>
147
-		                	</span>
148
-		                </p>
149
-				  		<p>
150
-							<input type="submit" value="Add comment" name="btnAdd" id="btnAdd" tabindex="5" />
151
-						</p>
152
-						<p>
153
-							<input name="id_post" id="id_post" value="{id_post}" type="hidden" />
154
-							<input name="comment_date" id="comment_date" value="{Date_Added}" type="hidden" />
155
-						</p>
156
-					</form>
157
-				</div>
117
+						<form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
118
+							<p>
119
+								<label for="username">
120
+									<small>{__("Name:")}</small>
121
+								</label>
122
+								<input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
123
+							</p>
124
+							<p>
125
+								<label for="email">
126
+									<small>{__("E-mail:")}</small>
127
+								</label>
128
+								<input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
129
+							</p>
130
+							<p>
131
+								<label for="web">
132
+									<small>{__("Website:")}</small>
133
+								</label>
134
+								<input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
135
+							</p>
136
+							<p>
137
+								<textarea name="content" id="content" cols="100" rows="10" tabindex="4"></textarea>
138
+							</p>
139
+							<p>
140
+								<span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
141
+			                    	{__("Some HTML allowed:")}<br />
142
+			                        &nbsp;&nbsp;&nbsp;&nbsp;
143
+			                        <code>
144
+			                            &lt;blockquote&gt; &lt;code&gt; &lt;em&gt; &lt;strong&gt; &lt;a&gt;
145
+			                        </code>
146
+			                	</span>
147
+			                </p>
148
+					  		<p>
149
+								<input type="submit" value="Add comment" name="btnAdd" id="btnAdd" tabindex="5" />
150
+							</p>
151
+							<p>
152
+								<input name="id_post" id="id_post" value="{id_post}" type="hidden" />
153
+								<input name="comment_date" id="comment_date" value="{Date_Added}" type="hidden" />
154
+							</p>
155
+						</form>
156
+					</div>
157
+				{/if}
158
+			{else}
159
+				{pagination}
158 160
 			{/if}
159
-		{else}
160
-			{pagination}
161 161
 		{/if}
162
-	{/if}
163 162
 	</div>
164 163
 	<div id="footer">
165 164
 		{__("subscribe via")} <a href="{URL_Tumble}/rss.php">rss</a> &nbsp;/&nbsp;