Changeset 4591 for extensions
- Timestamp:
- Dec 30, 2009, 11:20:00 PM (15 years ago)
- Location:
- extensions/LLGBO2
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/admin/llgbo_admin.php
r4574 r4591 109 109 { 110 110 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';} 112 112 if (!isset($_POST['llgbo_exifunderbt'])) {$_POST['llgbo_exifunderbt'] = 'false';} 113 113 if (!isset($_POST['llgbo_usemap'])) {$_POST['llgbo_usemap'] = 'false';} … … 119 119 if (!isset($_POST['llgbo_default_navthumb'])) {$_POST['llgbo_default_navthumb'] = 'false';} //9 } 120 120 $param_llgbo = array($_POST['llgbo_frame'], 121 $_POST['llgbo_tooltip '], $_POST['llgbo_exifunderbt'],121 $_POST['llgbo_tooltip_disp'], $_POST['llgbo_exifunderbt'], 122 122 $_POST['llgbo_usemap'], $_POST['llgbo_usemap_thumb'], 123 123 $_POST['llgbo_title_frame'], $_POST['llgbo_header'], … … 240 240 } 241 241 $conf['LLGBO_FRAME'] = explode ("," ,$llgbo_newframe_value ); 242 243 } 242 } 243 if ( 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 244 262 // FRAME 245 263 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 8 8 <span id="gboh2" style ="background:transparent;color:{$LLGBO_TITLE_FRAME_COLOR}">{'llgbo_title_frame_color'|@translate} </span> 9 9 {$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> 10 19 <table id="llgboframetable"> 11 <tr> <br>20 <tr> 12 21 <td class="llgbolabel" >{'llgbo_title_frame_color'|@translate} </td> 13 22 <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>15 23 </tr> 16 24 <tr> … … 77 85 <td class="llgbolabel" >{'llgbo_frame_bdsize'|@translate}</td> <td ><input type="text" name="llgbo_frame_bdsize15" class="llgbofieldf" value="{$LLGBO_FRAME_BDSIZE15}" /></td> 78 86 </tr> 87 79 88 </table> 80 89 {$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> 82 93 </fieldset> 83 94 </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>96 95 97 96 {* -- smarty syntaxe p55 {ldelim} remplace { et {rdelim} remplace } -- *} -
extensions/LLGBO2/language/en_UK/plugin.lang.php
r4578 r4591 1 <?php 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 3 // | PhpWebGallery - a PHP based picture gallery | … … 6 6 // +-----------------------------------------------------------------------+ 7 7 $lang['submit'] = 'Submit'; 8 $lang[' Title'] = 'Look like GBo';8 $lang['Howto'] = 'This plugin manage the picture page presentation.<br>'; 9 9 $lang['Howto'] = 'This plugin manage the picture page presentation.<br>Special thanks to all the forum for their precious help '; 10 10 $lang['Step1_Title'] = 'Plugin settings'; 11 11 $lang['Step2_Title'] = 'Tooltip settings'; 12 12 $lang['Step3_Title'] = 'Frame settings'; 13 $lang['Step4_Title'] = 'Header Display/Hide for each page'; 13 14 $lang['llgbo_tooltip']='Display tooltip (thumbnail under button) on mouseover :'; 14 15 $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:'; 16 19 $lang['llgbo_usemap']='Add navigation on picture :'; 17 20 $lang['llgbo_usemap_thumb']='Display thumbnails when navigation on picture is active :'; 18 $lang['llgbo_info']=' (^_^)Settings updated !';21 $lang['llgbo_info']=' (^_^) Settings updated'; 19 22 $lang['llgbo_title_frame'] = 'Display picture title on frame'; 20 23 $lang['llgbo_default_navthumb'] = 'Hide standard display of Prev_Next thumbnails:'; … … 28 31 $lang['llgbo_tooltip_color']= 'Define tooltip text color'; 29 32 $lang['llgo_global_setting']= 'Piwigo Picture page global settings'; 33 $lang['llgo_tooltip_setting']= 'Tooltip title'; 30 34 $lang['llgo_frame_setting']= 'Frame settings :' ; 31 35 $lang['llgbo_title_frame_color']= 'Title frame color'; … … 51 55 $lang['llgbo_M_manage'] = 'Global settings'; 52 56 $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'; 57 58 $lang['llgbo_header']='Manage display header '; 58 59 $lang['llgo_tooltip_setting']= 'Tooltip title'; 59 60 $lang['llgbo_M_header'] = 'Display Header management'; 60 $lang['Step4_Title'] = 'Header Display/Hide for each page';61 61 $lang['llgbo_header_home'] = 'Header display on Home page'; 62 62 $lang['llgbo_header_category'] = 'Header display on Category page'; … … 80 80 $lang['llgbo_header_favorites']= 'Header display on My Favorites page'; 81 81 $lang['llgbo_header_recent_cats']= 'Header display on Recent category page'; 82 $lang['llgbo_frame_sample']= 'Samples list '; 83 $lang['previewsamples']= 'Display this sample'; 82 84 ?> 85 86 87 88 -
extensions/LLGBO2/language/es_ES/plugin.lang.php
r4580 r4591 1 <?php 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 5 // | Copyright (C) 2003-2009 PhpWebGallery Team - http://phpwebgallery.net | 6 // | Copyright (C) 2009 Piwigo Team - http://piwigo.org |7 6 // +-----------------------------------------------------------------------+ 8 7 $lang['submit'] = 'Validar'; … … 10 9 $lang['Howto'] = 'Este plugin permite modificar la presentación de la página llena de imágenes.'; 11 10 $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'; 12 14 $lang['llgbo_tooltip']='Infobulles específico (miniaturas de las fotos) al sobrevuelo de los botones:'; 13 15 $lang['llgbo_exifunderbt']='Fija los EXTEJOS al sobrevuelo del botón :'; 14 $lang['llgbo_always_displayexif'] = 'Siempre fijar el METADATA:' ;15 16 $lang['llgbo_frame']='Fija un marco blanco alrededor de la imagen :'; 16 17 $lang['llgbo_header']='La marea es fijado sólo sobre la página inicial :'; 17 18 $lang['llgbo_maintain_header']='Conservar la marea sobre las páginas siguientes :'; 18 $lang['llgbo_allinfo']='Fija todas las informaciones de la imagen :';19 19 $lang['llgbo_usemap']='Añade la navegación sobre la imagen :'; 20 20 $lang['llgbo_usemap_thumb']='Fija las miniaturas en el momento de la navegación sobre la imagen :'; … … 22 22 $lang['llgbo_title_frame'] = 'Fijar el título de la imagen sobre el marco'; 23 23 $lang['llgbo_default_navthumb'] = 'Suprime la fijación estándar de las miniaturas de navegación :'; 24 // must be translate25 24 $lang['save'] = 'Registrar'; 26 25 $lang['preview'] = 'Hacer visible'; … … 57 56 $lang['llgbo_samples'] = 'Ejemplos : '; 58 57 $lang['llgbo_frame']='Administrar un marco alrededor de la imagen :'; 59 // must be translate60 $lang['llgbo_frame']='Administrar un marco alrededor de la imagen :';61 $lang['Step4_Title'] = 'Gestión de la fijación de la marea';62 58 $lang['llgbo_header']='Administrar la fijación de la marea '; 63 59 //$lang['llgo_tooltip_setting']= 'Tooltip title'; 64 60 $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';66 61 $lang['llgbo_header_home'] = 'Fijación sobre la página inicial'; 67 62 $lang['llgbo_header_category'] = 'Fijación sobre la página categoría'; … … 84 79 $lang['llgbo_header_identification']= 'Fijación sobre la página Identificarse'; 85 80 $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 6 6 // +-----------------------------------------------------------------------+ 7 7 $lang['submit'] = 'Valider'; 8 $lang['save'] = 'Enregistrer';9 $lang['preview'] = 'Visualiser';10 8 $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>'; 12 10 $lang['Step1_Title'] = 'Paramétrage du Plugin '; 13 11 $lang['Step2_Title'] = 'Paramétrage de l\'infobulle'; … … 19 17 $lang['llgbo_header']='L\'entête n\'est affichée que sur la page d\'accueil :'; 20 18 $lang['llgbo_maintain_header']='Conserver l\'entête sur les pages suivantes :'; 21 $lang['llgbo_allinfo']='Affiche toutes les informations de l\'image :';22 19 $lang['llgbo_usemap']='Ajoute la navigation sur l\'image :'; 23 20 $lang['llgbo_usemap_thumb']='Affiche les miniatures lors de la navigation sur l\'image :'; … … 25 22 $lang['llgbo_title_frame'] = 'Afficher le titre de l\'image sur le cadre'; 26 23 $lang['llgbo_default_navthumb'] = 'Supprime l\'affichage standard des miniatures de navigation :'; 24 $lang['save'] = 'Enregistrer'; 25 $lang['preview'] = 'Visualiser'; 27 26 $lang['llgo_tooltip_width']= 'largeur de l\'infobulle :' ; 28 27 $lang['llgo_tooltip_size']= 'largeur de la bordure de l\'infobulle :' ; … … 56 55 $lang['llgbo_M_manage'] = 'Paramétres généraux'; 57 56 $lang['llgbo_samples'] = 'Exemples :'; 58 // must be translate59 $lang['Howto'] = 'Ce plugin gère la présentation de la page Image.<br>';60 57 $lang['llgbo_frame']='Gérer le cadre autour de la photo'; 61 $lang['Step4_Title'] = 'Gestion de l\'affichage de l\'entête';62 58 $lang['llgbo_header']='Gérer l\'affichage de l\'entête'; 63 59 $lang['llgo_tooltip_setting']= 'Titre de l\'info bulle'; 64 60 $lang['llgbo_M_header'] = 'Gestion de l\'affichage de l\'entête'; 65 $lang['Step4_Title'] = 'Affiche / Masque l\'entête de chaque page';66 61 $lang['llgbo_header_home'] = 'Affichage sur la page d\'Accueil'; 67 62 $lang['llgbo_header_category'] = 'Affichage sur la page catégorie'; … … 85 80 $lang['llgbo_header_favorites']= 'Affichage sur la page Mes Favoris'; 86 81 $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 ?> 87 85 88 86 89 ?> 87 88 -
extensions/LLGBO2/language/hu_HU/plugin.lang.php
r4581 r4591 1 <?php 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 3 // | PhpWebGallery - a PHP based picture gallery | … … 11 11 $lang['Step2_Title'] = 'Buboréksúgó beállítások'; 12 12 $lang['Step3_Title'] = 'Képkeret beállítások'; 13 $lang['Step4_Title'] = 'Fejléc megjelenítés/elrejtés oldalakon'; 13 14 $lang['llgbo_tooltip']='Legyen kibővített buboréksúgó a gomb alatt? (bélyegkép + szöveg) :'; 14 15 $lang['llgbo_exifunderbt']='Jelenjenek meg az EXIF adatok a METAADATOK buboréksúgójában? :'; 15 $lang['llgbo_always_displayexif'] = 'Mindig megjelenő METAADATOK (EXIF) :' ;16 16 $lang['llgbo_frame']='Fehér keret jelenjen meg a kép körül:'; 17 17 $lang['llgbo_header']='Fejléc csak a megadott oldalakon jelenjen meg? :'; 18 18 $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 :';20 19 $lang['llgbo_usemap']='Navigációs buboréksúgó a kurzor alatt :'; 21 20 $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 :'; … … 23 22 $lang['llgbo_title_frame'] = 'Megjelenjen-e a kép címe a képkereten, ha az be van kapcsolva :'; 24 23 $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/200927 28 24 $lang['save'] = 'Mentés'; 29 25 $lang['preview'] = 'Előnézet'; … … 60 56 $lang['llgbo_samples'] = 'Minták : '; 61 57 $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 :';63 58 $lang['llgbo_header']='Fejléc megjelenítésének kezelése :'; 64 59 $lang['llgo_tooltip_setting']= 'Cím színe'; 65 60 $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';67 61 $lang['llgbo_header_home'] = 'Fejléc a Nyitó oldalon'; 68 62 $lang['llgbo_header_category'] = 'Fejléc a Kategóriák oldalon'; … … 86 80 $lang['llgbo_header_favorites']= 'Fejléc a Kedvencek oldalon'; 87 81 $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'; 88 84 ?> 85 86 87 88 -
extensions/LLGBO2/language/pl_PL/plugin.lang.php
r4574 r4591 1 <?php 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 3 // | PhpWebGallery - a PHP based picture gallery | … … 9 9 $lang['Howto'] = 'Ta wtyczka umożliwia zmianę prezentacji strony ze zdjęciami.'; 10 10 $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'; 11 14 $lang['llgbo_tooltip']='Wyświetlaj okienko skrótu (miniatury dostępne na przycisku) przy ruchu myszką :'; 12 15 $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:' ;14 16 $lang['llgbo_frame']='Wyświetlaj białą ramkę wokół zdjęcia :'; 15 17 $lang['llgbo_header']='Nagłówek jest wyświetlany jedynie na pierwszej stronie :'; 16 18 $lang['llgbo_maintain_header']='Wyświetlaj nagłówek także na kolejnych stronach :'; 17 $lang['llgbo_allinfo']='Wyświetlaj wszystkie przechowywane dane zdjęcia :';18 19 $lang['llgbo_usemap']='Dodaj nawigację na zdjęciu :'; 19 20 $lang['llgbo_usemap_thumb']='Dodaj miniatury kiedy nawigacja na zdjęciu jest aktywna :'; … … 21 22 $lang['llgbo_title_frame'] = 'Wyświetl tytuł zdjęcia w ramce'; 22 23 $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 ?> 86 85 87 ?> 86 87 88 -
extensions/LLGBO2/main.inc.php
r4578 r4591 2 2 /* 3 3 Plugin Name: Look_like_gbo2 4 Version: 2.0. I4 Version: 2.0.J 5 5 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251 6 6 Author: Ex-Ftb … … 14 14 /* 2.0.h new languages PL, ES, HU */ 15 15 /* 2.0.i Manage tab for tooltip and frame settings */ 16 /* 2.0.J add sample display and fix bug in admin with chrome */ 16 17 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 17 18 /* création d'une instance de la classe */ 18 19 $obj = new look_like_gbo(); /* class loading */ 19 20 global $conf,$ttvalues,$plugvalues,$frvalues; 20 define ('LLGBO_INFO_VERSION','2.0. Ia');21 define ('LLGBO_INFO_VERSION','2.0.J'); 21 22 define('LLGBO_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/'); 22 23 … … 210 211 /* HTML frame */ 211 212 If (($conf['LLGBO_SETTINGS'] [0] == 'true') ) 212 { $bd = 0;213 { $bds = 0; 213 214 $frame_begin =''; 214 215 $frame_end=''; 215 216 for ($x = 1 ;$x < 32 ; $x =$x +2) 216 217 { 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 sum218 {$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 219 220 $frame_end = $frame_end .' </div>'; 220 221 } 221 222 } 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); 224 225 $template->assign('FRAME_SIZE','style="width:'.$frame_width .'px; height:'.$frame_height.'px;"'); 225 226 $template->assign('FRAME_BEGIN', $frame_begin);
Note: See TracChangeset
for help on using the changeset viewer.