Changeset 4591 for extensions


Ignore:
Timestamp:
Dec 30, 2009, 11:20:00 PM (15 years ago)
Author:
EXFTB
Message:

LLGBO - version J - fix bug + language adaptation

Location:
extensions/LLGBO2
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/admin/llgbo_admin.php

    r4574 r4591  
    109109        { 
    110110        if (!isset($_POST['llgbo_frame'])) {$_POST['llgbo_frame'] = 'false';}
    111         if (!isset($_POST['llgbo_tooltip'])) {$_POST['llgbo_tooltip'] = 'false';} 
     111        if (!isset($_POST['llgbo_tooltip_disp'])) {$_POST['llgbo_tooltip_disp'] = 'false';} 
    112112        if (!isset($_POST['llgbo_exifunderbt'])) {$_POST['llgbo_exifunderbt'] = 'false';} 
    113113        if (!isset($_POST['llgbo_usemap'])) {$_POST['llgbo_usemap'] = 'false';}
     
    119119        if (!isset($_POST['llgbo_default_navthumb'])) {$_POST['llgbo_default_navthumb'] = 'false';} //9 }
    120120         $param_llgbo = array($_POST['llgbo_frame'],
    121                                 $_POST['llgbo_tooltip'],             $_POST['llgbo_exifunderbt'],
     121                                $_POST['llgbo_tooltip_disp'],             $_POST['llgbo_exifunderbt'],
    122122                                $_POST['llgbo_usemap'],                 $_POST['llgbo_usemap_thumb'],
    123123                                $_POST['llgbo_title_frame'],                    $_POST['llgbo_header'],
     
    240240                }
    241241                $conf['LLGBO_FRAME'] = explode ("," ,$llgbo_newframe_value );
    242        
    243 }
     242}
     243if ( isset($_POST['previewsample']) )
     244{  if (isset($_POST['sample'])) { //print_r($_POST);
     245                if ($_POST['sample'] == "GOLD")
     246                        { $llgbo_sample = "#f6e1ac,#d0a641,2,#b08827,1,#f3ead8,5,#9c740e,1,#553b00,1,#5e4400,1,#684d07,1,#977424,1,#95772b,1,#896611,1,#674e13,3,#8e784b,1,#e0c992,2,#e8cb8b,1,#af9045,1,#8a6612,1";}
     247                if ($_POST['sample'] == "WHITE")
     248                        { $llgbo_sample = "#16195f,#ffffff,3,#040404,1,#ffffff,7,#ffffff,1,#fdfdfd,1,#fcfcfc,1,#fafafa,1,#eaeaea,1,#d3d3d3,1,#bababa,1,#9f9f9f,1,#858585,1,#777777,1,#646464,1,#575757,1,#474747,1";}
     249                if ($_POST['sample'] == "BLACK")
     250                        { $llgbo_sample = "#9f7a09,#090909,3,#fafafa,1,#0b0b0b,4,#0c0c0c,4,#1f1f20,1,#29292b,1,#343435,1,#3f3f41,1,#4a4a4b,1,#555557,1,#616163,1,#6d6d6e,1,#79797a,1,#848485,1,#919192,1,#9d9d9e,1";}
     251                if ($_POST['sample'] == "METAL")
     252                { $llgbo_sample = "#111111,#e8e8e8,2,#babdbf,1,#4a4c4d,3,#a3a7aa,2,#a8acaf,2,#adb2b4,1,#b3b8ba,1,#c0c4c6,2,#c6c9cc,1,#c8cbcd,1,#c5c9cb,1,#c9cdcf,1,#cdd1c2,1,#cdd1c2,1,#b1b3da,1,#666e83,1";}
     253                if ($_POST['sample'] == "BLUE")
     254                { $llgbo_sample = "#000000,#e8e8e8,2,#b6d0d5,1,#fafefe,9,#a3a7aa,1,#a8acaf,1,#404b54,1,#32403d,1,#b1b7c3,1,#4c5970,1,#303d4e,1,#566662,2,#96abb1,1,#737479,1,#d2d2d7,1,#6e716b,1,#5a5b5c,1";}
     255                if ($_POST['sample'] == "B_W")
     256                        { $llgbo_sample = "#e8cb8b,#fcf6e9,11,#171112,9,#352c2d,1,#fcf6e9,1,#000000,3,#171112,3,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0,#000000,0";}
     257               
     258               
     259        $conf['LLGBO_FRAME'] = explode ("," ,$llgbo_sample ); }
     260}
     261
    244262 // FRAME
    245263           if (isset($conf['LLGBO_FRAME'][0])) {$template->assign(array( 'LLGBO_TITLE_FRAME_COLOR' => $conf['LLGBO_FRAME'][0]));}
  • extensions/LLGBO2/admin/llgbo_adminframe.tpl

    r4578 r4591  
    88        <span id="gboh2" style ="background:transparent;color:{$LLGBO_TITLE_FRAME_COLOR}">{'llgbo_title_frame_color'|@translate} </span>
    99        {$FRAME_BEGIN}
     10        <div align="center">  <span id="llgbotitle"> {'llgbo_frame_sample'|@translate} </span> <select name="sample">
     11                <option label="GOLD" value="GOLD"><selected="selected">Gold</option>
     12                <option label="BLUE" value="BLUE">Blue</option>
     13                <option label="METAL" value="METAL">Metal</option>
     14                <option label="BLACK" value="BLACK">Black</option>
     15                <option label="WHITE" value="WHITE">White</option>
     16                <option label="B_W" value="B_W">Black&White</option>
     17                </select> <input class="submit" type="submit" value="{'previewsamples'|@translate}" name="previewsample"/>
     18        </div>
    1019        <table id="llgboframetable">
    11         <tr><br>
     20        <tr>
    1221                <td   class="llgbolabel" >{'llgbo_title_frame_color'|@translate} </td>
    1322                <td ><input type="text" name="llgbo_title_frame_color" style="background-color:{$LLGBO_TITLE_FRAME_COLOR}" class="colorwellf" value="{$LLGBO_TITLE_FRAME_COLOR}" /> </td>
    14                 <br>
    1523        </tr>   
    1624        <tr>   
     
    7785                <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td>  <td ><input type="text" name="llgbo_frame_bdsize15"  class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE15}" /></td>
    7886         </tr>
     87         
    7988         </table>
    8089        {$FRAME_END}
    81 <div align="center"><br> <input class="submit" type="submit" value="{'preview'|@translate}" name="preview"/> <input class="submit" type="submit" value="{'save'|@translate}" name="save" /></div>
     90<div align="center"><br> <input class="submit" type="submit" value="{'preview'|@translate}" name="preview"/> <input class="submit" type="submit" value="{'save'|@translate}" name="save" />
     91 
     92</div>
    8293</fieldset>
    8394</form>
    84 <div style="{$LLGBODISPFRAME}">
    85 <P id="llgbotitle">{'llgbo_samples'|@translate} </p>
    86 <br>
    87 <img src="./plugins/look_like_gbo2/samples/blue_white.jpg">
    88 <br>
    89 <img src="./plugins/look_like_gbo2/samples/gold.jpg">
    90 <br>
    91 <img src="./plugins/look_like_gbo2/samples/metal.jpg">
    92 <br>
    93 <img src="./plugins/look_like_gbo2/samples/black.jpg">
    94 <br>
    95 </div>
    9695
    9796{* -- smarty syntaxe p55 {ldelim} remplace  {  et {rdelim} remplace  }    -- *}
  • extensions/LLGBO2/language/en_UK/plugin.lang.php

    r4578 r4591  
    1 <?php
     1<?php 
    22// +-----------------------------------------------------------------------+
    33// | PhpWebGallery - a PHP based picture gallery                           |
     
    66// +-----------------------------------------------------------------------+
    77$lang['submit'] = 'Submit';
    8 $lang['Title'] = 'Look like GBo';
     8$lang['Howto'] = 'This plugin manage the picture page presentation.<br>';
    99$lang['Howto'] = 'This plugin manage the picture page presentation.<br>Special thanks to all the forum for their precious help   ';
    1010$lang['Step1_Title'] = 'Plugin settings';
    1111$lang['Step2_Title'] = 'Tooltip settings';
    1212$lang['Step3_Title'] = 'Frame settings';
     13$lang['Step4_Title'] = 'Header  Display/Hide for each page';
    1314$lang['llgbo_tooltip']='Display tooltip (thumbnail under button) on mouseover :';
    1415$lang['llgbo_exifunderbt']='Display tooltip (EXIF under button metadata) on mouseover :';
    15 $lang['llgbo_allinfo']='Display all the phpwebgallery data picture :';
     16$lang['llgbo_frame']='Manage frame around the picture :';
     17$lang['llgbo_header']='Manage display header ';
     18$lang['llgbo_maintain_header']='Maintain header on the folowing page:';
    1619$lang['llgbo_usemap']='Add navigation on picture :';
    1720$lang['llgbo_usemap_thumb']='Display thumbnails when navigation on picture is active :';
    18 $lang['llgbo_info']='(^_^)Settings updated !';
     21$lang['llgbo_info']='     (^_^) Settings updated';
    1922$lang['llgbo_title_frame'] = 'Display picture title on frame';
    2023$lang['llgbo_default_navthumb'] = 'Hide standard display of Prev_Next thumbnails:';
     
    2831$lang['llgbo_tooltip_color']= 'Define tooltip text color';
    2932$lang['llgo_global_setting']= 'Piwigo Picture page global settings';
     33$lang['llgo_tooltip_setting']= 'Tooltip title';
    3034$lang['llgo_frame_setting']= 'Frame settings :' ;
    3135$lang['llgbo_title_frame_color']= 'Title frame color';
     
    5155$lang['llgbo_M_manage'] = 'Global settings';
    5256$lang['llgbo_samples'] = 'Samples : ';
    53 // must be translate -->  in good english to
    54 $lang['Howto'] = 'This plugin manage the picture page presentation.<br>';
    55 $lang['llgbo_frame']='Manage frame around the picture :';
    56 $lang['Step4_Title'] = 'Header settings';
     57$lang['llgbo_frame']='Manage frame around the picture :';$lang['Step4_Title'] = 'Header settings';
    5758$lang['llgbo_header']='Manage display header ';
    5859$lang['llgo_tooltip_setting']= 'Tooltip title';
    5960$lang['llgbo_M_header'] = 'Display Header management';
    60 $lang['Step4_Title'] = 'Header  Display/Hide for each page';
    6161$lang['llgbo_header_home'] = 'Header display on Home page';
    6262$lang['llgbo_header_category'] = 'Header display on Category page';
     
    8080$lang['llgbo_header_favorites']= 'Header display on My Favorites page';
    8181$lang['llgbo_header_recent_cats']= 'Header display on Recent category page';
     82$lang['llgbo_frame_sample']= 'Samples list ';
     83$lang['previewsamples']= 'Display this sample';
    8284?>
     85
     86
     87
     88
  • extensions/LLGBO2/language/es_ES/plugin.lang.php

    r4580 r4591  
    1 <?php
     1<?php 
    22// +-----------------------------------------------------------------------+
    33// | PhpWebGallery - a PHP based picture gallery                           |
    44// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
    55// | Copyright (C) 2003-2009 PhpWebGallery Team - http://phpwebgallery.net |
    6 // | Copyright (C) 2009 Piwigo Team - http://piwigo.org |
    76// +-----------------------------------------------------------------------+
    87$lang['submit'] = 'Validar';
     
    109$lang['Howto'] = 'Este plugin permite modificar la presentación de la página llena de imágenes.';
    1110$lang['Step1_Title'] = 'Parametraje de Plugin ';
     11/*TODO*/$lang['Step2_Title'] = 'Tooltip settings';
     12/*TODO*/$lang['Step3_Title'] = 'Frame settings';
     13$lang['Step4_Title'] = 'Anuncio / Máscara la marea de cada página';
    1214$lang['llgbo_tooltip']='Infobulles específico (miniaturas de las fotos) al sobrevuelo de los botones:';
    1315$lang['llgbo_exifunderbt']='Fija los EXTEJOS al sobrevuelo del botón :';
    14 $lang['llgbo_always_displayexif'] = 'Siempre fijar el METADATA:' ;
    1516$lang['llgbo_frame']='Fija un marco blanco alrededor de la imagen :';
    1617$lang['llgbo_header']='La marea es fijado sólo sobre la página inicial  :';
    1718$lang['llgbo_maintain_header']='Conservar la marea sobre las páginas siguientes :';
    18 $lang['llgbo_allinfo']='Fija todas las informaciones de la imagen  :';
    1919$lang['llgbo_usemap']='Añade la navegación sobre la imagen :';
    2020$lang['llgbo_usemap_thumb']='Fija las miniaturas en el momento de la navegación sobre la imagen :';
     
    2222$lang['llgbo_title_frame'] = 'Fijar el título de la imagen sobre el marco';
    2323$lang['llgbo_default_navthumb'] = 'Suprime la fijación estándar de las miniaturas de navegación :';
    24 // must be translate
    2524$lang['save'] = 'Registrar';
    2625$lang['preview'] = 'Hacer visible';
     
    5756$lang['llgbo_samples'] = 'Ejemplos : ';
    5857$lang['llgbo_frame']='Administrar un marco alrededor de la imagen :';
    59 // must be translate
    60 $lang['llgbo_frame']='Administrar un marco alrededor de la imagen :';
    61 $lang['Step4_Title'] = 'Gestión de la fijación de la marea';
    6258$lang['llgbo_header']='Administrar la fijación de la marea ';
    6359//$lang['llgo_tooltip_setting']= 'Tooltip title';
    6460$lang['llgbo_M_header'] = 'Gestión de la fijación de la marea';
    65 $lang['Step4_Title'] = 'Anuncio / Máscara la marea de cada página';
    6661$lang['llgbo_header_home'] = 'Fijación sobre la página inicial';
    6762$lang['llgbo_header_category'] = 'Fijación sobre la página categoría';
     
    8479$lang['llgbo_header_identification']= 'Fijación sobre la página Identificarse';
    8580$lang['llgbo_header_favorites']= 'Fijación sobre la página Mis favoritos';
    86 $lang['llgbo_header_recent_cats']= 'Fijación sobre la página Últimas categorías ';?>
     81$lang['llgbo_header_recent_cats']= 'Fijación sobre la página Últimas categorías ';
     82/*TODO*/$lang['llgbo_frame_sample']= 'Samples list ';
     83/*TODO*/$lang['previewsamples']= 'Display this sample';
     84?>
     85
     86
     87
     88
  • extensions/LLGBO2/language/fr_FR/plugin.lang.php

    r4578 r4591  
    66// +-----------------------------------------------------------------------+
    77$lang['submit'] = 'Valider';
    8 $lang['save'] = 'Enregistrer';
    9 $lang['preview'] = 'Visualiser';
    108$lang['Title'] = 'Look like GBo';
    11 $lang['Howto'] = 'Ce plugin permet de modifier la présentation de la page image.';
     9$lang['Howto'] = 'Ce plugin gère la présentation  de la page Image.<br>';
    1210$lang['Step1_Title'] = 'Paramétrage du Plugin ';
    1311$lang['Step2_Title'] = 'Paramétrage de l\'infobulle';
     
    1917$lang['llgbo_header']='L\'entête n\'est affichée que sur la page d\'accueil  :';
    2018$lang['llgbo_maintain_header']='Conserver l\'entête sur les pages suivantes :';
    21 $lang['llgbo_allinfo']='Affiche toutes les informations de l\'image  :';
    2219$lang['llgbo_usemap']='Ajoute la navigation sur l\'image :';
    2320$lang['llgbo_usemap_thumb']='Affiche les miniatures lors de la navigation sur l\'image :';
     
    2522$lang['llgbo_title_frame'] = 'Afficher le titre de l\'image sur le cadre';
    2623$lang['llgbo_default_navthumb'] = 'Supprime l\'affichage standard des miniatures de navigation :';
     24$lang['save'] = 'Enregistrer';
     25$lang['preview'] = 'Visualiser';
    2726$lang['llgo_tooltip_width']= 'largeur de l\'infobulle :' ;
    2827$lang['llgo_tooltip_size']= 'largeur de la bordure de l\'infobulle :'  ;
     
    5655$lang['llgbo_M_manage'] = 'Paramétres généraux';
    5756$lang['llgbo_samples'] = 'Exemples :';
    58 // must be translate
    59 $lang['Howto'] = 'Ce plugin gère la présentation  de la page Image.<br>';
    6057$lang['llgbo_frame']='Gérer le cadre autour de la photo';
    61 $lang['Step4_Title'] = 'Gestion de l\'affichage de l\'entête';
    6258$lang['llgbo_header']='Gérer l\'affichage de l\'entête';
    6359$lang['llgo_tooltip_setting']= 'Titre de l\'info bulle';
    6460$lang['llgbo_M_header'] = 'Gestion de l\'affichage de l\'entête';
    65 $lang['Step4_Title'] = 'Affiche / Masque l\'entête de chaque page';
    6661$lang['llgbo_header_home'] = 'Affichage sur la page d\'Accueil';
    6762$lang['llgbo_header_category'] = 'Affichage sur la page catégorie';
     
    8580$lang['llgbo_header_favorites']= 'Affichage sur la page Mes Favoris';
    8681$lang['llgbo_header_recent_cats']= 'Affichage sur la page catégories récentes';
     82$lang['llgbo_frame_sample']= 'Liste des exemples ';
     83$lang['previewsamples']= 'Afficher cet exemple';
     84?>
    8785
    8886
    89 ?>
     87
     88
  • extensions/LLGBO2/language/hu_HU/plugin.lang.php

    r4581 r4591  
    1 <?php
     1<?php 
    22// +-----------------------------------------------------------------------+
    33// | PhpWebGallery - a PHP based picture gallery                           |
     
    1111$lang['Step2_Title'] = 'Buboréksúgó beállítások';
    1212$lang['Step3_Title'] = 'Képkeret beállítások';
     13$lang['Step4_Title'] = 'Fejléc megjelenítés/elrejtés oldalakon';
    1314$lang['llgbo_tooltip']='Legyen kibővített buboréksúgó a gomb alatt? (bélyegkép + szöveg) :';
    1415$lang['llgbo_exifunderbt']='Jelenjenek meg az EXIF adatok a METAADATOK buboréksúgójában? :';
    15 $lang['llgbo_always_displayexif'] = 'Mindig megjelenő METAADATOK (EXIF) :' ;
    1616$lang['llgbo_frame']='Fehér keret jelenjen meg a kép körül:';
    1717$lang['llgbo_header']='Fejléc csak a megadott oldalakon jelenjen meg? :';
    1818$lang['llgbo_maintain_header']='Fejléc megtartása a következő oldalakon :';
    19 $lang['llgbo_allinfo']='Megjeleníti az összes adatot a képekről :';
    2019$lang['llgbo_usemap']='Navigációs buboréksúgó a kurzor alatt :';
    2120$lang['llgbo_usemap_thumb']='Bélyegkép mutatása ha a kurzor a képen van és a kibővített budoréksúgó be van kapcsolva :';
     
    2322$lang['llgbo_title_frame'] = 'Megjelenjen-e a kép címe a képkereten, ha az be van kapcsolva :';
    2423$lang['llgbo_default_navthumb'] = 'Kikapcsolja a hagyományos nézetet?(Előző/Következő kép bélyegképének megjelenítése) :';
    25 
    26 // must be translate 19/12/2009
    27  
    2824$lang['save'] = 'Mentés';
    2925$lang['preview'] = 'Előnézet';
     
    6056$lang['llgbo_samples'] = 'Minták : ';
    6157$lang['llgbo_frame']='Keret megjelenítése a kép körül :';
    62 $lang['llgbo_frame']='Keret megjelenítése a kép körül :';
    6358$lang['llgbo_header']='Fejléc megjelenítésének kezelése :';
    6459$lang['llgo_tooltip_setting']= 'Cím színe';
    6560$lang['llgbo_M_header'] = 'Fejléc megjelenítés beállítások';
    66 $lang['Step4_Title'] = 'Fejléc megjelenítés/elrejtés oldalakon';
    6761$lang['llgbo_header_home'] = 'Fejléc a Nyitó oldalon';
    6862$lang['llgbo_header_category'] = 'Fejléc a Kategóriák oldalon';
     
    8680$lang['llgbo_header_favorites']= 'Fejléc a Kedvencek oldalon';
    8781$lang['llgbo_header_recent_cats']= 'Fejléc a Legfrissebb kategória oldalon';
     82/*TODO*/$lang['llgbo_frame_sample']= 'Samples list ';
     83/*TODO*/$lang['previewsamples']= 'Display this sample';
    8884?>
     85
     86
     87
     88
  • extensions/LLGBO2/language/pl_PL/plugin.lang.php

    r4574 r4591  
    1 <?php
     1<?php 
    22// +-----------------------------------------------------------------------+
    33// | PhpWebGallery - a PHP based picture gallery                           |
     
    99$lang['Howto'] = 'Ta wtyczka umożliwia zmianę prezentacji strony ze zdjęciami.';
    1010$lang['Step1_Title'] = 'Ustawienia wtyczki';
     11/*TODO*/$lang['Step2_Title'] = 'Tooltip settings';
     12/*TODO*/$lang['Step3_Title'] = 'Frame settings';
     13/*TODO*/$lang['Step4_Title'] = 'Header  Display/Hide for each page';
    1114$lang['llgbo_tooltip']='Wyświetlaj okienko skrótu (miniatury dostępne na przycisku) przy ruchu myszką :';
    1215$lang['llgbo_exifunderbt']='Wyświetlaj okienko skrótu (dane EXIF dostępne na przycisku metadanych) przy ruchu myszką :';
    13 $lang['llgbo_always_displayexif'] = 'Zawsze wyświetlaj metadane:' ;
    1416$lang['llgbo_frame']='Wyświetlaj białą ramkę wokół zdjęcia :';
    1517$lang['llgbo_header']='Nagłówek jest wyświetlany jedynie na pierwszej stronie :';
    1618$lang['llgbo_maintain_header']='Wyświetlaj nagłówek także na kolejnych stronach :';
    17 $lang['llgbo_allinfo']='Wyświetlaj wszystkie przechowywane dane zdjęcia :';
    1819$lang['llgbo_usemap']='Dodaj nawigację na zdjęciu :';
    1920$lang['llgbo_usemap_thumb']='Dodaj miniatury kiedy nawigacja na zdjęciu jest aktywna :';
     
    2122$lang['llgbo_title_frame'] = 'Wyświetl tytuł zdjęcia w ramce';
    2223$lang['llgbo_default_navthumb'] = 'Ukryj standardowe wyświetlanie poprzedniej/następnej miniatury:';
    23 // must be translate 19/12/2009
    24 $lang['save'] = 'Save';
    25 $lang['preview'] = 'Preview';
    26 $lang['llgo_tooltip_width']= 'Define tooltip width'; 
    27 $lang['llgo_tooltip_size']= 'Define tooltip border width'; 
    28 $lang['llgbo_tooltip_bordercolor']= 'Define tooltip border color';
    29 $lang['llgbo_tooltip_backgroundcolor']= 'Define tooltip background color';
    30 $lang['llgbo_tooltip_titlecolor']= 'Define tooltip title color';
    31 $lang['llgbo_tooltip_color']= 'Define tooltip text color';
    32 $lang['llgo_global_setting']= 'Piwigo Picture page global settings';
    33 $lang['llgo_tooltip_setting']= 'Tooltip settings';
    34 $lang['llgo_frame_setting']= 'Frame settings :' ;
    35 $lang['llgbo_title_frame_color']= 'Title frame color';
    36 $lang['llgbo_frame_bdcolor0']= 'Line 1 color : ';
    37 $lang['llgbo_frame_bdcolor1']= 'Line 2 color : ';
    38 $lang['llgbo_frame_bdcolor2']= 'Line 3 color : ';
    39 $lang['llgbo_frame_bdcolor3']= 'Line 4 color : ';
    40 $lang['llgbo_frame_bdcolor4']= 'Line 5 color : ';
    41 $lang['llgbo_frame_bdcolor5']= 'Line 6 color : ';
    42 $lang['llgbo_frame_bdcolor6']= 'Line 7 color : ';
    43 $lang['llgbo_frame_bdcolor7']= 'Line 8 color : ';
    44 $lang['llgbo_frame_bdcolor8']= 'Line 9 color : ';
    45 $lang['llgbo_frame_bdcolor9']= 'Line 10 color : ';
    46 $lang['llgbo_frame_bdcolor10']= 'Line 11 color : ';
    47 $lang['llgbo_frame_bdcolor11']= 'Line 12 color : ';
    48 $lang['llgbo_frame_bdcolor12']= 'Line 13 color : ';
    49 $lang['llgbo_frame_bdcolor13']= 'Line 14 color : ';
    50 $lang['llgbo_frame_bdcolor14']= 'Line 15 color : ';
    51 $lang['llgbo_frame_bdcolor15']= 'Line 16 color : ';
    52 $lang['llgbo_frame_bdsize']= 'size in px : ';
    53 $lang['llgbo_M_frame'] = 'Frame management';
    54 $lang['llgbo_M_tooltip'] = 'Tooltip management';
    55 $lang['llgbo_M_manage'] = 'Global settings';
    56 $lang['llgbo_samples'] = 'Samples : ';
    57 $lang['llgbo_frame']='Manage frame around the picture :';$lang['Step4_Title'] = 'Header settings';
    58 $lang['Howto'] = 'This plugin manage the picture page presentation.<br>';
    59 $lang['llgbo_frame']='Manage frame around the picture :';
    60 $lang['Step4_Title'] = 'Header settings';
    61 $lang['llgbo_header']='Manage display header ';
    62 $lang['llgo_tooltip_setting']= 'Tooltip title';
    63 $lang['llgbo_M_header'] = 'Display Header management';
    64 $lang['Step4_Title'] = 'Header  Display/Hide for each page';
    65 $lang['llgbo_header_home'] = 'Header display on Home page';
    66 $lang['llgbo_header_category'] = 'Header display on Category page';
    67 $lang['llgbo_header_category_filter_recent']= 'Header display on Category page :filter by recent';
    68 $lang['llgbo_header_category_flat']= 'Header display on Category page option flat' ;
    69 $lang['llgbo_header_category_posted_monthly']= 'Header display on Category page option calendar' ;
    70 $lang['llgbo_header_picture']= 'Header display on Picture page' ;
    71 $lang['llgbo_header_additional_page'] = 'Header display on Additional page';
    72 $lang['llgbo_header_most_visited'] = 'Header display on Most visited page';
    73 $lang['llgbo_header_best_rated'] = 'Header display on Best rated page';
    74 $lang['llgbo_header_list']= 'Header display on Random pictures page';
    75 $lang['llgbo_header_recent_pics']= 'Header display on Recents pictures page';
    76 $lang['llgbo_header_created_monthly_calendar'] = 'Header display on Calendar page';
    77 $lang['llgbo_header_tags']= 'Header display on Tags page';
    78 $lang['llgbo_header_search']= 'Header display on Search page';
    79 $lang['llgbo_header_comments']= 'Header display on Comments page';
    80 $lang['llgbo_header_about']= 'Header display on About page';
    81 $lang['llgbo_header_notification']= 'Header display on Notification page';
    82 $lang['llgbo_header_register'] = 'Header display on Register page';
    83 $lang['llgbo_header_identification']= 'Header display on identification page';
    84 $lang['llgbo_header_favorites']= 'Header display on My Favorites page';
    85 $lang['llgbo_header_recent_cats']= 'Header display on Recent category page';
     24/*TODO*/$lang['save'] = 'Save';
     25/*TODO*/$lang['preview'] = 'Preview';
     26/*TODO*/$lang['llgo_tooltip_width']= 'Define tooltip width'; 
     27/*TODO*/$lang['llgo_tooltip_size']= 'Define tooltip border width'; 
     28/*TODO*/$lang['llgbo_tooltip_bordercolor']= 'Define tooltip border color';
     29/*TODO*/$lang['llgbo_tooltip_backgroundcolor']= 'Define tooltip background color';
     30/*TODO*/$lang['llgbo_tooltip_titlecolor']= 'Define tooltip title color';
     31/*TODO*/$lang['llgbo_tooltip_color']= 'Define tooltip text color';
     32/*TODO*/$lang['llgo_global_setting']= 'Piwigo Picture page global settings';
     33/*TODO*/$lang['llgo_tooltip_setting']= 'Tooltip settings';
     34/*TODO*/$lang['llgo_frame_setting']= 'Frame settings :' ;
     35/*TODO*/$lang['llgbo_title_frame_color']= 'Title frame color';
     36/*TODO*/$lang['llgbo_frame_bdcolor0']= 'Line 1 color : ';
     37/*TODO*/$lang['llgbo_frame_bdcolor1']= 'Line 2 color : ';
     38/*TODO*/$lang['llgbo_frame_bdcolor2']= 'Line 3 color : ';
     39/*TODO*/$lang['llgbo_frame_bdcolor3']= 'Line 4 color : ';
     40/*TODO*/$lang['llgbo_frame_bdcolor4']= 'Line 5 color : ';
     41/*TODO*/$lang['llgbo_frame_bdcolor5']= 'Line 6 color : ';
     42/*TODO*/$lang['llgbo_frame_bdcolor6']= 'Line 7 color : ';
     43/*TODO*/$lang['llgbo_frame_bdcolor7']= 'Line 8 color : ';
     44/*TODO*/$lang['llgbo_frame_bdcolor8']= 'Line 9 color : ';
     45/*TODO*/$lang['llgbo_frame_bdcolor9']= 'Line 10 color : ';
     46/*TODO*/$lang['llgbo_frame_bdcolor10']= 'Line 11 color : ';
     47/*TODO*/$lang['llgbo_frame_bdcolor11']= 'Line 12 color : ';
     48/*TODO*/$lang['llgbo_frame_bdcolor12']= 'Line 13 color : ';
     49/*TODO*/$lang['llgbo_frame_bdcolor13']= 'Line 14 color : ';
     50/*TODO*/$lang['llgbo_frame_bdcolor14']= 'Line 15 color : ';
     51/*TODO*/$lang['llgbo_frame_bdcolor15']= 'Line 16 color : ';
     52/*TODO*/$lang['llgbo_frame_bdsize']= 'size in px : ';
     53/*TODO*/$lang['llgbo_M_frame'] = 'Frame management';
     54/*TODO*/$lang['llgbo_M_tooltip'] = 'Tooltip management';
     55/*TODO*/$lang['llgbo_M_manage'] = 'Global settings';
     56/*TODO*/$lang['llgbo_samples'] = 'Samples : ';
     57/*TODO*/$lang['llgbo_frame']='Manage frame around the picture :';$lang['Step4_Title'] = 'Header settings';
     58/*TODO*/$lang['llgbo_header']='Manage display header ';
     59/*TODO*/$lang['llgo_tooltip_setting']= 'Tooltip title';
     60/*TODO*/$lang['llgbo_M_header'] = 'Display Header management';
     61/*TODO*/$lang['llgbo_header_home'] = 'Header display on Home page';
     62/*TODO*/$lang['llgbo_header_category'] = 'Header display on Category page';
     63/*TODO*/$lang['llgbo_header_category_filter_recent']= 'Header display on Category page :filter by recent';
     64/*TODO*/$lang['llgbo_header_category_flat']= 'Header display on Category page option flat' ;
     65/*TODO*/$lang['llgbo_header_category_posted_monthly']= 'Header display on Category page option calendar' ;
     66/*TODO*/$lang['llgbo_header_picture']= 'Header display on Picture page' ;
     67/*TODO*/$lang['llgbo_header_additional_page'] = 'Header display on Additional page';
     68/*TODO*/$lang['llgbo_header_most_visited'] = 'Header display on Most visited page';
     69/*TODO*/$lang['llgbo_header_best_rated'] = 'Header display on Best rated page';
     70/*TODO*/$lang['llgbo_header_list']= 'Header display on Random pictures page';
     71/*TODO*/$lang['llgbo_header_recent_pics']= 'Header display on Recents pictures page';
     72/*TODO*/$lang['llgbo_header_created_monthly_calendar'] = 'Header display on Calendar page';
     73/*TODO*/$lang['llgbo_header_tags']= 'Header display on Tags page';
     74/*TODO*/$lang['llgbo_header_search']= 'Header display on Search page';
     75/*TODO*/$lang['llgbo_header_comments']= 'Header display on Comments page';
     76/*TODO*/$lang['llgbo_header_about']= 'Header display on About page';
     77/*TODO*/$lang['llgbo_header_notification']= 'Header display on Notification page';
     78/*TODO*/$lang['llgbo_header_register'] = 'Header display on Register page';
     79/*TODO*/$lang['llgbo_header_identification']= 'Header display on identification page';
     80/*TODO*/$lang['llgbo_header_favorites']= 'Header display on My Favorites page';
     81/*TODO*/$lang['llgbo_header_recent_cats']= 'Header display on Recent category page';
     82/*TODO*/$lang['llgbo_frame_sample']= 'Samples list ';
     83/*TODO*/$lang['previewsamples']= 'Display this sample';
     84?>
    8685
    87 ?>
     86
     87
     88
  • extensions/LLGBO2/main.inc.php

    r4578 r4591  
    22/*
    33Plugin Name: Look_like_gbo2
    4 Version:  2.0.I
     4Version:  2.0.J
    55Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251
    66Author: Ex-Ftb 
     
    1414 /* 2.0.h new languages PL, ES, HU */
    1515 /* 2.0.i Manage tab for tooltip and frame settings */
     16 /* 2.0.J  add sample display and fix bug in admin with chrome */
    1617if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    1718/* création d'une instance de la classe   */
    1819$obj = new look_like_gbo(); /* class loading */
    1920global $conf,$ttvalues,$plugvalues,$frvalues;
    20 define ('LLGBO_INFO_VERSION','2.0.Ia');
     21define ('LLGBO_INFO_VERSION','2.0.J');
    2122define('LLGBO_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');
    2223         
     
    210211 /* HTML  frame  */
    211212If (($conf['LLGBO_SETTINGS'] [0] == 'true') )
    212         {   $bd = 0;
     213        {   $bds = 0;
    213214                $frame_begin ='';
    214215                $frame_end='';
    215216                for ($x = 1   ;$x < 32  ; $x =$x +2)
    216217                {       if ((isset($conf['LLGBO_FRAME'][$x+1])) and  ($conf['LLGBO_FRAME'][$x+1] > 0))  // boder value > 0     
    217                           {$frame_begin = '<div style="border: '.$conf['LLGBO_FRAME'][$x+1].'px solid '.$conf['LLGBO_FRAME'][$x].'">'."\n".$frame_begin;
    218                                 $bd =  $bd + $conf['LLGBO_FRAME'][$x+1];        //define border sum     
     218                          {$frame_begin = '<div id ="llgboframe'.$x.'" style="border: '.$conf['LLGBO_FRAME'][$x+1].'px solid '.$conf['LLGBO_FRAME'][$x].'">'."\n".$frame_begin;
     219                                $bds =  $bds + $conf['LLGBO_FRAME'][$x+1];      //define border sum     
    219220                                $frame_end = $frame_end .' </div>';
    220221                        }
    221222                }
    222                 $frame_width = $ThePicture["scaled_width"] + (2 * $bd);
    223                 $frame_height = $ThePicture["scaled_height"] + (2 * $bd);
     223                $frame_width = $ThePicture["scaled_width"] + (2 * $bds);
     224                $frame_height = $ThePicture["scaled_height"] + (2 * $bds);
    224225        $template->assign('FRAME_SIZE','style="width:'.$frame_width .'px; height:'.$frame_height.'px;"');
    225226        $template->assign('FRAME_BEGIN', $frame_begin);
Note: See TracChangeset for help on using the changeset viewer.