Changeset 4356


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

[extension] piwishack - correction bugs

Location:
extensions/piwishack
Files:
4 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      }
  • extensions/piwishack/language/en_UK/description.txt

    r4354 r4356  
    1 Propose through a pop-up a poster of a series of links to the recoverable file as simply a "right-click" in a forum, website, etc. block.
    2 
    3 Method well known in some sites hosting files, you use your gallery to display your photos on all media site possible!
    4 
    5 With PiwiShack click and deposited it!
    6 
    7 
    8 Future improvements:
    9 - Add an administrative interface
    10 - Provide public display.
    11 - Do not implement the counter display when displaying pop-up
    12 - In the administration, manufacturing custom fields by drag & drop
     1Display a formatted list of links to view your images on websites / blogs / forums.
  • extensions/piwishack/language/fr_FR/description.txt

    r4354 r4356  
    1 Proposera via une pop-up, un affiche d'une série de liens récupérable pour les déposer aussi simplement qu'un "clic-droit" dans un forum, site, bloc etc.
    2 
    3 Procédé très connu chez certains sites d'hébergement de photos, servez vous de votre galerie pour exposer vos photos sur tous les supports web possibles !
    4 
    5 Avec PiwiShack, cliquez et c'est déposé !
    6 
    7 
    8 Améliorations à venir :
    9 - Ajouter une interface d'administration
    10 - Proposer l'affichage publique.
    11 - Ne plus implémenter le compteur de visualisation lors de l'affichage du pop-up
    12 - Dans l'administration, fabrication des champs personnalisés par drag & drop
     1Affichage d'une liste de liens formatés pour afficher vos images sur des sites/blogs/forums.
  • extensions/piwishack/template/controller.tpl

    r4354 r4356  
    3232            <textarea name="thumb_Post_on_a_website" cols="140" rows="3" onclick="select()"></textarea>
    3333          </form>
    34             <br />
     34            <br>
    3535        <div class="txt_share">{'Post_on_a_forum'|@translate}</div>
    3636          <form>
     
    4949        <textarea name="view_Post_on_a_website" rows="1" cols="140" onclick="select()"></textarea>
    5050      </form>
    51         <br />
     51        <br>
    5252      <div class="txt_share">{'Post_a_direct_link'|@translate}</div>
    5353      <form>
     
    6666        <textarea name="p_Perso_writer_01" rows="3" cols="140" onclick="select()"></textarea>
    6767      </form>
    68       <br />
     68      <br>
    6969      <div class="txt_share">{'Perso_writer_02'|@translate}</div>
    7070        <form>
Note: See TracChangeset for help on using the changeset viewer.