[14687] | 1 | {assign var=derivative value=$pwg->derivative($stripped.imageSize, $current.src_image)} |
---|
[14481] | 2 | {assign var='size' value=$derivative->get_size()} |
---|
[12547] | 3 | {literal} |
---|
| 4 | <script type="text/javascript"> |
---|
[14481] | 5 | var image_w = {/literal}{$size[0]}{literal} |
---|
| 6 | var image_h = {/literal}{$size[1]}{literal} |
---|
[12547] | 7 | </script> |
---|
| 8 | {/literal} |
---|
| 9 | |
---|
[18640] | 10 | {include file='infos_errors.tpl'} |
---|
[7989] | 11 | |
---|
[8025] | 12 | <div class="titrePage" id="imageHeaderBar"> |
---|
[7989] | 13 | <div class="browsePath"> |
---|
[8025] | 14 | {$SECTION_TITLE} |
---|
[9960] | 15 | {if ($stripped.showTitleOnBrowsePath)}{$LEVEL_SEPARATOR}{$current.TITLE}{/if} |
---|
[7989] | 16 | </div> |
---|
| 17 | <ul class="randomButtons"> |
---|
[12321] | 18 | <li id="imageToolBar"> |
---|
| 19 | {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} |
---|
| 20 | </li> |
---|
| 21 | {strip}{if isset($U_SLIDESHOW_START) } |
---|
| 22 | <li><a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li> |
---|
| 23 | {/if}{/strip} |
---|
| 24 | {strip}{if isset($U_ADMIN) } |
---|
| 25 | <li><a href="{$U_ADMIN}" title="{'Modify information'|@translate}">{'edit'|@translate}</a></li> |
---|
| 26 | {/if}{/strip} |
---|
| 27 | {strip}{if isset($U_CADDIE)} |
---|
| 28 | <li><a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL}', {$current.id}); return false;" title="{'add to caddie'|@translate}" rel="nofollow">{'caddie'|@translate}</a></li> |
---|
| 29 | {/if}{/strip} |
---|
[11090] | 30 | {strip}{if isset($favorite) } |
---|
[8025] | 31 | <li><a href="{$favorite.U_FAVORITE}" title="{$favorite.FAVORITE_HINT}">{'Favorites'|@translate}</a></li> |
---|
[11090] | 32 | {/if}{/strip} |
---|
[12321] | 33 | {strip}{if !empty($U_SET_AS_REPRESENTATIVE) } |
---|
| 34 | <li><a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}">{'representative'|@translate}</a></li> |
---|
| 35 | {/if}{/strip} |
---|
[11090] | 36 | {strip}{if isset($current.U_DOWNLOAD)} |
---|
[16298] | 37 | <li><a href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}">{'Download'|@translate}</a></li> |
---|
[11090] | 38 | {/if}{/strip} |
---|
[12321] | 39 | {strip}{if isset($PLUGIN_PICTURE_ACTIONS)} |
---|
| 40 | <li class="plugin_buttons plugin_buttons_group1">{$PLUGIN_PICTURE_ACTIONS}</li> |
---|
[26898] | 41 | {/if} |
---|
| 42 | {/strip} |
---|
| 43 | {if isset($PLUGIN_PICTURE_BUTTONS)}{foreach from=$PLUGIN_PICTURE_BUTTONS item=button}<li class="plugin_buttons plugin_buttons_group1">{$button}</li>{/foreach}{/if} |
---|
[12321] | 44 | {strip}{if isset($U_CADDIE)}{*caddie management BEGIN*} |
---|
| 45 | {footer_script} |
---|
| 46 | {literal} |
---|
| 47 | function addToCadie(aElement, rootUrl, id) |
---|
| 48 | { |
---|
| 49 | if (aElement.disabled) return; |
---|
| 50 | aElement.disabled=true; |
---|
| 51 | var y = new PwgWS(rootUrl); |
---|
| 52 | y.callService( |
---|
| 53 | "pwg.caddie.add", {image_id: id} , |
---|
| 54 | { |
---|
| 55 | onFailure: function(num, text) { alert(num + " " + text); document.location=aElement.href; }, |
---|
| 56 | onSuccess: function(result) { aElement.disabled = false; } |
---|
| 57 | } |
---|
| 58 | ); |
---|
| 59 | } |
---|
| 60 | {/literal} |
---|
| 61 | {/footer_script} |
---|
| 62 | {/if}{/strip} |
---|
| 63 | <li class="plugin_buttons plugin_buttons_group2">{*caddie management END*}</li> |
---|
| 64 | </ul> |
---|
[8025] | 65 | {if ($GMaps_loaded)}<div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>{/if} |
---|
| 66 | <div style="clear:both;"></div> |
---|
| 67 | </div> <!-- imageHeaderBar --> |
---|
[7989] | 68 | |
---|
| 69 | {if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if} |
---|
| 70 | <div id="content"> |
---|
[12960] | 71 | <div class="hideTabsZone hideTabs"> </div> |
---|
[7989] | 72 | |
---|
| 73 | <!-- Image HD --> |
---|
| 74 | <div id="theImageHigh" style="display:none;"> |
---|
| 75 | <div id="theImgHighBg"></div> |
---|
| 76 | <div id="theImgHighContainer"> |
---|
| 77 | <div id="theImgHighCloseButton" onclick="closeDisplayHigh();"></div> |
---|
| 78 | <div id="theImgHighZoomButton" class="fit" onclick="switchZoomHigh();"></div> |
---|
| 79 | <div id="theImgHighContainer2"> |
---|
| 80 | <img id="theImgHigh" src="" style="display:none;" alt="{$ALT_IMG}"> |
---|
| 81 | </div> |
---|
| 82 | </div> |
---|
| 83 | </div> |
---|
| 84 | |
---|
| 85 | {assign var='display_description_tab' value=false} |
---|
[12547] | 86 | {if (($stripped.imageCaption != 'description') && isset($COMMENT_IMG))} |
---|
[7989] | 87 | {assign var='display_description_tab' value=true} |
---|
| 88 | {/if} |
---|
| 89 | |
---|
| 90 | {assign var='showTitle' value=false} |
---|
[12893] | 91 | {if isset($COMMENT_IMG) and $stripped.imageCaption == 'description'} |
---|
[7989] | 92 | {assign var='showTitle' value=true} |
---|
| 93 | {/if} |
---|
[12893] | 94 | {if isset($current.TITLE) and $stripped.imageCaption == 'title'} |
---|
| 95 | {assign var='showTitle' value=true} |
---|
| 96 | {/if} |
---|
[7989] | 97 | |
---|
| 98 | <div id="theImageAndTitle"> |
---|
[12960] | 99 | <div id="theImageBox" > |
---|
| 100 | <div class="hideTabsZone hideTabs"> </div> |
---|
[12547] | 101 | {if (isset($previous) && $stripped.navArrows) } |
---|
| 102 | <a href="{$previous.U_IMG}" id="imgprev"> </a> |
---|
[7989] | 103 | {/if} |
---|
[12968] | 104 | <div id="theImage"> |
---|
[7989] | 105 | {$ELEMENT_CONTENT} |
---|
| 106 | </div> |
---|
[12547] | 107 | {if (isset($next) && $stripped.navArrows)} |
---|
| 108 | <a href="{$next.U_IMG}" id="imgnext"> </a> |
---|
| 109 | {/if} |
---|
[7989] | 110 | </div> |
---|
| 111 | {if $showTitle } |
---|
| 112 | <div id="imageTitleContainer"><div id="imageTitle"> |
---|
[12547] | 113 | {if ($stripped.imageCaption == 'description' )} |
---|
[12893] | 114 | {$COMMENT_IMG} |
---|
[12547] | 115 | {/if} |
---|
| 116 | {if ($stripped.imageCaption == 'title' )} |
---|
[7989] | 117 | {$current.TITLE} |
---|
| 118 | {/if} |
---|
| 119 | </div></div> |
---|
| 120 | {/if} |
---|
| 121 | </div> <!-- theImage --> |
---|
| 122 | <div style="clear: both;"></div> |
---|
| 123 | |
---|
[12547] | 124 | <div id="tabZone"> |
---|
[7989] | 125 | |
---|
| 126 | {assign var='display_info_panel' value=false} |
---|
| 127 | {assign var='display_count' value='0'} |
---|
| 128 | {if $display_info.author}{assign var='display_count' value=$display_count+1}{/if} |
---|
| 129 | {if $display_info.created_on}{assign var='display_count' value=$display_count+1}{/if} |
---|
| 130 | {if $display_info.posted_on}{assign var='display_count' value=$display_count+1}{/if} |
---|
| 131 | {if $display_info.dimensions}{assign var='display_count' value=$display_count+1}{/if} |
---|
| 132 | {if $display_info.file}{assign var='display_count' value=$display_count+1}{/if} |
---|
| 133 | {if $display_info.filesize}{assign var='display_count' value=$display_count+1}{/if} |
---|
| 134 | {if $display_info.categories}{assign var='display_count' value=$display_count+1}{/if} |
---|
| 135 | {if $display_info.visits}{assign var='display_count' value=$display_count+1}{/if} |
---|
[16298] | 136 | {if $display_info.rating_score and isset($rate_summary) }{assign var='display_count' value=$display_count+1}{/if} |
---|
[7989] | 137 | {if isset($rating)}{assign var='display_count' value=$display_count+1}{/if} |
---|
| 138 | {if $display_info.privacy_level and isset($available_permission_levels) }{assign var='display_count' value=$display_count+1}{/if} |
---|
[9960] | 139 | {if (($display_count > 0) && ((isset($U_ADMIN)) || ($stripped.infoTabAdminOnly == false)))} |
---|
[7989] | 140 | {assign var='display_info_panel' value=true} |
---|
| 141 | {/if} |
---|
| 142 | <div id="tabTitleBar"> |
---|
[8183] | 143 | <ul id="tabTitles"> |
---|
[7989] | 144 | {if $display_description_tab} |
---|
[11982] | 145 | <li id="tabTcaption" class="tabTitle" name="caption">{'Description'|@translate}</li> |
---|
[7989] | 146 | {/if} |
---|
[9134] | 147 | {if ($display_info.tags && (isset($related_tags) || ($usertags)))} |
---|
[11982] | 148 | <li id="tabTtags" class="tabTitle" name="tags">{'Tags'|@translate}</li> |
---|
[7989] | 149 | {/if} |
---|
| 150 | {if isset($metadata)} |
---|
| 151 | {foreach from=$metadata item=meta key=id} |
---|
[11982] | 152 | <li id="tabTmeta{$id}" class="tabTitle" name="meta{$id}">{$meta.TITLE}</li> |
---|
[7989] | 153 | {/foreach} |
---|
| 154 | {/if} |
---|
| 155 | {if $display_info_panel} |
---|
[11982] | 156 | <li id="tabTinfo" class="tabTitle" name="info">{'Information'|@translate}</li> |
---|
[7989] | 157 | {/if} |
---|
| 158 | {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) } |
---|
[26898] | 159 | <li id="tabTcomments" class="tabTitle" title="{'Add a comment'|@translate}" name="comments">{$COMMENT_COUNT|translate_dec:'%d comment':'%d comments'}</li> |
---|
[7989] | 160 | {/if} |
---|
| 161 | </ul> |
---|
| 162 | </div> |
---|
| 163 | <div id="tabs"> |
---|
| 164 | {if $display_description_tab} |
---|
| 165 | <div id="Tcaption" class="tabBlock"><div class="tabBlockContent"> |
---|
| 166 | {$COMMENT_IMG} |
---|
| 167 | </div></div> |
---|
| 168 | {/if} |
---|
[9134] | 169 | {if ($display_info.tags && (isset($related_tags) || ($usertags)))} |
---|
[7989] | 170 | <div id="Ttags" class="tabBlock"><div class="tabBlockContent"> |
---|
[11104] | 171 | {if ($usertags)}<table id="TagsTable"><tr id="Tags" ><td class="label"></td><td class="value">{/if} |
---|
[9134] | 172 | {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if} |
---|
| 173 | <a href="{$tag.URL}">{$tag.name}</a> |
---|
| 174 | {/foreach} |
---|
[11104] | 175 | {if ($usertags)}</td></tr></table>{/if} |
---|
[7989] | 176 | </div></div> |
---|
| 177 | {/if} |
---|
| 178 | {if isset($metadata)} |
---|
| 179 | {foreach from=$metadata item=meta key=id} |
---|
| 180 | <div id="Tmeta{$id}" class="tabBlock"><div class="tabBlockContent"> |
---|
| 181 | {if count($meta.lines)>0 and !array_key_exists('<!--rawContent-->', $meta.lines)} |
---|
| 182 | <table id="table_meta{$id}" class="infoTable2"> |
---|
| 183 | {foreach from=$meta.lines item=value key=label} |
---|
| 184 | <tr> |
---|
| 185 | <td class="label">{$label|@translate}</td> |
---|
| 186 | <td class="value">{$value}</td> |
---|
| 187 | </tr> |
---|
| 188 | {/foreach} |
---|
| 189 | </table> |
---|
| 190 | {else} |
---|
| 191 | {assign var='empty' value='<!--rawContent-->'} |
---|
| 192 | {$meta.lines.$empty} |
---|
| 193 | {/if} |
---|
| 194 | </div></div> |
---|
| 195 | {/foreach} |
---|
| 196 | {/if} |
---|
| 197 | {if $display_info_panel} |
---|
| 198 | <div id="Tinfo" class="tabBlock"><div class="tabBlockContent"> |
---|
[21995] | 199 | |
---|
| 200 | <dl id="standard" class="imageInfoTable"> |
---|
| 201 | {strip} |
---|
| 202 | {if $display_info.author and isset($INFO_AUTHOR)} |
---|
| 203 | <div id="Author" class="imageInfo"> |
---|
| 204 | <dt>{'Author'|@translate}</dt> |
---|
| 205 | <dd>{$INFO_AUTHOR}</dd> |
---|
| 206 | </div> |
---|
| 207 | {/if} |
---|
| 208 | {if $display_info.created_on and isset($INFO_CREATION_DATE)} |
---|
| 209 | <div id="datecreate" class="imageInfo"> |
---|
| 210 | <dt>{'Created on'|@translate}</dt> |
---|
| 211 | <dd>{$INFO_CREATION_DATE}</dd> |
---|
| 212 | </div> |
---|
| 213 | {/if} |
---|
| 214 | {if $display_info.posted_on} |
---|
| 215 | <div id="datepost" class="imageInfo"> |
---|
| 216 | <dt>{'Posted on'|@translate}</dt> |
---|
| 217 | <dd>{$INFO_POSTED_DATE}</dd> |
---|
| 218 | </div> |
---|
| 219 | {/if} |
---|
| 220 | {if $display_info.dimensions and isset($INFO_DIMENSIONS)} |
---|
| 221 | <div id="Dimensions" class="imageInfo"> |
---|
| 222 | <dt>{'Dimensions'|@translate}</dt> |
---|
| 223 | <dd>{$INFO_DIMENSIONS}</dd> |
---|
| 224 | </div> |
---|
| 225 | {/if} |
---|
| 226 | {if $display_info.file} |
---|
| 227 | <div id="File" class="imageInfo"> |
---|
| 228 | <dt>{'File'|@translate}</dt> |
---|
| 229 | <dd>{$INFO_FILE}</dd> |
---|
| 230 | </div> |
---|
| 231 | {/if} |
---|
| 232 | {if $display_info.filesize and isset($INFO_FILESIZE)} |
---|
| 233 | <div id="Filesize" class="imageInfo"> |
---|
| 234 | <dt>{'Filesize'|@translate}</dt> |
---|
| 235 | <dd>{$INFO_FILESIZE}</dd> |
---|
| 236 | </div> |
---|
| 237 | {/if} |
---|
| 238 | {if $display_info.tags and isset($related_tags)} |
---|
| 239 | <div id="Tags" class="imageInfo"> |
---|
| 240 | <dt>{'Tags'|@translate}</dt> |
---|
| 241 | <dd> |
---|
| 242 | {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}<a href="{$tag.URL}">{$tag.name}</a>{/foreach} |
---|
| 243 | </dd> |
---|
| 244 | </div> |
---|
| 245 | {/if} |
---|
| 246 | {if $display_info.categories and isset($related_categories)} |
---|
| 247 | <div id="Categories" class="imageInfo"> |
---|
| 248 | <dt>{'Albums'|@translate}</dt> |
---|
| 249 | <dd> |
---|
| 250 | <ul> |
---|
| 251 | {foreach from=$related_categories item=cat} |
---|
| 252 | <li>{$cat}</li> |
---|
| 253 | {/foreach} |
---|
| 254 | </ul> |
---|
| 255 | </dd> |
---|
| 256 | </div> |
---|
| 257 | {/if} |
---|
| 258 | {if $display_info.visits} |
---|
| 259 | <div id="Visits" class="imageInfo"> |
---|
| 260 | <dt>{'Visits'|@translate}</dt> |
---|
| 261 | <dd>{$INFO_VISITS}</dd> |
---|
| 262 | </div> |
---|
| 263 | {/if} |
---|
| 264 | {if $display_info.rating_score and isset($rate_summary)} |
---|
| 265 | <div id="Average" class="imageInfo"> |
---|
| 266 | <dt>{'Rating score'|@translate}</dt> |
---|
| 267 | <dd> |
---|
| 268 | {if $rate_summary.count} |
---|
| 269 | {if $rate_summary.count == 1} |
---|
| 270 | {assign var='rate_text' value='%d rate'|@translate} |
---|
| 271 | {else} |
---|
| 272 | {assign var='rate_text' value='%d rates'|@translate} |
---|
| 273 | {/if} |
---|
| 274 | <span id="ratingScore">{$rate_summary.score}</span> <span id="ratingCount">({$pwg->sprintf($rate_text, $rate_summary.count)})</span> |
---|
| 275 | {else} |
---|
| 276 | <span id="ratingScore">{'no rate'|@translate}</span> <span id="ratingCount"></span> |
---|
| 277 | {/if} |
---|
| 278 | </dd> |
---|
| 279 | </div> |
---|
| 280 | {/if} |
---|
| 281 | {if isset($rating)} |
---|
| 282 | <div id="rating" class="imageInfo"> |
---|
| 283 | <dt> |
---|
| 284 | <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if}</span> |
---|
| 285 | </dt> |
---|
| 286 | <dd> |
---|
[7989] | 287 | <form action="{$rating.F_ACTION}" method="post" id="rateForm" style="margin:0;"> |
---|
[11059] | 288 | <div> |
---|
| 289 | {foreach from=$rating.marks item=mark name=rate_loop} |
---|
| 290 | {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE} |
---|
| 291 | <input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}"> |
---|
| 292 | {else} |
---|
| 293 | <input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}"> |
---|
| 294 | {/if} |
---|
| 295 | {/foreach} |
---|
| 296 | {strip}{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} |
---|
| 297 | {combine_script id='rating' load='async' require='core.scripts' path='themes/default/js/rating.js'} |
---|
| 298 | {footer_script} |
---|
| 299 | var _pwgRatingAutoQueue = _pwgRatingAutoQueue||[]; |
---|
| 300 | _pwgRatingAutoQueue.push( {ldelim}rootUrl: '{$ROOT_URL}', image_id: {$current.id}, |
---|
| 301 | updateRateText: "{'Update your rating'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"), |
---|
| 302 | ratingSummaryText: "{'%.2f (rated %d times)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary"){rdelim} ); |
---|
| 303 | {/footer_script} |
---|
| 304 | {/strip} |
---|
| 305 | </div> |
---|
[7989] | 306 | </form> |
---|
[21995] | 307 | </dd> |
---|
| 308 | </div> |
---|
| 309 | {/if} |
---|
| 310 | {/strip} |
---|
| 311 | </dl> |
---|
| 312 | |
---|
| 313 | <table id="standard" class="infoTable"> |
---|
[9960] | 314 | {if $display_info.privacy_level and isset($available_permission_levels)} |
---|
[7989] | 315 | <tr id="Privacy"> |
---|
| 316 | <td class="label">{'Who can see this photo?'|@translate}</td> |
---|
[9960] | 317 | <td class="value"> |
---|
| 318 | {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} |
---|
| 319 | {footer_script} |
---|
| 320 | {literal}function setPrivacyLevel(selectElement, rootUrl, id, level) |
---|
| 321 | { |
---|
[7989] | 322 | selectElement.disabled = true; |
---|
| 323 | var y = new PwgWS(rootUrl); |
---|
| 324 | y.callService( |
---|
[9960] | 325 | "pwg.images.setPrivacyLevel", {image_id: id, level:level} , |
---|
| 326 | { |
---|
| 327 | method: "POST", |
---|
| 328 | onFailure: function(num, text) { selectElement.disabled = false; alert(num + " " + text); }, |
---|
| 329 | onSuccess: function(result) { selectElement.disabled = false; } |
---|
| 330 | } |
---|
| 331 | ); |
---|
[7989] | 332 | }{/literal} |
---|
[9960] | 333 | {/footer_script} |
---|
| 334 | <select onchange="setPrivacyLevel(this, '{$ROOT_URL}', {$current.id}, this.options[selectedIndex].value)"> |
---|
[7989] | 335 | {foreach from=$available_permission_levels item=label key=level} |
---|
| 336 | <option label="{$label}" value="{$level}"{if $level == $current.level} selected="selected"{/if}>{$label}</option> |
---|
| 337 | {/foreach} |
---|
| 338 | </select> |
---|
| 339 | </td> |
---|
| 340 | </tr> |
---|
| 341 | {/if} |
---|
| 342 | </table> |
---|
| 343 | </div></div> |
---|
| 344 | {/if} |
---|
| 345 | {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) } |
---|
| 346 | <div id="Tcomments" class="tabBlock"><div id="theComments" class="tabBlockContent"> |
---|
| 347 | <div id="theCommentsBlock"> |
---|
| 348 | {if !empty($COMMENT_NAV_BAR)} |
---|
| 349 | <div class="navigationBar">{$COMMENT_NAV_BAR}</div> |
---|
| 350 | {/if} |
---|
| 351 | {if isset($comment_add)} |
---|
| 352 | <div id="commentAdd"> |
---|
| 353 | <h4>{'Add a comment'|@translate}</h4> |
---|
[10085] | 354 | <form method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment" > |
---|
[21215] | 355 | {if $comment_add.SHOW_AUTHOR} |
---|
| 356 | <p><label for="author">{'Author'|@translate}{if $comment_add.AUTHOR_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> |
---|
| 357 | <p><input type="text" name="author" id="author" value="{$comment_add.AUTHOR}"></p> |
---|
| 358 | {/if} |
---|
| 359 | {if $comment_add.SHOW_EMAIL} |
---|
| 360 | <p><label for="email">{'Email'|@translate}{if $comment_add.EMAIL_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p> |
---|
| 361 | <p><input type="text" name="email" id="email" value="{$comment_add.EMAIL}"></p> |
---|
| 362 | {/if} |
---|
| 363 | <p><label for="website_url">{'Website'|@translate} :</label></p> |
---|
| 364 | <p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p> |
---|
| 365 | <p><label for="contentid">{'Comment'|@translate} ({'mandatory'|@translate}) :</label></p> |
---|
| 366 | <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p> |
---|
| 367 | <p><input type="hidden" name="key" value="{$comment_add.KEY}"> |
---|
| 368 | <input class="submit" type="submit" value="{'Submit'|@translate}"></p> |
---|
| 369 | </form> |
---|
[7989] | 370 | </div> |
---|
| 371 | {/if} |
---|
| 372 | {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} |
---|
| 373 | {if isset($comments)} |
---|
| 374 | <div id="commentList"> |
---|
| 375 | {include file='comment_list.tpl'} |
---|
| 376 | </div> |
---|
| 377 | {/if} |
---|
| 378 | <div style="clear: both;"></div> |
---|
| 379 | </div> |
---|
| 380 | </div></div> |
---|
| 381 | {/if} |
---|
| 382 | </div> |
---|
| 383 | </div> |
---|
| 384 | <div style="clear: both;"></div> |
---|
| 385 | </div> |
---|
[12153] | 386 | {if isset($stripped.imagePreload)} |
---|
| 387 | <div id="image_urls" style="display:none;"> |
---|
| 388 | {foreach from=$U_IMGNEXT item=u_img key=id} |
---|
| 389 | {if isset($u_img)}<div class="next{$id} preload">{$u_img}</div>{/if} |
---|
| 390 | {/foreach} |
---|
| 391 | </div> |
---|
| 392 | {/if} |
---|
[7989] | 393 | {if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if} |
---|