|
@@ -28,7 +28,7 @@
|
28
|
28
|
{Description}
|
29
|
29
|
</div>
|
30
|
30
|
|
31
|
|
- {if {$isAuthenticated}}
|
|
31
|
+ {if $isAuthenticated}
|
32
|
32
|
<div style="padding:4px; border:solid 2px #bbb; display:inline; background-color:#ddd; position:absolute; top:3px; right:3px;">
|
33
|
33
|
<b>Hi, {User}.</b>
|
34
|
34
|
<a target="_top" href="{URL_Tumble}/admin/index.php">{__("Add or Edit my posts")}</a>
|
|
@@ -36,65 +36,65 @@
|
36
|
36
|
</div>
|
37
|
37
|
{/if}
|
38
|
38
|
|
39
|
|
- {if {$error}}
|
|
39
|
+ {if $error}
|
40
|
40
|
<div class="error">{$error}</div>
|
41
|
41
|
{else}
|
42
|
|
- {block {$rows} as {$row}}
|
|
42
|
+ {block $rows as $row}
|
43
|
43
|
<div class="date">
|
44
|
44
|
{$row.Date_Added}
|
45
|
45
|
</div>
|
46
|
46
|
<div class="post">
|
47
|
47
|
<a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
48
|
|
- {if {$row.postType}=='post'}
|
|
48
|
+ {if $row.postType=='post'}
|
49
|
49
|
<div class="regular">
|
50
|
50
|
<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
51
|
51
|
{$row.Body}
|
52
|
52
|
</div>
|
53
|
|
- {elseif {$row.postType}=='photo'}
|
|
53
|
+ {elseif $row.postType=='photo'}
|
54
|
54
|
<div class="photo">
|
55
|
55
|
<a {$row.Effect}><img src="{$row.PhotoURL}" alt="{$row.PhotoAlt}" /></a><br/>
|
56
|
56
|
<div class="caption">{$row.Caption}</div>
|
57
|
57
|
</div>
|
58
|
|
- {elseif {$row.postType}=='quote'}
|
|
58
|
+ {elseif $row.postType=='quote'}
|
59
|
59
|
<div class="quote">
|
60
|
60
|
<span class="quote"><big class="quote"><a href="{$row.Permalink}">“</a></big> {$row.Quote}</span>
|
61
|
61
|
<div class="source">— {$row.Source}</div>
|
62
|
62
|
</div>
|
63
|
|
- {elseif {$row.postType}=='url'}
|
|
63
|
+ {elseif $row.postType=='url'}
|
64
|
64
|
<div class="link">
|
65
|
65
|
» <a href="{$row.URL}">{$row.Name}</a>
|
66
|
66
|
<div class="description">{$row.Description}</div>
|
67
|
67
|
</div>
|
68
|
|
- {elseif {$row.postType}=='conversation'}
|
|
68
|
+ {elseif $row.postType=='conversation'}
|
69
|
69
|
<div class="conversation">
|
70
|
70
|
...<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
71
|
71
|
{$row.Conversation}
|
72
|
72
|
</div>
|
73
|
|
- {elseif {$row.postType}=='video'}
|
|
73
|
+ {elseif $row.postType=='video'}
|
74
|
74
|
<div class="video">
|
75
|
75
|
{$row.Video}
|
76
|
76
|
<div class="caption">{$row.Caption}</div>
|
77
|
77
|
</div>
|
78
|
|
- {elseif {$row.postType}=='mp3'}
|
|
78
|
+ {elseif $row.postType=='mp3'}
|
79
|
79
|
<div class="video">
|
80
|
80
|
{$row.Mp3}
|
81
|
81
|
<div class="caption">{$row.Caption}</div>
|
82
|
82
|
</div>
|
83
|
83
|
{/if}
|
84
|
84
|
</div>
|
85
|
|
- {if !{$id_post}}
|
|
85
|
+ {if !$id_post}
|
86
|
86
|
<div class="totalComments">
|
87
|
|
- <h3>{__("Posted by")} {$row.User} {if {$allowComments}}- <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) {__("comments")}{/if}</a></h3>
|
|
87
|
+ <h3>{__("Posted by")} {$row.User} {if $allowComments}- <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) {__("comments")}{/if}</a></h3>
|
88
|
88
|
</div>
|
89
|
89
|
{/if}
|
90
|
90
|
{/block}
|
91
|
91
|
|
92
|
|
- {if {$id_post}}
|
93
|
|
- {if {$row.Comments_Number}>0}
|
|
92
|
+ {if $id_post}
|
|
93
|
+ {if $row.Comments_Number>0}
|
94
|
94
|
<div class="containerComments">
|
95
|
95
|
<h3 id="comments">{$row.Comments_Number} {__("answers to")} “{$row.Post_Title}”</h3>
|
96
|
96
|
<ol class="commentlist">
|
97
|
|
- {block {$comments} as {$comment}}
|
|
97
|
+ {block $comments as $comment}
|
98
|
98
|
<li class="alt" id="comment-{$comment.Id_Comment}">
|
99
|
99
|
<cite>
|
100
|
100
|
<a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>
|
|
@@ -110,7 +110,7 @@
|
110
|
110
|
</div>
|
111
|
111
|
{/if}
|
112
|
112
|
|
113
|
|
- {if {$allowComments}}
|
|
113
|
+ {if $allowComments}
|
114
|
114
|
<div class="containerFormComments">
|
115
|
115
|
<h3 id="respond">{__("Add your comment")}</h3>
|
116
|
116
|
|
|
@@ -165,4 +165,4 @@
|
165
|
165
|
{__("powered by")} <a href="http://www.gelatocms.com/">gelato cms</a>
|
166
|
166
|
</div>
|
167
|
167
|
</body>
|
168
|
|
-</html>
|
|
168
|
+</html>
|