Ignore:
Timestamp:
Nov 23, 2009, 10:28:33 PM (14 years ago)
Author:
Gotcha
Message:

[extension] piwishack - correction bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/piwishack/include/class.inc.php

    r4354 r4356  
    103103    if (!empty($list))
    104104    {
    105       include_once(PHPWG_ROOT_PATH.'/include/functions_url.inc.php');
     105
    106106      set_make_full_url();
    107107
     
    120120              )).'\"><img src=\"'.
    121121                  str_replace('/./', '/', get_thumbnail_url($row)).'\" /></a>';
     122            $S .= '\n\n';
    122123      }
    123124
     
    180181    if (!empty($list))
    181182    {
    182       include_once(PHPWG_ROOT_PATH.'/include/functions_url.inc.php');
     183
    183184      set_make_full_url();
    184185
     
    197198              )).'][img]'.
    198199                  str_replace('/./', '/', get_thumbnail_url($row)).'[/img][/url]';
     200            $S .= '\n\n';
    199201      }
    200202
     
    257259    if (!empty($list))
    258260    {
    259       include_once(PHPWG_ROOT_PATH.'/include/functions_url.inc.php');
     261          include_once(PHPWG_ROOT_PATH.'/include/functions_picture.inc.php');
    260262      set_make_full_url();
    261263
     
    273275              'image_file' => $row['file'],
    274276              )).'\"><img src=\"'.get_absolute_root_url().
    275                   str_replace('./', '', get_image_url($row)).'\" /></a>';
     277                  str_replace('/./', '/', get_image_url($row)).'\" /></a>';
     278                $S .= '\n\n';
    276279      }
    277280
     
    334337    if (!empty($list))
    335338    {
    336       include_once(PHPWG_ROOT_PATH.'/include/functions_url.inc.php');
     339          include_once(PHPWG_ROOT_PATH.'/include/functions_picture.inc.php');
    337340      set_make_full_url();
    338341
     
    346349            $S .= get_absolute_root_url().
    347350                  str_replace('./', '', get_image_url($row));
     351                $S .= '\n\n';
    348352      }
    349353
     
    406410    if (!empty($list))
    407411    {
    408       include_once(PHPWG_ROOT_PATH.'/include/functions_url.inc.php');
     412          include_once(PHPWG_ROOT_PATH.'/include/functions_picture.inc.php');
    409413      set_make_full_url();
    410414
     
    419423           
    420424           // Première ligne
    421             $S .= '\n';
    422425                // Seconde ligne
    423426                  // Arguments à transmettre
     
    445448              )); */
    446449                  // Fin de la seconde ligne
     450            $S .= '\n\n';
    447451                  //;
    448452      }
Note: See TracChangeset for help on using the changeset viewer.