|
@@ -25,8 +25,8 @@
|
25
|
25
|
{if {$isAuthenticated}}
|
26
|
26
|
<div style="padding:4px; border:solid 2px #bbb; display:inline; background-color:#ddd; position:absolute; top:3px; right:3px;">
|
27
|
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
|
30
|
</div>
|
31
|
31
|
{/if}
|
32
|
32
|
|
|
@@ -37,85 +37,66 @@
|
37
|
37
|
<div class="date">
|
38
|
38
|
{$row.Date_Added}
|
39
|
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
|
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
|
43
|
<div class="regular">
|
45
|
44
|
<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
46
|
45
|
{$row.Body}
|
47
|
46
|
</div>
|
48
|
|
- </div>
|
49
|
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
|
48
|
<div class="photo">
|
53
|
49
|
<a {$row.Effect}><img src="{$row.PhotoURL}" alt="{$row.PhotoAlt}" /></a><br/>
|
54
|
50
|
<div class="caption">{$row.Caption}</div>
|
55
|
51
|
</div>
|
56
|
|
- </div>
|
57
|
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
|
53
|
<div class="quote">
|
61
|
54
|
<span class="quote"><big class="quote"><a href="{$row.Permalink}">“</a></big> {$row.Quote}</span>
|
62
|
55
|
<div class="source">— {$row.Source}</div>
|
63
|
56
|
</div>
|
64
|
|
- </div>
|
65
|
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
|
60
|
<div class="description">{$row.Description}</div>
|
71
|
61
|
</div>
|
72
|
|
- </div>
|
73
|
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
|
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
|
65
|
{$row.Conversation}
|
79
|
66
|
</div>
|
80
|
|
- </div>
|
81
|
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
|
68
|
<div class="video">
|
85
|
69
|
{$row.Video}
|
86
|
70
|
<div class="caption">{$row.Caption}</div>
|
87
|
71
|
</div>
|
88
|
|
- </div>
|
89
|
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
|
73
|
<div class="video">
|
93
|
74
|
{$row.Mp3}
|
94
|
75
|
<div class="caption">{$row.Caption}</div>
|
95
|
76
|
</div>
|
96
|
|
- </div>
|
97
|
77
|
{/if}
|
98
|
|
-
|
|
78
|
+ </div>
|
99
|
79
|
{if !{$id_post}}
|
100
|
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
|
82
|
</div>
|
103
|
83
|
{/if}
|
|
84
|
+
|
104
|
85
|
{/block}
|
105
|
86
|
|
106
|
87
|
{if {$id_post}}
|
107
|
88
|
{if {$row.Comments_Number}>0}
|
108
|
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
|
91
|
<ol class="commentlist">
|
111
|
92
|
{block {$comments} as {$comment}}
|
112
|
93
|
<li class="alt" id="comment-{$comment.Id_Comment}">
|
113
|
94
|
<cite>
|
114
|
95
|
<a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>
|
115
|
|
- {$comment.Comment_Author} said:
|
|
96
|
+ {$comment.Comment_Author} {__("said")}:
|
116
|
97
|
</cite>
|
117
|
98
|
<br />
|
118
|
|
- <span class="timestampComment"> at {$comment.Date}</span><br /><br />
|
|
99
|
+ <span class="timestampComment"> {__("at")} {$comment.Date}</span><br /><br />
|
119
|
100
|
{$comment.Comment}
|
120
|
101
|
<br /><br />
|
121
|
102
|
</li>
|
|
@@ -126,24 +107,24 @@
|
126
|
107
|
|
127
|
108
|
{if {$allowComments}}
|
128
|
109
|
<div class="containerFormComments">
|
129
|
|
- <h3 id="respond">Add your comment</h3>
|
|
110
|
+ <h3 id="respond">{__("Add your comment")}</h3>
|
130
|
111
|
|
131
|
112
|
<form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
|
132
|
113
|
<p>
|
133
|
114
|
<label for="username">
|
134
|
|
- <small>Name:</small>
|
|
115
|
+ <small>{__("Name:")}</small>
|
135
|
116
|
</label>
|
136
|
117
|
<input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
|
137
|
118
|
</p>
|
138
|
119
|
<p>
|
139
|
120
|
<label for="email">
|
140
|
|
- <small>E-mail:</small>
|
|
121
|
+ <small>{__("E-mail:")}</small>
|
141
|
122
|
</label>
|
142
|
123
|
<input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
|
143
|
124
|
</p>
|
144
|
125
|
<p>
|
145
|
126
|
<label for="web">
|
146
|
|
- <small>Website:</small>
|
|
127
|
+ <small>{__("Website:")}</small>
|
147
|
128
|
</label>
|
148
|
129
|
<input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
|
149
|
130
|
</p>
|
|
@@ -152,7 +133,7 @@
|
152
|
133
|
</p>
|
153
|
134
|
<p>
|
154
|
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
|
138
|
<code>
|
158
|
139
|
<blockquote> <code> <em> <strong> <a>
|
|
@@ -175,8 +156,8 @@
|
175
|
156
|
{/if}
|
176
|
157
|
</div>
|
177
|
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
|
161
|
</div>
|
181
|
162
|
</body>
|
182
|
163
|
</html>
|