Changeset 5057


Ignore:
Timestamp:
Mar 5, 2010, 2:44:48 PM (11 years ago)
Author:
Gotcha
Message:

Ready for v0.3 !
bug:1455
bug:1386
bug:1470

Location:
extensions/piwishack
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • extensions/piwishack/doc/LisezMoi.txt

    r4358 r5057  
    22===============
    33  Affiche dans une nouvelle fenêtre des liens sur les images à utiliser lors de l'écriture d'un message.
     4  Ne fonctionne pas avec le navigateur Chrome.
     5  Accessible que pour le webmaster. Possibilité d'en donner l'accès à tous en allant voir le forum.
     6 
     7  http://fr.piwigo.org/forum/viewtopic.php?id=16506
    48
    59Installation:
  • extensions/piwishack/doc/Quoi de neuf.txt

    r4635 r5057  
    3939
    4040v0.2 Disponible le 28-11-2009
    41     [Bugtracker, bug 1284, open] Change the pop-up for an other solution
    42     [Bugtracker, bug 1293, fixed] Thumbnail link open in new page
     41    [Bugtracker, bug 1284, fixed] Change the pop-up for an other solution
     42    [Bugtracker, bug 1293, reopened] Thumbnail link open in new page
    4343
    44 v0.3 Disponible le Coming soon
    45         [Bugtracker, bug 1341, fixed] Add a balise for personnel area One (Wordpress)
    46         [Bugtracker, bug 1371, fixed] Wrong parameters for item 1       
     44v0.3 Disponible le 05-03-2010
     45    [Bugtracker, bug 1341, fixed] Add a balise for personnel area One (Wordpress)
     46    [Bugtracker, bug 1360, open] Plugin removal behavior
     47    [Bugtracker, bug 1361, open] External configuration
     48    [Bugtracker, bug 1371, fixed] Wrong parameters for item 1
     49    [Bugtracker, bug 1386, fixed] Wrong argument for custom field 1
     50    [Bugtracker, bug 1447, fixed] Add RU traduction. Thanks to Andrew
     51    [Bugtracker, bug 1455, fixed] Problem with the area "Direct link to your file"
     52    [Bugtracker, bug 1470, fixed] CSS body align window width
     53    [Bugtracker, bug 1480, open] Chrome browser not supported
     54    [Bugtracker, bug 1481, open] Returns to the line not valide
  • extensions/piwishack/doc/ReadMe.txt

    r4536 r5057  
    22===============
    33  Post in a new window of the bonds on the images to use at the time of the writing of a message.
     4  Not compatibility with Chrome Browser
     5  Tool only for the webmaster (for everbody possible, see the forum).
     6 
     7  http://fr.piwigo.org/forum/viewtopic.php?id=16506
    48
    59Installation:
  • extensions/piwishack/doc/What's new.txt

    r4635 r5057  
    3939
    4040v0.2 Disponible le 28-11-2009
    41     [Bugtracker, bug 1284, open] Change the pop-up for an other solution
    42     [Bugtracker, bug 1293, fixed] Thumbnail link open in new page
     41    [Bugtracker, bug 1284, fixed] Change the pop-up for an other solution
     42    [Bugtracker, bug 1293, reopened] Thumbnail link open in new page
    4343
    44 v0.3 Disponible le Coming soon
    45         [Bugtracker, bug 1341, fixed] Add a balise for personnel area One (Wordpress)
    46         [Bugtracker, bug 1371, fixed] Wrong parameters for item 1               
     44v0.3 Disponible le 05-03-2010
     45    [Bugtracker, bug 1341, fixed] Add a balise for personnel area One (Wordpress)
     46    [Bugtracker, bug 1360, open] Plugin removal behavior
     47    [Bugtracker, bug 1361, open] External configuration
     48    [Bugtracker, bug 1371, fixed] Wrong parameters for item 1
     49    [Bugtracker, bug 1386, fixed] Wrong argument for custom field 1
     50    [Bugtracker, bug 1447, fixed] Add RU traduction. Thanks to Andrew
     51    [Bugtracker, bug 1455, fixed] Problem with the area "Direct link to your file"
     52    [Bugtracker, bug 1470, fixed] CSS body align window width
     53    [Bugtracker, bug 1480, open] Chrome browser not supported
     54    [Bugtracker, bug 1481, open] Returns to the line not valide
  • extensions/piwishack/include/class.inc.php

    r4635 r5057  
    339339          include_once(PHPWG_ROOT_PATH.'/include/functions_picture.inc.php');
    340340      set_make_full_url();
    341 
    342       foreach ($list as $row)
    343       {
    344            /*
    345            Affichage du chemin en clair du lien vers la vue normale.
    346            EXEMPLE
    347            {$ROOT_WAY}{$SRC_IMG|@replace:'./':''}
    348            */
    349             $S .= get_absolute_root_url().
    350                   str_replace('./', '', get_image_url($row));
    351                 $S .= '\n\n';
    352       }
     341         
     342          $page_name = script_basename();
     343          if ( $page_name == 'picture')
     344          {
     345        foreach ($list as $row)
     346        {
     347             /*
     348             Affichage du chemin en clair du lien vers la vue normale.
     349             EXEMPLE
     350             {$ROOT_WAY}{$SRC_IMG|@replace:'./':''}
     351             */
     352              $S .= get_absolute_root_url().
     353                    str_replace('./', '', get_image_url($row));
     354                  $S .= '\n\n';
     355        }
    353356
    354357      unset_make_full_url();
    355     }
     358      }
     359        else
     360          {
     361        foreach ($list as $row)
     362        {
     363             /*
     364             Affichage du chemin en clair du lien vers la vue normale.
     365             EXEMPLE
     366             {$ROOT_WAY}{$SRC_IMG|@replace:'./':''}
     367             */
     368              $S .= get_image_url($row);
     369                  $S .= '\n\n';
     370        }
     371          }
     372
     373      unset_make_full_url();
     374        }
     375
    356376
    357377    return $S;
     
    510530              'image_file' => $row['file'],
    511531              )).'|'.
    512           $lang_info['code'].']\n\n';
     532          $lang_info['code'].']';
     533            $S .= '\n\n';
    513534      }
    514535
     
    550571      $js = '
    551572  <script type="text/javascript">
    552     var theController = window.open("", "'.$this->plugin_name.'_controller", "alwaysRaised=yes,dependent=yes,toolbar=no,height=843,width=1044,menubar=no,resizable=yes,scrollbars=yes,status=no");';
     573    var theController = window.open("", "'.$this->plugin_name.'_controller", "alwaysRaised=yes,dependent=yes,toolbar=no,height=843,width=1220,menubar=no,resizable=yes,scrollbars=yes,status=no");';
    553574
    554575    if ($this->to_close)
  • extensions/piwishack/language/en_UK/plugin.lang.php

    r4354 r5057  
    2727$lang['text_intro_normal_view']         = 'Viewing the normal view.';
    2828$lang['Post_on_a_website_dd']           = 'Share the normal view (clickable) sites. HTML tags.';
    29 $lang['Post_a_direct_link']             = 'Direct links to your file.';
     29$lang['Post_a_direct_link']             = 'Direct link to your file.';
    3030$lang['Export_Perso_configurated'] = 'Share your images';
    3131$lang['Partage_me']                             = 'Share your photo according to pre-defined conditions.';
  • extensions/piwishack/language/ru_RU/plugin.lang.php

    r4914 r5057  
    1919// +-----------------------------------------------------------------------+
    2020
    21 // Thanks to andrew@withsound.ru
     21// Thanks to Andrew
    2222
    2323$lang['open_window_piwishack']  = 'Открыт окно PiwiShack.';
  • extensions/piwishack/template/controller.css

    r4359 r5057  
    66}
    77BODY#thePiwiShackControllerPage {
    8          min-width: 0;
     8         max-width: 1190px;
    99}
    1010TEXTAREA {
Note: See TracChangeset for help on using the changeset viewer.