|
@@ -0,0 +1,423 @@
|
|
1
|
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+<html xmlns="http://www.w3.org/1999/xhtml">
|
|
3
|
+ <head>
|
|
4
|
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
5
|
+ <meta name="generator" content="gelato cms {version}" />
|
|
6
|
+ <title>gelato :: {__("control panel")}</title>
|
|
7
|
+ <link rel="shortcut icon" href="{conf.urlGelato}/images/favicon.ico" />
|
|
8
|
+ <script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/jquery.js"></script>
|
|
9
|
+ <script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/tools.js"></script>
|
|
10
|
+ <script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/lightbox.js"></script>
|
|
11
|
+ <script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/jquery.validate.min.js"></script>
|
|
12
|
+ <script language="javascript" type="text/javascript">
|
|
13
|
+ $(document).ready(function(){
|
|
14
|
+ $("#divMessages").fadeOut(5000,function(){
|
|
15
|
+ $("#divMessages").css({display:"none"});
|
|
16
|
+ });
|
|
17
|
+ });
|
|
18
|
+ Lightbox.fileLoadingImage = "css/images/loading.gif";
|
|
19
|
+ Lightbox.fileBottomNavCloseImage = "css/images/closelabel.gif";
|
|
20
|
+ </script>
|
|
21
|
+ {if {$conf.richText}}
|
|
22
|
+ <script src="{conf.urlGelato}/admin/scripts/nicEdit.js" type="text/javascript"></script>
|
|
23
|
+ <script type="text/javascript">
|
|
24
|
+ bkLib.onDomLoaded(nicEditors.allTextAreas);
|
|
25
|
+ </script>
|
|
26
|
+ {else}
|
|
27
|
+ <script type="text/javascript" src="{conf.urlGelato}/admin/scripts/markitup/jquery.markitup.pack.js"></script>
|
|
28
|
+ <script type="text/javascript" src="{conf.urlGelato}/admin/scripts/markitup/sets/html/set.js"></script>
|
|
29
|
+ <link rel="stylesheet" type="text/css" href="{conf.urlGelato}/admin/scripts/markitup/skins/simple/style.css" />
|
|
30
|
+ <link rel="stylesheet" type="text/css" href="{conf.urlGelato}/admin/scripts/markitup/sets/html/style.css" />
|
|
31
|
+ <script type="text/javascript" >
|
|
32
|
+ $(document).ready(function() {
|
|
33
|
+ $("#description").markItUp(my_html);
|
|
34
|
+ });
|
|
35
|
+ </script>
|
|
36
|
+ {/if}
|
|
37
|
+ <style type="text/css" media="screen">
|
|
38
|
+ @import "{conf.urlGelato}/admin/css/style.css";
|
|
39
|
+ @import "{conf.urlGelato}/admin/css/lightbox.css";
|
|
40
|
+ </style>
|
|
41
|
+ </head>
|
|
42
|
+
|
|
43
|
+ <body>
|
|
44
|
+ <div id="div-process" style="display:none;">{__("Processing request…")}</div>
|
|
45
|
+ <div id="cont">
|
|
46
|
+ <div id="head">
|
|
47
|
+ <h1><a href="{conf.urlGelato}/admin/index.php" title="gelato :: {__("home")}">gelato cms</a></h1>
|
|
48
|
+ <ul id="nav">
|
|
49
|
+ <li><a href="{conf.urlGelato}/" title="{__("Take me to the tumblelog")}">{__("View Tumblelog")}</a></li>
|
|
50
|
+ <li><a href="close.php" title="Log off" >{__("Log out")}</a></li>
|
|
51
|
+ </ul>
|
|
52
|
+ </div>
|
|
53
|
+ <div id="main">
|
|
54
|
+ <div class="box">
|
|
55
|
+ <ul class="menu">
|
|
56
|
+ <h3>{__("New Post")}</h3>
|
|
57
|
+
|
|
58
|
+ <li {if {$new}=="conversation"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=conversation"><img src="css/images/comments.png" alt="New chat" /> {__("Chat")}</a></li>
|
|
59
|
+ <li {if {$new}=="quote"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=quote"><img src="css/images/quote.png" alt="New qoute" /> {__("Quote")}</a></li>
|
|
60
|
+ <li {if {$new}=="url"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=url"><img src="css/images/world.png" alt="New link" /> {__("Link")}</a></li>
|
|
61
|
+ <li {if {$new}=="mp3"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=mp3"><img src="css/images/music.png" alt="New audio" /> {__("Audio")}</a></li>
|
|
62
|
+ <li {if {$new}=="video"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=video"><img src="css/images/film.png" alt="New video" /> {__("Video")}</a></li>
|
|
63
|
+ <li {if {$new}=="photo"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=photo"><img src="css/images/image.png" alt="New picture" /> {__("Picture")}</a></li>
|
|
64
|
+ <li {if {$new}=="post" or {$new}==null}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=post"><img src="css/images/page.png" alt="New post" /> {__("Regular")}</a></li>
|
|
65
|
+ </ul>
|
|
66
|
+ <p> </p>
|
|
67
|
+
|
|
68
|
+ {if {$information}}<div class="information" id="update">{information}</div><br />{/if}
|
|
69
|
+ {if {$action.deleted} or {$action.modified} or {$action.added}}<div class="exito" id="divMessages">{exito}</div>{/if}
|
|
70
|
+ {if {$error}}<div class="error"><strong>{error}</div>{/if}
|
|
71
|
+
|
|
72
|
+ <form action="index.php" method="post" {if {$new}=='photo'}enctype="multipart/form-data"{/if} name="frmAdd" id="autosave" class="newpost">
|
|
73
|
+ <fieldset>
|
|
74
|
+ {if {$postId}}<input type="hidden" name="id_post" id="id_post" value="{postId}" />{/if}
|
|
75
|
+ {if {$type}=='post'}
|
|
76
|
+ <div>
|
|
77
|
+ <label for="title" style="display:block;">Title <span class="option">(optional)</span></label>
|
|
78
|
+ <br /><input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
|
|
79
|
+ </div>
|
|
80
|
+ <div>
|
|
81
|
+ <label for="description" style="display:block;">Body</label>
|
|
82
|
+ <textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
|
|
83
|
+ </div>
|
|
84
|
+
|
|
85
|
+ <input type="hidden" name="url" id="url" value="" />
|
|
86
|
+ <input type="hidden" name="type" id="type" value="{type}" />
|
|
87
|
+ <input type="hidden" name="date" id="date" value="{date}" />
|
|
88
|
+ <input type="hidden" name="id_user" id="id_user" value="{id_user}" />
|
|
89
|
+
|
|
90
|
+ <script>
|
|
91
|
+ $("#autosave").validate({
|
|
92
|
+ rules: {
|
|
93
|
+ description: "required"
|
|
94
|
+ },
|
|
95
|
+ errorElement: "span",
|
|
96
|
+ errorClass: "validate_span",
|
|
97
|
+ errorPlacement: function(label, element) {
|
|
98
|
+ label.prependTo(element.prev())
|
|
99
|
+ }
|
|
100
|
+ });
|
|
101
|
+ </script>
|
|
102
|
+ {elseif {$type}=='photo'}
|
|
103
|
+ <div id="photo_upload">
|
|
104
|
+ <label for="description">Photo</label>
|
|
105
|
+ <br /><input type="file" name="photo" id="photo" accept="image/gif,image/jpeg,image/jpg,image/png"/>
|
|
106
|
+ <div style="font-size:11px; color:#666; margin-top:5px;">
|
|
107
|
+ Supports JPEG, GIF and PNG. <strong>Max size is 10 MB.</strong>
|
|
108
|
+ </div>
|
|
109
|
+ <div style="font-size:11px; color:#666; margin-top:5px;">
|
|
110
|
+ <a href="#" class="linkFrm">Use a URL instead</a>
|
|
111
|
+ </div>
|
|
112
|
+ </div>
|
|
113
|
+
|
|
114
|
+ <div id="photo_url">
|
|
115
|
+ <label for="description">Photo URL</label>
|
|
116
|
+ <br /><input class="input-text" type="text" name="url" id="url" size="80" value="{editUrl}" />
|
|
117
|
+ <div style="font-size:11px; color:#666; margin-top:5px;">
|
|
118
|
+ <a href="#" class="linkFrm">Use a upload form instead</a>
|
|
119
|
+ </div>
|
|
120
|
+ </div>
|
|
121
|
+
|
|
122
|
+ <div>
|
|
123
|
+ <label for="description" style="display:block;">Caption <span class="option">(optional)</span></label>
|
|
124
|
+ <textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
|
|
125
|
+ </div>
|
|
126
|
+
|
|
127
|
+ <input type="hidden" name="title" id="title" value="" />
|
|
128
|
+ <input type="hidden" name="MAX_FILE_SIZE" value="10485760" />
|
|
129
|
+ <input type="hidden" name="type" id="type" value="{type}" />
|
|
130
|
+ <input type="hidden" name="date" id="date" value="{date}" />
|
|
131
|
+ <input type="hidden" name="id_user" id="id_user" value="{id_user}" />
|
|
132
|
+
|
|
133
|
+ <script>
|
|
134
|
+ $('#photo_url').css('display','none');
|
|
135
|
+ $("#autosave").validate({
|
|
136
|
+ rules: {
|
|
137
|
+ photo: {
|
|
138
|
+ required: function() {
|
|
139
|
+ return ($('#photo_upload').css('display')!= 'none') ? true : false;
|
|
140
|
+ },
|
|
141
|
+ accept: "(jpe?g|gif|png)"
|
|
142
|
+ },
|
|
143
|
+ url: {
|
|
144
|
+ required: function() {
|
|
145
|
+ return ($('#photo_url').css('display')!= 'none') ? true : false;
|
|
146
|
+ },
|
|
147
|
+ url: true
|
|
148
|
+ }
|
|
149
|
+ },
|
|
150
|
+ errorElement: "span",
|
|
151
|
+ errorClass: "validate_span",
|
|
152
|
+ errorPlacement: function(label, element) {
|
|
153
|
+ label.prependTo(element.prev())
|
|
154
|
+ }
|
|
155
|
+ });
|
|
156
|
+
|
|
157
|
+ $("#photo_upload a.linkFrm").click( function() {
|
|
158
|
+ $('#photo_upload').css('display','none');
|
|
159
|
+ $('#photo_url').css('display','block');
|
|
160
|
+ $('#photo').val('');
|
|
161
|
+ return false;
|
|
162
|
+ }
|
|
163
|
+ );
|
|
164
|
+
|
|
165
|
+ $("#photo_url a.linkFrm").click( function() {
|
|
166
|
+ $('#photo_url').css('display','none');
|
|
167
|
+ $('#photo_upload').css('display','block');
|
|
168
|
+ $('#url').val('');
|
|
169
|
+ return false;
|
|
170
|
+ }
|
|
171
|
+ );
|
|
172
|
+ </script>
|
|
173
|
+ {elseif {$type}=='quote'}
|
|
174
|
+ <div>
|
|
175
|
+ <label for="description">Quote</label>
|
|
176
|
+ <br /><textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
|
|
177
|
+ </div>
|
|
178
|
+ <div>
|
|
179
|
+ <label for="title">Source <span class="option">(optional)</span></label>
|
|
180
|
+ <br /><input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
|
|
181
|
+ </div>
|
|
182
|
+
|
|
183
|
+ <input type="hidden" name="url" id="url" value="" />
|
|
184
|
+ <input type="hidden" name="type" id="type" value="{type}" />
|
|
185
|
+ <input type="hidden" name="date" id="date" value="{date}" />
|
|
186
|
+ <input type="hidden" name="id_user" id="id_user" value="{id_user}" />
|
|
187
|
+
|
|
188
|
+ <script>
|
|
189
|
+ $("#autosave").validate({
|
|
190
|
+ rules: {
|
|
191
|
+ description: "required"
|
|
192
|
+ },
|
|
193
|
+ errorElement: "span",
|
|
194
|
+ errorClass: "validate_span",
|
|
195
|
+ errorPlacement: function(label, element) {
|
|
196
|
+ label.prependTo(element.prev())
|
|
197
|
+ }
|
|
198
|
+ });
|
|
199
|
+ </script>
|
|
200
|
+ {elseif {$type}=='url'}
|
|
201
|
+ <div>
|
|
202
|
+ <label for="title">Name <span class="option">(optional)</span></label>
|
|
203
|
+ <br /><input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
|
|
204
|
+ </div>
|
|
205
|
+ <div>
|
|
206
|
+ <label for="url">URL</label>
|
|
207
|
+ <br /><input class="txt" type="text" name="url" id="url" value="{editUrl}" size="80" />
|
|
208
|
+ </div>
|
|
209
|
+ <div>
|
|
210
|
+ <div id="add_link_description" style="margin-top:5px;">
|
|
211
|
+ <a class="linkFrm" href="#" onclick="document.getElementById('link_description').style.display = ''; document.getElementById('add_link_description').style.display = 'none'; return false;" style="font-size:11px;">Add a description</a><br /><br />
|
|
212
|
+ </div>
|
|
213
|
+ <div id="link_description" style="display:none;">
|
|
214
|
+ <label for="description">Description</label><br />
|
|
215
|
+ <textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
|
|
216
|
+ </div>
|
|
217
|
+ </div>
|
|
218
|
+ <input type="hidden" name="type" id="type" value="{type}" />
|
|
219
|
+ <input type="hidden" name="date" id="date" value="{date}" />
|
|
220
|
+ <input type="hidden" name="id_user" id="id_user" value="{id_user}" />
|
|
221
|
+
|
|
222
|
+ <script>
|
|
223
|
+ $("#autosave").validate({
|
|
224
|
+ rules: {
|
|
225
|
+ url: {
|
|
226
|
+ required: true,
|
|
227
|
+ url: true
|
|
228
|
+ }
|
|
229
|
+ },
|
|
230
|
+ errorElement: "span",
|
|
231
|
+ errorClass: "validate_span",
|
|
232
|
+ errorPlacement: function(label, element) {
|
|
233
|
+ label.prependTo(element.prev())
|
|
234
|
+ }
|
|
235
|
+ });
|
|
236
|
+ </script>
|
|
237
|
+ {elseif {$type}=='conversation'}
|
|
238
|
+ <div>
|
|
239
|
+ <label for="title">Title <span class="option">(optional)</span></label><br />
|
|
240
|
+ <input class="txt" type="text" name="title" id="title" value="{editTitle}" size="80" />
|
|
241
|
+ </div>
|
|
242
|
+
|
|
243
|
+ <div>
|
|
244
|
+ <label for="description">Conversation</label>
|
|
245
|
+ <div style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
|
|
246
|
+ <span style="font-weight: bold;">Example</span><br>
|
|
247
|
+ <span style="font-style: italic;">
|
|
248
|
+ Geek: Wow an open source tumblelog CMS!!.<br>
|
|
249
|
+ Normal: Tumble... what??<br>
|
|
250
|
+ Geek: Read the wikipedia!!
|
|
251
|
+ </span>
|
|
252
|
+ </div>
|
|
253
|
+ <textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
|
|
254
|
+ </div>
|
|
255
|
+
|
|
256
|
+ <input type="hidden" name="url" id="url" value="" />
|
|
257
|
+ <input type="hidden" name="type" id="type" value="{type}" />
|
|
258
|
+ <input type="hidden" name="date" id="date" value="{date}" />
|
|
259
|
+ <input type="hidden" name="id_user" id="id_user" value="{id_user}" />
|
|
260
|
+
|
|
261
|
+ <script>
|
|
262
|
+ $("#autosave").validate({
|
|
263
|
+ rules: {
|
|
264
|
+ description: "required"
|
|
265
|
+ },
|
|
266
|
+ errorElement: "span",
|
|
267
|
+ errorClass: "validate_span",
|
|
268
|
+ errorPlacement: function(label, element) {
|
|
269
|
+ label.prependTo(element.parent().children("label"))
|
|
270
|
+ }
|
|
271
|
+ });
|
|
272
|
+ </script>
|
|
273
|
+ {elseif {$type}=='video'}
|
|
274
|
+ <div>
|
|
275
|
+ <label for="url">Video URL</label>
|
|
276
|
+ <br /><input class="txt" type="text" name="url" id="url" value="{editUrl}" size="80" />
|
|
277
|
+ <div style="color: rgb(136, 136, 136); margin-bottom: 5px; font-size: 11px; font-weight: bold;">
|
|
278
|
+ This is the URL from the video sites YouTube, Vimeo, Yahoo, Daily Motion <br />
|
|
279
|
+ or even an Slide Share Presentation.<br />
|
|
280
|
+ <span style="font-size: 10px; font-weight: normal;">(ie. http://youtube.com/watch?v=HcBFLN9cli0)</span>
|
|
281
|
+ </div>
|
|
282
|
+ </div>
|
|
283
|
+ <div>
|
|
284
|
+ <label for="description">Caption <span class="option">(optional)</span></label><br />
|
|
285
|
+ <textarea rows="12" cols="84" name="description" id="description" tabindex="2">{editBody}</textarea>
|
|
286
|
+ </div>
|
|
287
|
+
|
|
288
|
+ <input type="hidden" name="title" id="title" value="" />
|
|
289
|
+ <input type="hidden" name="type" id="type" value="{type}" />
|
|
290
|
+ <input type="hidden" name="date" id="date" value="{date}" />
|
|
291
|
+ <input type="hidden" name="id_user" id="id_user" value="{id_user}" />
|
|
292
|
+
|
|
293
|
+ <script>
|
|
294
|
+ $("#autosave").validate({
|
|
295
|
+ rules: {
|
|
296
|
+ url: {
|
|
297
|
+ required: true,
|
|
298
|
+ url: true
|
|
299
|
+ }
|
|
300
|
+ },
|
|
301
|
+ errorElement: "span",
|
|
302
|
+ errorClass: "validate_span",
|
|
303
|
+ errorPlacement: function(label, element) {
|
|
304
|
+ label.prependTo(element.prev())
|
|
305
|
+ }
|
|
306
|
+ });
|
|
307
|
+ </script>
|
|
308
|
+ {elseif {$type}=='mp3'}
|
|
309
|
+ <div>
|
|
310
|
+ <label for="url">MP3 URL</label>
|
|
311
|
+ <br /><input class="txt" type="text" name="url" id="url" value="{editUrl}" size="80" />
|
|
312
|
+ <div style="color: rgb(136, 136, 136); margin-bottom: 5px; font-size: 11px; font-weight: bold;">
|
|
313
|
+ This is the MP3 file URL or a GoEar URL or an Odeo URL.<br>
|
|
314
|
+ <span style="font-size: 10px; font-weight: normal;">(ie. http://www.goear.com/listen.php?v=c0a2c85)</span>
|
|
315
|
+ </div>
|
|
316
|
+ </div>
|
|
317
|
+ <div>
|
|
318
|
+ <label for="description">Caption <span class="option">(optional)</span></label><br />
|
|
319
|
+ <textarea rows="12" cols="84" name="description" id="description" tabindex="2">{editBody}</textarea>
|
|
320
|
+ </div>
|
|
321
|
+
|
|
322
|
+ <input type="hidden" name="title" id="title" value="" />
|
|
323
|
+ <input type="hidden" name="type" id="type" value="{type}" />
|
|
324
|
+ <input type="hidden" name="date" id="date" value="{date}" />
|
|
325
|
+ <input type="hidden" name="id_user" id="id_user" value="{id_user}" />
|
|
326
|
+
|
|
327
|
+ <script>
|
|
328
|
+ $("#autosave").validate({
|
|
329
|
+ rules: {
|
|
330
|
+ url: {
|
|
331
|
+ required: true,
|
|
332
|
+ url: true
|
|
333
|
+ }
|
|
334
|
+ },
|
|
335
|
+ errorElement: "span",
|
|
336
|
+ errorClass: "validate_span",
|
|
337
|
+ errorPlacement: function(label, element) {
|
|
338
|
+ label.prependTo(element.prev())
|
|
339
|
+ }
|
|
340
|
+ });
|
|
341
|
+ </script>
|
|
342
|
+ {/if}
|
|
343
|
+
|
|
344
|
+ <p>
|
|
345
|
+ <span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
|
|
346
|
+ {__("Some HTML allowed")}:<br />
|
|
347
|
+
|
|
348
|
+ <code>
|
|
349
|
+ <strong> <em> <del> <ul> <ol> <li> <a>
|
|
350
|
+ <br />
|
|
351
|
+ <blockquote>
|
|
352
|
+ <code> <pre> <img>
|
|
353
|
+ </code>
|
|
354
|
+ <br /><br />
|
|
355
|
+ Bookmarklet - <a class="bookmarklet" title="{__("Drag to the Bookmarks Toolbar")}" href="javascript:var w; setTimeout('w.focus()',100);w=window.open('{conf.urlGelato}/admin/bm.php?url='+encodeURIComponent(location.href)+'&sel='+encodeURIComponent(window.getSelection()),'bookmarklet','toolbar=0,resizable=0,status=1,width=650,height=540,dependent=yes' ); w.focus();">{__("add to gelato")}</a>
|
|
356
|
+ <br /><br />
|
|
357
|
+ </span>
|
|
358
|
+ </p>
|
|
359
|
+ <p>
|
|
360
|
+ <input class="btn" type="submit" name="btnAdd" value="{if {$isEdition}}Modify{else}Create{/if} post" />
|
|
361
|
+ </p>
|
|
362
|
+ </fieldset>
|
|
363
|
+ </form>
|
|
364
|
+ <div class="footer-box"> </div>
|
|
365
|
+ </div>
|
|
366
|
+
|
|
367
|
+ <div class="box">
|
|
368
|
+ <ul class="menu manage">
|
|
369
|
+ <h3>{__('Manage')}</h3>
|
|
370
|
+ <li><a href="{conf.urlGelato}/admin/settings.php">{__("Settings")}</a></li>
|
|
371
|
+ <li><a href="{conf.urlGelato}/admin/options.php">{__("Options")}</a></li>
|
|
372
|
+ <li><a href="{conf.urlGelato}/admin/feeds.php">{__("Feeds")}</a></li>
|
|
373
|
+ <li><a href="{conf.urlGelato}/admin/admin.php">{__("Users")}</a></li>
|
|
374
|
+ <li><a href="{conf.urlGelato}/admin/comments.php">{__("Comments")}</a></li>
|
|
375
|
+ <li class="selected"><a>{__("Posts")}</a></li>
|
|
376
|
+ </ul>
|
|
377
|
+
|
|
378
|
+ {if !{$isEdition}}
|
|
379
|
+ {if {$Posts_Number}}
|
|
380
|
+ {block {$rows} as {$row}}
|
|
381
|
+ <div class="entry">
|
|
382
|
+ <div class="info"><span class="compact"><a href="{$row.Permalink}">Link</a> <a href="{conf.urlGelato}/admin/index.php?edit={$row.Id_Post}"><img src="{conf.urlGelato}/admin/css/images/edit.png" alt="" title="" /></a> <a href="{conf.urlGelato}/admin/index.php?delete={$row.Id_Post}"><img src="{conf.urlGelato}/admin/css/images/delete.png" alt="" title="" /></a></span>
|
|
383
|
+ <p>{$row.Date_Added}</p>
|
|
384
|
+ </div>
|
|
385
|
+ <div class="post">
|
|
386
|
+ {if {$row.postType}=='post'}
|
|
387
|
+ <span class="option"><a href="{$row.Permalink}">{$row.Title}</a></span>
|
|
388
|
+ <p>{$row.Body}</p>
|
|
389
|
+ {elseif {$row.postType}=='photo'}
|
|
390
|
+ <span class="option">{$row.Caption}</span>
|
|
391
|
+ <p><a {Effect}><img src="{$row.PhotoURL}" alt="{$row.PhotoAlt}" /></a></a></p>
|
|
392
|
+ {elseif {$row.postType}=='quote'}
|
|
393
|
+ <span class="option">— {$row.Source}</span>
|
|
394
|
+ <p><big class="quote"><a href="{$row.Permalink}">“</a></big> {$row.Quote}</p>
|
|
395
|
+ {elseif {$row.postType}=='url'}
|
|
396
|
+ <span class="option">» <a href="{$row.URL}">{$row.Name}</a></span>
|
|
397
|
+ <p>{$row.Description}</p>
|
|
398
|
+ {elseif {$row.postType}=='conversation'}
|
|
399
|
+ <span class="option">{$row.Title}</span>
|
|
400
|
+ <div class="conversation">{$row.Conversation}</div>
|
|
401
|
+ {elseif {$row.postType}=='video'}
|
|
402
|
+ <span class="option">{$row.Caption}</span>
|
|
403
|
+ <p><img src="{conf.urlGelato}/admin/css/images/film.png" alt="Watch video" /> <a href="{$row.Permalink}">{__('Watch')}</a></p>
|
|
404
|
+ {elseif {$row.postType}=='mp3'}
|
|
405
|
+ <span class="option">{$row.Caption}</span>
|
|
406
|
+ <p><img src="{conf.urlGelato}/admin/css/images/music.png" alt="Play song" /> <a href="{$row.Permalink}">{__('Play')}</a></p>
|
|
407
|
+ {/if}
|
|
408
|
+ </div>
|
|
409
|
+ </div>
|
|
410
|
+ {/block}
|
|
411
|
+ {/if}
|
|
412
|
+ {/if}
|
|
413
|
+
|
|
414
|
+ {pagination}
|
|
415
|
+ <div class="footer-box"> </div>
|
|
416
|
+ </div>
|
|
417
|
+ </div>
|
|
418
|
+ <div id="foot">
|
|
419
|
+ <a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: {__("PHP&MySQL Tumblelog Content Management System.')}
|
|
420
|
+ </div>
|
|
421
|
+ </div>
|
|
422
|
+ </body>
|
|
423
|
+</html>
|