Changeset 9114
- Timestamp:
- Feb 8, 2011, 12:00:16 PM (13 years ago)
- Location:
- extensions/piwishack
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piwishack/include/class.inc.php
r6794 r9114 269 269 <a href="{$ROOT_WAY}{$current.U_IMG}" target=_blank><img src="{$ROOT_WAY}{$SRC_IMG|@replace:'./':''}" /></a> 270 270 */ 271 if (strpos( get_image_url($row), get_absolute_root_url() ) === false) { 272 $abs_root_img= get_absolute_root_url(). str_replace('./', '', get_image_url($row)) ; 273 } else { 274 $abs_root_img= get_image_url($row) ; 275 } 271 276 $S .= '<a href=\"'. 272 277 duplicate_picture_url( … … 274 279 'image_id' => $row['id'], 275 280 'image_file' => $row['file'], 276 )).'\" target=_blank><img src=\"'.get_absolute_root_url(). 277 str_replace('./', '', get_image_url($row)).'\" /></a>'; 281 )).'\" target=_blank><img src=\"'.$abs_root_img.'\" /></a>'; 278 282 $S .= '\n\n'; 279 283 } … … 347 351 [url={$ROOT_WAY}{$current.U_IMG}][img]{$ROOT_WAY}{$SRC_IMG|@replace:'./':''}[/img][/url] 348 352 */ 353 if (strpos( get_image_url($row), get_absolute_root_url() ) === false) { 354 $abs_root_img= get_absolute_root_url(). str_replace('./', '', get_image_url($row)) ; 355 } else { 356 $abs_root_img= get_image_url($row) ; 357 } 349 358 $S .= '[url='. 350 359 duplicate_picture_url( … … 352 361 'image_id' => $row['id'], 353 362 'image_file' => $row['file'], 354 )).'][img]'.get_absolute_root_url(). 355 str_replace('./', '', get_image_url($row)).'[/img][/url]'; 363 )).'][img]'.$abs_root_img.'[/img][/url]'; 356 364 $S .= '\n\n'; 357 365 } -
extensions/piwishack/template/controller.tpl
r6794 r9114 25 25 <tr> 26 26 <td class="img_share"> 27 < a <img src="../piwishack/icon/thumbnail.png" alt="Piwishack thumbnail" width=64 height=64/></a>27 <img src="../piwishack/icon/thumbnail.png" alt="Piwishack thumbnail" width=64 height=64/> 28 28 </td> 29 29 <td> … … 45 45 <tr> 46 46 <td class="img_share"> 47 < a <img src="../piwishack/icon/web.png" alt="Piwishack thumbnail" width=128 height=128/></a>47 <img src="../piwishack/icon/web.png" alt="Piwishack thumbnail" width=128 height=128/> 48 48 </td> 49 49 <td>
Note: See TracChangeset
for help on using the changeset viewer.