|
|
|
|
25
|
{if {$isAuthenticated}}
|
25
|
{if {$isAuthenticated}}
|
26
|
<div style="padding:4px; border:solid 2px #bbb; display:inline; background-color:#ddd; position:absolute; top:3px; right:3px;">
|
26
|
<div style="padding:4px; border:solid 2px #bbb; display:inline; background-color:#ddd; position:absolute; top:3px; right:3px;">
|
27
|
<b>Hi, {User}.</b>
|
27
|
<b>Hi, {User}.</b>
|
28
|
- <a target="_top" href="{URL_Tumble}/admin/index.php">Add/Edit my posts</a>
|
|
|
29
|
- <a target="_top" href="{URL_Tumble}/admin/close.php">Sign out</a>
|
|
|
|
|
28
|
+ <a target="_top" href="{URL_Tumble}/admin/index.php">{__("Add or Edit my posts")}</a>
|
|
|
29
|
+ <a target="_top" href="{URL_Tumble}/admin/close.php">{__("Sign out")}</a>
|
30
|
</div>
|
30
|
</div>
|
31
|
{/if}
|
31
|
{/if}
|
32
|
|
32
|
|
|
|
|
|
37
|
<div class="date">
|
37
|
<div class="date">
|
38
|
{$row.Date_Added}
|
38
|
{$row.Date_Added}
|
39
|
</div>
|
39
|
</div>
|
|
|
40
|
+ <div class="post">
|
|
|
41
|
+ <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
40
|
{if {$row.postType}=='post'}
|
42
|
{if {$row.postType}=='post'}
|
41
|
- <div class="post">
|
|
|
42
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
|
43
|
-
|
|
|
44
|
<div class="regular">
|
43
|
<div class="regular">
|
45
|
<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
44
|
<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
46
|
{$row.Body}
|
45
|
{$row.Body}
|
47
|
</div>
|
46
|
</div>
|
48
|
- </div>
|
|
|
49
|
{elseif {$row.postType}=='photo'}
|
47
|
{elseif {$row.postType}=='photo'}
|
50
|
- <div class="post">
|
|
|
51
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
|
52
|
<div class="photo">
|
48
|
<div class="photo">
|
53
|
<a {$row.Effect}><img src="{$row.PhotoURL}" alt="{$row.PhotoAlt}" /></a><br/>
|
49
|
<a {$row.Effect}><img src="{$row.PhotoURL}" alt="{$row.PhotoAlt}" /></a><br/>
|
54
|
<div class="caption">{$row.Caption}</div>
|
50
|
<div class="caption">{$row.Caption}</div>
|
55
|
</div>
|
51
|
</div>
|
56
|
- </div>
|
|
|
57
|
{elseif {$row.postType}=='quote'}
|
52
|
{elseif {$row.postType}=='quote'}
|
58
|
- <div class="post">
|
|
|
59
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
|
60
|
<div class="quote">
|
53
|
<div class="quote">
|
61
|
<span class="quote"><big class="quote"><a href="{$row.Permalink}">“</a></big> {$row.Quote}</span>
|
54
|
<span class="quote"><big class="quote"><a href="{$row.Permalink}">“</a></big> {$row.Quote}</span>
|
62
|
<div class="source">— {$row.Source}</div>
|
55
|
<div class="source">— {$row.Source}</div>
|
63
|
</div>
|
56
|
</div>
|
64
|
- </div>
|
|
|
65
|
{elseif {$row.postType}=='url'}
|
57
|
{elseif {$row.postType}=='url'}
|
66
|
- <div class="post">
|
|
|
67
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
|
68
|
- <div class="link">
|
|
|
69
|
- » <a href="{$row.URL}">{$row.Name}</a>
|
|
|
|
|
58
|
+ <div class="link">
|
|
|
59
|
+ » <a href="{$row.URL}">{$row.Name}</a>
|
70
|
<div class="description">{$row.Description}</div>
|
60
|
<div class="description">{$row.Description}</div>
|
71
|
</div>
|
61
|
</div>
|
72
|
- </div>
|
|
|
73
|
{elseif {$row.postType}=='conversation'}
|
62
|
{elseif {$row.postType}=='conversation'}
|
74
|
- <div class="post">
|
|
|
75
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
|
76
|
<div class="conversation">
|
63
|
<div class="conversation">
|
77
|
- ...<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
|
|
|
|
64
|
+ ...<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
78
|
{$row.Conversation}
|
65
|
{$row.Conversation}
|
79
|
</div>
|
66
|
</div>
|
80
|
- </div>
|
|
|
81
|
{elseif {$row.postType}=='video'}
|
67
|
{elseif {$row.postType}=='video'}
|
82
|
- <div class="post">
|
|
|
83
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
|
84
|
<div class="video">
|
68
|
<div class="video">
|
85
|
{$row.Video}
|
69
|
{$row.Video}
|
86
|
<div class="caption">{$row.Caption}</div>
|
70
|
<div class="caption">{$row.Caption}</div>
|
87
|
</div>
|
71
|
</div>
|
88
|
- </div>
|
|
|
89
|
{elseif {$row.postType}=='mp3'}
|
72
|
{elseif {$row.postType}=='mp3'}
|
90
|
- <div class="post">
|
|
|
91
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
|
92
|
<div class="video">
|
73
|
<div class="video">
|
93
|
{$row.Mp3}
|
74
|
{$row.Mp3}
|
94
|
<div class="caption">{$row.Caption}</div>
|
75
|
<div class="caption">{$row.Caption}</div>
|
95
|
</div>
|
76
|
</div>
|
96
|
- </div>
|
|
|
97
|
{/if}
|
77
|
{/if}
|
98
|
-
|
|
|
|
|
78
|
+ </div>
|
99
|
{if !{$id_post}}
|
79
|
{if !{$id_post}}
|
100
|
<div class="totalComments">
|
80
|
<div class="totalComments">
|
101
|
- <h3>Posted by {$row.User} {if {$allowComments}}- <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) comments{/if}</a></h3>
|
|
|
|
|
81
|
+ <h3>{__("Posted by")} {$row.User} {if {$allowComments}}- <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) {__("comments")}{/if}</a></h3>
|
102
|
</div>
|
82
|
</div>
|
103
|
{/if}
|
83
|
{/if}
|
|
|
84
|
+
|
104
|
{/block}
|
85
|
{/block}
|
105
|
|
86
|
|
106
|
{if {$id_post}}
|
87
|
{if {$id_post}}
|
107
|
{if {$row.Comments_Number}>0}
|
88
|
{if {$row.Comments_Number}>0}
|
108
|
<div class="containerComments">
|
89
|
<div class="containerComments">
|
109
|
- <h3 id="comments">{$row.Comments_Number} answers to “{$row.Post_Title}”</h3>
|
|
|
|
|
90
|
+ <h3 id="comments">{$row.Comments_Number} {__("answers to")} “{$row.Post_Title}”</h3>
|
110
|
<ol class="commentlist">
|
91
|
<ol class="commentlist">
|
111
|
{block {$comments} as {$comment}}
|
92
|
{block {$comments} as {$comment}}
|
112
|
<li class="alt" id="comment-{$comment.Id_Comment}">
|
93
|
<li class="alt" id="comment-{$comment.Id_Comment}">
|
113
|
<cite>
|
94
|
<cite>
|
114
|
<a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>
|
95
|
<a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>
|
115
|
- {$comment.Comment_Author} said:
|
|
|
|
|
96
|
+ {$comment.Comment_Author} {__("said")}:
|
116
|
</cite>
|
97
|
</cite>
|
117
|
<br />
|
98
|
<br />
|
118
|
- <span class="timestampComment"> at {$comment.Date}</span><br /><br />
|
|
|
|
|
99
|
+ <span class="timestampComment"> {__("at")} {$comment.Date}</span><br /><br />
|
119
|
{$comment.Comment}
|
100
|
{$comment.Comment}
|
120
|
<br /><br />
|
101
|
<br /><br />
|
121
|
</li>
|
102
|
</li>
|
|
|
|
|
126
|
|
107
|
|
127
|
{if {$allowComments}}
|
108
|
{if {$allowComments}}
|
128
|
<div class="containerFormComments">
|
109
|
<div class="containerFormComments">
|
129
|
- <h3 id="respond">Add your comment</h3>
|
|
|
|
|
110
|
+ <h3 id="respond">{__("Add your comment")}</h3>
|
130
|
|
111
|
|
131
|
<form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
|
112
|
<form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
|
132
|
<p>
|
113
|
<p>
|
133
|
<label for="username">
|
114
|
<label for="username">
|
134
|
- <small>Name:</small>
|
|
|
|
|
115
|
+ <small>{__("Name:")}</small>
|
135
|
</label>
|
116
|
</label>
|
136
|
<input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
|
117
|
<input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
|
137
|
</p>
|
118
|
</p>
|
138
|
<p>
|
119
|
<p>
|
139
|
<label for="email">
|
120
|
<label for="email">
|
140
|
- <small>E-mail:</small>
|
|
|
|
|
121
|
+ <small>{__("E-mail:")}</small>
|
141
|
</label>
|
122
|
</label>
|
142
|
<input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
|
123
|
<input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
|
143
|
</p>
|
124
|
</p>
|
144
|
<p>
|
125
|
<p>
|
145
|
<label for="web">
|
126
|
<label for="web">
|
146
|
- <small>Website:</small>
|
|
|
|
|
127
|
+ <small>{__("Website:")}</small>
|
147
|
</label>
|
128
|
</label>
|
148
|
<input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
|
129
|
<input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
|
149
|
</p>
|
130
|
</p>
|
|
|
|
|
152
|
</p>
|
133
|
</p>
|
153
|
<p>
|
134
|
<p>
|
154
|
<span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
|
135
|
<span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
|
155
|
- Some HTML allowed:<br />
|
|
|
|
|
136
|
+ {__("Some HTML allowed:")}<br />
|
156
|
|
137
|
|
157
|
<code>
|
138
|
<code>
|
158
|
<blockquote> <code> <em> <strong> <a>
|
139
|
<blockquote> <code> <em> <strong> <a>
|
|
|
|
|
175
|
{/if}
|
156
|
{/if}
|
176
|
</div>
|
157
|
</div>
|
177
|
<div id="footer">
|
158
|
<div id="footer">
|
178
|
- subscribe via <a href="{URL_Tumble}/rss.php">rss</a> /
|
|
|
179
|
- powered by <a href="http://www.gelatocms.com/">gelato cms</a>
|
|
|
|
|
159
|
+ {__("subscribe via")} <a href="{URL_Tumble}/rss.php">rss</a> /
|
|
|
160
|
+ {__("powered by")} <a href="http://www.gelatocms.com/">gelato cms</a>
|
180
|
</div>
|
161
|
</div>
|
181
|
</body>
|
162
|
</body>
|
182
|
</html>
|
163
|
</html>
|