Changeset 7891
- Timestamp:
- Nov 26, 2010, 8:41:47 PM (13 years ago)
- Location:
- extensions/LLGBO2
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/language/de_DE/plugin.lang.php
r7114 r7891 83 83 $lang['llgbo_always_displayexif'] = 'Zeige die Metadaten immer an:' ; 84 84 $lang['Reset_To_Default'] = 'Auf Standardeinstellungen zurücksetzen'; 85 /*TODO*/$lang['llgo_warning_setting'] = ' Bildrahmen und In-Bild-Navigation sind bei Verwendung eines Gally Layouts nicht verfügbar';85 /*TODO*/$lang['llgo_warning_setting'] = 'to use with Gally themes, the plugin cl_conflit must be installed'; 86 86 /*TODO*/$lang['llgbo_hdShadowbox'] ='Kompatibilität zwischen HD Shadowbox und In-Bild-Navigation. <br> HD Shadowbox muss aktiviert sein!'; 87 87 ?> -
extensions/LLGBO2/language/en_UK/plugin.lang.php
r6259 r7891 83 83 $lang['llgbo_always_displayexif'] = 'Always display METADATA:' ; 84 84 $lang['Reset_To_Default'] = 'Reset to default values'; 85 /*TODO*/$lang['llgo_warning_setting'] = ' Frame around picture and navigation on picture are not available with Gally themes';85 /*TODO*/$lang['llgo_warning_setting'] = 'to use with Gally themes, the plugin cl_conflit must be installed'; 86 86 /*TODO*/$lang['llgbo_hdShadowbox'] ='Compliance HD Shadowbox and navigation on picture. <br> HD Shadowbox must be activated!'; 87 87 ?> -
extensions/LLGBO2/language/es_ES/description.txt
r7249 r7891 1 Este plugin modifica la presentación de la pagina con imágenes. 2 - Mostrar las miniaturas y los datos de la imagen cuando tu raton esta encima de los botones. 3 - Mostrar la imagen en un cuadro 4 - Activa la navegacion usando las imágenes 5 - Limita las encartes a la primera pagina y a las paginas adicionales 1 Uña del pulgar de demostración bajo botón. Agregue que la navegación sobre la imagen se parece a la Galería GBO -
extensions/LLGBO2/language/es_ES/plugin.lang.php
r6259 r7891 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 // | Copyright (C) 2003-2009 PhpWebGallery Team - http://phpwebgallery.net | 6 // +-----------------------------------------------------------------------+ 7 <?php 8 // +-----------------------------------------------------------------------+ 9 // | PhpWebGallery - a PHP based picture gallery | 10 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 11 // | Copyright (C) 2003-2009 PhpWebGallery Team - http://phpwebgallery.net | 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 12 6 // +-----------------------------------------------------------------------+ 13 7 $lang['submit'] = 'Validar'; … … 87 81 $lang['llgbo_frame_sample']= 'Lista ejemplost '; 88 82 $lang['previewsamples']= 'Fijar este ejemplo'; 89 $lang['llgbo_always_displayexif'] = 'Siempre fijar el METADATA:' 83 $lang['llgbo_always_displayexif'] = 'Siempre fijar el METADATA:'; 90 84 /* TODO */$lang['Reset_To_Default'] = 'Restaurar los valores por defecto'; 91 /*TODO*/$lang['llgo_warning_setting'] = ' Frame around picture and navigation on picture are not available with Gally themes';85 /*TODO*/$lang['llgo_warning_setting'] = 'To use with Gally themes, the plugin cl_conflit must be installed'; 92 86 /*TODO*/$lang['llgbo_hdShadowbox'] ='Compliance HD Shadowbox and navigation on picture. <br> HD Shadowbox must be activated !'; 93 87 ?> -
extensions/LLGBO2/language/fr_FR/plugin.lang.php
r6259 r7891 83 83 $lang['llgbo_always_displayexif'] = 'Toujours afficher les Metadata:' ; 84 84 $lang['Reset_To_Default'] = 'Rétablir les valeurs par défaut'; 85 $lang['llgo_warning_setting'] = 'Le cadre et la navigation sur image ne sont pas disponibles avec les thémes Gally';86 85 $lang['llgbo_hdShadowbox'] ='Compatibilité de HD Shadowbox avec la navigation sur image. <br> le plugin HD Shadowbox doit être activé! '; 86 // To do translation 87 $lang['llgo_warning_setting'] = 'Pour utiliser les thémes Gally , vous devez installer le plugin cl_conflit'; 87 88 ?> -
extensions/LLGBO2/language/hu_HU/plugin.lang.php
r6441 r7891 83 83 $lang['llgbo_always_displayexif'] = 'Mindig megjelenő METAADATOK (EXIF):' ; 84 84 $lang['Reset_To_Default'] = 'Alapértelmezett érték visszaállítása'; 85 $lang['llgo_warning_setting'] = 'Keret a kép körül és navigációs képek megjelenítése Gally témák esetén nem működik';86 85 $lang['llgbo_hdShadowbox'] ='HD Shadowbox kompatibilis kép böngészés. <br> Be kell kapcsolni a HD Shadowbox bővítményt'; 86 /*TODO*/$lang['llgo_warning_setting'] = 'to use with Gally themes, the plugin cl_conflit must be installed'; 87 87 ?> -
extensions/LLGBO2/language/lv_LV/plugin.lang.php
r7829 r7891 84 84 $lang['llgbo_always_displayexif'] = 'Vienmēr rādīt METADATA:' ; 85 85 $lang['Reset_To_Default'] = 'Atiestatīt pēcnoklusējuma vērtības'; 86 $lang['llgo_warning_setting'] = 'Gally tēmām nav pieejami rāmji ap attēliem un navigācijas rīki uz attēliem';87 86 $lang['llgbo_hdShadowbox'] ='HD ĒnuKastes (Shadowbox) un navigācijas rīku uz attēla saderība. <br> HD ĒnuKastei (Shadowbox) jābūt aktivētai!'; 87 /*TODO*/$lang['llgo_warning_setting'] = 'to use with Gally themes, the plugin cl_conflit must be installed'; 88 88 89 89 ?> -
extensions/LLGBO2/language/pl_PL/plugin.lang.php
r6259 r7891 83 83 $lang['llgbo_always_displayexif'] = 'Zawsze wyświetlaj metadane:' ; 84 84 /* TODO */$lang['Reset_To_Default'] = 'Przywróć wartości domyślne'; 85 /*TODO*/$lang['llgo_warning_setting'] = ' Frame around picture and navigation on picture are not available with Gally themes';85 /*TODO*/$lang['llgo_warning_setting'] = 'To use with Gally themes, the plugin cl_conflit must be installed'; 86 86 /*TODO*/$lang['llgbo_hdShadowbox'] ='Compliance HD Shadowbox and navigation on picture'; 87 87 ?> -
extensions/LLGBO2/language/ru_RU/plugin.lang.php
r7766 r7891 96 96 $lang['llgbo_always_displayexif'] = 'Всегда показывать Exif-метаданные:' ; 97 97 $lang['Reset_To_Default'] = 'Загрузить настройки по умолчанию'; 98 $lang['llgo_warning_setting'] = 'Рамка вокруг фотографии и навигация при наведении на фотографию недоступны при использовании тем группы Gally';99 98 $lang['llgbo_hdShadowbox'] ='Совместимость HD Shadowbox и навигации при наведении на фотографию.<br> Плагин HD Shadowbox должен быть активирован!'; 99 /*TODO*/$lang['llgo_warning_setting'] = 'to use with Gally themes, the plugin cl_conflit must be installed'; 100 100 101 101 ?> -
extensions/LLGBO2/language/sk_SK/plugin.lang.php
r7126 r7891 83 83 $lang['llgbo_always_displayexif'] = 'Vždy zobraziť METADATA:' ; 84 84 $lang['Reset_To_Default'] = 'Obnoviť pôvodné nastavenia'; 85 $lang['llgo_warning_setting'] = 'Rám okolo fotografie a navigácia na fotografii nie sú dostupné s Gally šablónami';86 85 $lang['llgbo_hdShadowbox'] ='Povolenie HD tienenej bunky a navigácie na fotografii. <br> HD tienená bunka musí byť aktivovaná!'; 86 /*TODO*/$lang['llgo_warning_setting'] = 'to use with Gally themes, the plugin cl_conflit must be installed'; 87 87 ?> -
extensions/LLGBO2/main.inc.php
r6704 r7891 2 2 /* 3 3 Plugin Name: Look_like_gbo2 4 Version: 2.1. g4 Version: 2.1.h 5 5 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251 6 Author: Gbo6 Author: Ex-Ftb 7 7 Author URI: http://www.photos.bouteyron.fr/ 8 8 Description: Display thumbnail under button. Add navigation on picture look like GBo Gallery … … 13 13 2.1.d bug Css with IE6 & IE8 14 14 2.1.e fix bug $conf['question_mark_in_urls'] 15 2.1.f fix bug with metatda and video 16 2.1.g fix bug with metatda + improve header message 17 */ 18 15 2.1.f fix bug with metatda and video 16 2.1.g fix bug with HD Shadowbow on first and last picture and navigation on picture 17 2.1.h language De, Sk, Lv and compliance GMaps */ 19 18 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 20 19 /* création d'une instance de la classe */ … … 22 21 global $conf; 23 22 24 define ('LLGBO_INFO_VERSION','2.1. g');23 define ('LLGBO_INFO_VERSION','2.1.h'); 25 24 if (!defined('LLGBO_PATH')) 26 25 {define('LLGBO_PATH' ,get_root_url().'plugins/'.basename(dirname(__FILE__)) . '/');} … … 115 114 } 116 115 117 118 119 116 } // end header 120 117 … … 126 123 $ThePicture = $template->get_template_vars('current'); 127 124 // 2.1.f fix notice with video 128 129 125 if ($ThePicture['is_picture'] <> 1 ) 130 { $lang['Show file metadata'] = 'No Metadata';126 { $lang['Show file metadata'] = 'No Metadata'; 131 127 return;} 132 128 // --------------------------- … … 136 132 If ($conf['LLGBO_SETTINGS'] [2] == 'true' ) // exif under bt 137 133 { $metadata = $template->get_template_vars('metadata'); 138 if (is_array($metadata)) 139 { 140 if (isset($metadata[0]) and is_array($metadata[0])) 141 { 142 foreach($metadata[0] as $cle =>$tableau) 143 { if(is_array($tableau)) 144 { foreach($tableau as $cle=>$valeur) 145 { $swt= $swt.$cle.' : '.$valeur.'<br>'; 146 $meta = 1;} 147 } } 148 if ( pwg_get_session_var('show_metadata') == 1 ) 149 { $lang['Show file metadata'] = 'EXIF Metadata'; 150 if (isset($metadata[0] ['TITLE'])) // advanced meta 151 {$lang['Show file metadata'] = $metadata [0] ['TITLE'];} 152 if ($meta != 1 ) {$lang['Show file metadata'] = 'No Metadata';} 153 } 134 if(is_array($metadata)) 135 { if (isset($metadata[0]) and is_array($metadata[0])) 136 { foreach($metadata[0] as $cle =>$tableau) 137 { if(is_array($tableau)) 138 { foreach($tableau as $cle=>$valeur) 139 { $swt= $swt.$cle.' : '.$valeur.'<br>'; 140 $meta = 1;} 141 } } 142 if ( pwg_get_session_var('show_metadata') == 1 ) 143 { $lang['Show file metadata'] = 'EXIF Metadata'; 144 if ($meta != 1 ) {$lang['Show file metadata'] = 'No Metadata';}} 145 146 $template->assign( 'U_METADATA', $u_metadata.'"'.$swt); 154 147 155 $template->assign( 'U_METADATA', $u_metadata.'"'.$swt);148 unset( $metadata[0]); 156 149 $template->Clear_assign('metadata');// hide original metadata 150 $template->assign('metadata',$metadata);// original metadata item > 0 151 } 157 152 } 158 } 159 } 153 } 160 154 161 155 } … … 221 215 //echo strpos(strtoupper($tpl_name) , 'GALLY'); 222 216 223 if (( strpos(strtoupper($tpl_name) , 'GALLY') === 0) )224 { return $content; ; } // Not compliant with Gally217 //if (( strpos(strtoupper($tpl_name) , 'GALLY') === 0) ) 218 // { return $content; ; } // Not compliant with Gally 225 219 ///////////////////////////////////////////////////////////////// 226 220 If (($conf['LLGBO_SETTINGS'] [1] == 'true' )/* tooltip display */ or ($conf['LLGBO_SETTINGS'] [0] == 'true') /* frame */ ) 227 221 { $linkcss = '<link rel="stylesheet" type="text/css" href="'.$llgbo_path; 228 222 $template->append('head_elements',$linkcss.'css/gbolook.css">'); 229 $template->append('head_elements',"\n".' <STYLE type="text/css">#theImage{margin:auto;overflow: hidden;}</STYLE>');223 $template->append('head_elements',"\n".' <STYLE type="text/css">#theImage{margin:auto;overflow: hidden;}</STYLE>'); 230 224 } 231 225 //---------------------------------------------------- … … 284 278 // compliance HD Shadowbox 285 279 If ($conf['LLGBO_SETTINGS'] [9] == 'true' ) 286 {$template->assign('HDHREF', ' href="'.$ThePicture['high_url'].'"'.' title= " HD --> '.$ThePicture['name'].'"'); 287 $template->append('head_elements', "\n".'<script type="text/javascript">'."\n".'window.onload = function() {'."\n".'Shadowbox.setup(document.getElementById("prevnext").getElementsByTagName("area")[3]);}'."\n".'</script>' );} 280 {$nbarea = 3; 281 if (!isset($next)){$nbarea = 2;} 282 if (!isset($prev)){$nbarea = 2;} 283 $template->assign('HDHREF', ' href="'.$ThePicture['high_url'].'" title= " HD --> '.$ThePicture['name'].'"'); 284 $template->append('head_elements', "\n".'<script type="text/javascript">'."\n".'window.onload = function() {'."\n".'Shadowbox.setup(document.getElementById("prevnext").getElementsByTagName("area")['.$nbarea.']);}'."\n".'</script>' );} 288 285 else 289 286 {$template->assign('HDHREF','title="'.$lang['Click on the picture to see it in high definition'].'" href="javascript:phpWGOpenWindow('."'".$ThePicture['high_url']."','".$uuid."','"."scrollbars=yes,toolbar=no,status=no,resizable=yes'".')"');}
Note: See TracChangeset
for help on using the changeset viewer.