Changeset 6701
- Timestamp:
- Jul 24, 2010, 5:17:50 PM (14 years ago)
- Location:
- extensions/lmt
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/lmt/admin/plugin_admin_config.tpl
r4396 r6701 20 20 if($("#ilicence_logo").val()=="text") 21 21 { 22 $("#logodefault"). get(0).innerHTML=get_licence_text($("#ilicence_default").val(), true);22 $("#logodefault").html(get_licence_text($("#ilicence_default").val(), true)); 23 23 } 24 24 else 25 25 { 26 $("#logodefault"). get(0).innerHTML="<img src='{/literal}{$datas.img_directory}{literal}"+26 $("#logodefault").html("<img src='{/literal}{$datas.img_directory}{literal}"+ 27 27 $("#ilicence_default").val().toLowerCase()+"_"+ 28 $("#ilicence_logo").val()+".png'>" ;28 $("#ilicence_logo").val()+".png'>"); 29 29 } 30 30 change_example(); … … 136 136 str = str.replace(re, txt); 137 137 138 $("#textexample"). attr("innerHTML",str);138 $("#textexample").html(str); 139 139 } 140 140 -
extensions/lmt/admin/plugin_admin_list.tpl
r5802 r6701 3 3 function loadpage(pagenum) 4 4 { 5 tmp=$.ajax({ 6 type: "POST", 7 url: "{/literal}{$datas.LMT_AJAX_URL_LIST}{literal}"+pagenum+"&filter="+$("#filter").val(), 8 async: false, 9 }).responseText; 5 $("#list").html("<br><img src='./plugins/GrumPluginClasses/icons/processing.gif'>"); 10 6 11 $("#nbphotos").attr("innerHTML", tmp.substr(0,tmp.indexOf("#"))); 12 $("#list").attr("innerHTML", tmp.substr(tmp.indexOf("#")+1)); 13 //$("#filter").attr("innerHTML", tmp.substr(tmp.indexOf("#")+1)); 7 $.ajax( 8 { 9 type: "POST", 10 datas: 11 { 12 filter:$("#filter").val() 13 }, 14 url: "{/literal}{$datas.LMT_AJAX_URL_LIST}{literal}"+pagenum, 15 async: true, 16 success: function(msg) 17 { 18 $("#nbphotos").html(msg.substr(0,msg.indexOf("#"))); 19 $("#list").html(msg.substr(msg.indexOf("#")+1)); 20 //$("#filter").attr("innerHTML", msg.substr(msg.indexOf("#")+1)); 21 } 22 } 23 ); 14 24 } 15 25 {/literal} -
extensions/lmt/admin/plugin_admin_listitems.tpl
r3666 r6701 13 13 <span> 14 14 <br/><div class="is_on" id="imgfi{$data.id}" onclick="swap_state('fi{$data.id}');"> </div> 15 [ <a href="{$data.imglink}">{$data.file}</a>]<br/>15 [ {$data.file} ]<br/> 16 16 ---<br/> 17 17 {foreach from=$data.cat key=catname item=catdata} -
extensions/lmt/admin/plugin_admin_manage.tpl
r5548 r6701 10 10 function loadpage(pagenum) 11 11 { 12 tmp=$.ajax({ 13 type: "POST", 14 url: "{/literal}{$datas.LMT_AJAX_URL_LIST}{literal}"+pagenum, 15 async: false, 16 }).responseText; 12 $("#list").html("<br><img src='./plugins/GrumPluginClasses/icons/processing.gif'>"); 17 13 18 $("#nbphotos").attr("innerHTML", tmp.substr(0,tmp.indexOf("#"))); 19 $("#list").attr("innerHTML", tmp.substr(tmp.indexOf("#")+1)); 14 $.ajax( 15 { 16 type: "POST", 17 url: "{/literal}{$datas.LMT_AJAX_URL_LIST}{literal}"+pagenum, 18 async: true, 19 success: function (msg) 20 { 21 $("#nbphotos").html(msg.substr(0,msg.indexOf("#"))); 22 $("#list").html(msg.substr(msg.indexOf("#")+1)); 23 } 24 } 25 ); 20 26 } 21 27 -
extensions/lmt/admin/plugin_admin_manageitems.tpl
r3666 r6701 15 15 <span> 16 16 <br/><div class="is_on" id="imgfi{$data.id}" onclick="swap_state('fi{$data.id}');"> </div> 17 [ <a href="{$data.imglink}">{$data.file}</a>]<br/>17 [ {$data.file} ]<br/> 18 18 ---<br/> 19 19 {foreach from=$data.cat key=catname item=catdata} -
extensions/lmt/language/en_UK/plugin.lang.php
r5873 r6701 28 28 $lang['lmt_add_licence_ko'] = 'The license count not be applied to the selected items'; 29 29 $lang['lmt_add_licence_ok'] = 'The license has been applied to the selected items'; 30 $lang['lmt_add_to_caddie'] = 'Add the items to the basket';30 $lang['lmt_add_to_caddie'] = 'Add the items in the caddie'; 31 31 $lang['lmt_apply'] = 'Apply'; 32 $lang['lmt_apply_do_clear'] = 'Apply the licence and empty the basket';33 $lang['lmt_apply_do_clear_selected'] = 'Apply the licence and clear the selected items in the basket';34 $lang['lmt_apply_do_nothing'] = 'Apply the licence and don\'t modify the basket';32 $lang['lmt_apply_do_clear'] = 'Apply the licence and empty the caddie'; 33 $lang['lmt_apply_do_clear_selected'] = 'Apply the licence and clear the selected items in the caddie'; 34 $lang['lmt_apply_do_nothing'] = 'Apply the licence and don\'t modify the caddie'; 35 35 $lang['lmt_author'] = 'Author'; 36 36 $lang['lmt_author_added'] = 'The author was added'; … … 49 49 $lang['lmt_caddie_items'] = 'Items in caddie'; 50 50 $lang['lmt_caddie_not_updated'] = 'The basket could not be updated'; 51 $lang['lmt_caddie_updated'] = 'The baskethas been updated';51 $lang['lmt_caddie_updated'] = 'The caddie has been updated'; 52 52 $lang['lmt_cancel'] = 'Cancel'; 53 53 $lang['lmt_cannot_add_author'] = 'The author could not be added'; … … 66 66 $lang['lmt_cfg_warning_link'] = 'Enable redirect'; 67 67 $lang['lmt_cfg_warning_texts'] = 'Footer text'; 68 $lang['lmt_cfg_warning_visible'] = ' Show the license applied by default in the bottom of the page';68 $lang['lmt_cfg_warning_visible'] = 'View the license applied by default in the bottom of the page'; 69 69 $lang['lmt_choose_select'] = '<Select>'; 70 $lang['lmt_clear_caddie_ko'] = ' Basketcould not be purged';71 $lang['lmt_clear_caddie_ok'] = ' Baskethas been purged';72 $lang['lmt_clear_si_caddie_ko'] = 'Selected items could not be purged from the basket';73 $lang['lmt_clear_si_caddie_ok'] = 'Selected items have been purged from the basket';70 $lang['lmt_clear_caddie_ko'] = 'Caddie could not be purged'; 71 $lang['lmt_clear_caddie_ok'] = 'Caddie has been purged'; 72 $lang['lmt_clear_si_caddie_ko'] = 'Selected items could not be purged from the caddie'; 73 $lang['lmt_clear_si_caddie_ok'] = 'Selected items have been purged from the caddie'; 74 74 $lang['lmt_config'] = 'Settings'; 75 75 $lang['lmt_def_--'] = 'The work may be freely used, provided the award to its author by quoting his name'; … … 86 86 $lang['lmt_general_text'] = '[logo=80x15]The media of this website are subject to copyright and, unless otherwise indicated, distributed under Creative Commons Licence [text=logo]'; 87 87 $lang['lmt_help'] = 'Help'; 88 $lang['lmt_help_config'][1] = 'Depending on the number of elements with a specific licence or the number of items in your basket, size of the display area will change. An oversized display areacan reduce the comfort of reading the page. <br> This parameter is used to force the maximum height of the display area.';89 $lang['lmt_help_config'][2] = ' Activates or deactivates license management. Compared to completely disable the plugin, this option allows to disable the license management on the public part of the site while retaining the administration of the plugin actived.';88 $lang['lmt_help_config'][1] = 'Depending on the number of elements with a licence number or the number of items in your caddie, size of the display area will change. A display area too bogger can reduce the comfort of reading the page. <br> This parameter is used to force the maximum height of the display area.'; 89 $lang['lmt_help_config'][2] = 'Selects whether or not the management of licenses. Compared to completely disable the plugin, this option allows to disable the license management on the public part of the site while retaining the administration of the plugin actived.'; 90 90 $lang['lmt_help_config'][3] = 'This option will always display the licence of the element, even if the licence by default it is assigned. <br> If this option is not activated, the licence will be displayed only for elements with a particular licence.'; 91 $lang['lmt_help_config'][4] = 'This option allows you to select the licence , which will be applied by default to elements to which no licence has been assigned.';91 $lang['lmt_help_config'][4] = 'This option allows you to select the licence will be applied by default to the elements for which no licence has been affected.'; 92 92 $lang['lmt_help_config'][5] = 'This option allows you to choose whether to display or not the licence by default on all pages (will be shown on the footer).'; 93 93 $lang['lmt_help_config'][6] = 'If enabled, the logo indicating the licence is a hyperlink redirecting the user to a page explaining in more detail the operating conditions of the item.'; 94 $lang['lmt_help_config'][7] = 'The license text displayed at the bottom of the page is changed according to your needs. <br> It is possible to display the corresponding license as: <br> <b>[logo=80x15]</b> the 80x15 logo <br> <b>[logo=88x31]</b> the 88x31 logo <br> <b>[logo=text]</b> the text only';94 $lang['lmt_help_config'][7] = 'The license text displayed at the bottom of the page is changed according to your needs. <br> It is possible to view items in automatically: <br> <b>[logo=80x15]</b> insert the 80x15 logo of the default licence <br> <b>[logo=88x31]</b> insert the 88x31 logo of the default licence<br> <b>[logo=text]</b>insert the text of the default licence'; 95 95 $lang['lmt_help_config'][8] = 'This option allows you to select the author who will be assigned to the licence used by default.'; 96 96 $lang['lmt_help_config'][9] = 'This option allows you to choose the number of items displayed per page.'; … … 146 146 $lang['lmt_nb_authors'] = 'authors set'; 147 147 $lang['lmt_no_author'] = '<No author>'; 148 $lang['lmt_no_element_selected'] = 'There areno selected items !';148 $lang['lmt_no_element_selected'] = 'There is no selected items !'; 149 149 $lang['lmt_no_text'] = 'No text is filled !'; 150 150 $lang['lmt_nofilter'] = 'All licences'; … … 153 153 $lang['lmt_redirect_urls'] = 'URL redirects'; 154 154 $lang['lmt_release'] = 'r'; 155 $lang['lmt_replace_caddie'] = 'Purge basketand add the elements';155 $lang['lmt_replace_caddie'] = 'Purge caddie and add the elements'; 156 156 $lang['lmt_save_config'] = 'Configuration saved'; 157 157 $lang['lmt_select_all'] = 'All'; -
extensions/lmt/language/es_ES/plugin.lang.php
r6029 r6701 25 25 $lang['lmt_official_website'] = 'El sitio oficial de Creative Commons'; 26 26 $lang['lmt_whatisit'] = 'Qué <i>Creative Commons</i> ?'; 27 $lang['lmt_whatisit_def1'] = 'Creative Commons es una organización sin ánimo de lucro que propone gratuitamente contratos flexibles de derecho de autor para difundir sus creaciones. Aplicados sobre sus fotos (u otros medios de comunicación que usted pone en línea) estos contratos les permiten a quienquiera explotarles sin tener que solicitarlessistemáticamente para obtener una autorización.';27 $lang['lmt_whatisit_def1'] = 'Creative Commons es una organización sin ánimo de lucro que propone gratuitamente contratos flexibles de derecho de autor para difundir sus creaciones. Aplicados sobre sus fotos (u otros medios de comunicación que usted pone en línea) estos contratos les permiten a quienquiera explotarles sin tener solicitarle sistemáticamente para obtener una autorización.'; 28 28 $lang['lmt_whatisit_def2'] = 'Existen 6 licencias que se articulan alrededor de 4 principios y que definen las condiciones de utilización.'; 29 29 $lang['lmt_four_way'] = 'Los 4 principios'; … … 33 33 $lang['lmt_way_nd'] = 'Ninguna Modificación'; 34 34 $lang['lmt_way_nc'] = 'Ninguna Utilización Comercial'; 35 $lang['lmt_way_sa'] = ' Compartir Condiciones Iniciales a la Idéntica';35 $lang['lmt_way_sa'] = 'Reparto a la Idéntica de las Condiciones Iniciales'; 36 36 37 37 $lang['lmt_cc-all'] = 'Toda licencia'; … … 41 41 $lang['lmt_lbl_cc-by-nc-nd'] = 'Paternidad, ninguna Utilización Comercial, ninguna Modificación'; 42 42 $lang['lmt_lbl_cc-by-nc-sa'] = 'Paternidad, ninguna Utilización Comercial, Comparte Condiciones Iniciales a la Idéntica'; 43 $lang['lmt_lbl_cc-by-sa'] = 'Paternidad, compartir condiciones Iniciales a la Idéntica';43 $lang['lmt_lbl_cc-by-sa'] = 'Paternidad, Reparto Condiciones Iniciales al Idéntico'; 44 44 $lang['lmt_lbl_cc-cright'] = 'Copyright'; 45 45 $lang['lmt_lbl_cc-cleft'] = 'Copyleft'; … … 69 69 $lang['lmt_nofilter'] = 'Toda licencia'; 70 70 71 $lang['lmt_def_--'] = 'La obra puede libremente ser utilizada, citando a su autor porsu nombre';72 $lang['lmt_def_nc'] = 'El titular de los derechos puede autorizar todos los tipos de utilización o al contrario restringir las utilizaciones no comerciales (las utilizaciones comercialesquedan sometidas a su autorización).';73 $lang['lmt_def_nd'] = 'El titular de los derechos puede continuar reservandose la facultad de realizar obras derivadaso al contrario autorizar de antemano las modificaciones, las traducciones...';74 $lang['lmt_def_sa'] = 'A la posibilidad de autorizar de antemano las modificaciones puede sobreponerse la obligación para dichas obras derivadas de ser propuestas al público con las mismas libertades (bajo la mismas opción Creative Commons) que la obra original.';71 $lang['lmt_def_--'] = 'La obra puede libremente ser utilizada, atribuirle a sonido el autor citando su nombre'; 72 $lang['lmt_def_nc'] = 'El titular derechos puede autorizar todos los tipos de utilización o al contrario restringir las utilizaciones no comerciales (las utilizaciones comerciales que quedan sometidas a su autorización).'; 73 $lang['lmt_def_nd'] = 'El titular de derechos puede continuar reservando la facultad para realizar obras derivadas de tipo o al contrario autorizar de antemano las modificaciones, las traducciones...'; 74 $lang['lmt_def_sa'] = 'A la posibilidad de autorizar de antemano las modificaciones puede sobreponerse la obligación para las obras dichas derivadas de serle propuestas al público con las mismas libertades (bajo la mismas opción Creative Commons) que la obra originaria.'; 75 75 76 $lang['lmt_general_text'] = "[logo=80x15]Los medios de comunicación de este sitio están sometidos al derecho de autor y, salvo indicaciones contrarias, estan difundidosbajo licencia Creative Commons [logo=text]";76 $lang['lmt_general_text'] = "[logo=80x15]Los medios de comunicación de este sitio están sometidos al derecho de autor y, salvo indicaciones contrarias, han difundido bajo licencia Creative Commons [logo=text]"; 77 77 78 $lang['lmt_lst_default_licence'] = "Las fotos por defecto estan publicadasbajo la licencia siguiente";79 $lang['lmt_lst_special_licence'] = "Las fotos siguientes estan publicadas con una licencia particular";78 $lang['lmt_lst_default_licence'] = "Las fotos por defecto han publicado bajo la licencia siguiente"; 79 $lang['lmt_lst_special_licence'] = "Las fotos siguientes son publicadas con una licencia particular"; 80 80 $lang['lmt_lst_apply_filter'] = 'Filtrar'; 81 81 $lang['lmt_lst_nb_photos'] = 'Fotos'; … … 94 94 $lang['lmt_select_invert'] = "Invertir"; 95 95 $lang['lmt_licence_to_apply'] = "Elección de la licencia"; 96 $lang['lmt_no_element_selected'] = "No hay ningún elemento seleccionado !";96 $lang['lmt_no_element_selected'] = "No hay ningún elemento de seleccionado !"; 97 97 98 98 $lang["lmt_add_licence_ok"] = "La licencia ha sido aplicada sobre los elementos seleccionado"; … … 102 102 $lang["lmt_clear_si_caddie_ok"] = "Los elementos seleccionados han sido purgados de la cesta"; 103 103 $lang["lmt_clear_si_caddie_ko"] = "Los elementos seleccionados no pudieron ser purgados de la cesta"; 104 $lang["lmt_caddie_not_updated"] = "La cesta no pudo ser actualizada";105 $lang["lmt_caddie_updated"] = "La cesta ha sido actualizada";106 $lang["lmt_add_to_caddie"] = "Añadir los elementos ala cesta";107 $lang["lmt_replace_caddie"] = "Purgar la cesta y añadir lelos elementos";104 $lang["lmt_caddie_not_updated"] = "La cesta no pudo ser puesta al día"; 105 $lang["lmt_caddie_updated"] = "La cesta ha sido puesta al día"; 106 $lang["lmt_add_to_caddie"] = "Añadir los elementos en la cesta"; 107 $lang["lmt_replace_caddie"] = "Purgar la cesta y añadir a eso los elementos"; 108 108 $lang["lmt_caddie_is_empty_please_fill_it"] = "La aplicación de una licencia se efectúa sobre el contenido de la cesta. Desgraciadamente éste está vacío..."; 109 109 110 $lang["lmt_redirect_config"] = "Redirec ciónes";110 $lang["lmt_redirect_config"] = "Redirections"; 111 111 $lang["lmt_general_config"] = "Opciones generales"; 112 $lang['lmt_display_config'] = "Opciones de visualización";112 $lang['lmt_display_config'] = "Opciones de fijación"; 113 113 $lang['lmt_cfg_list_maxheight'] = "Altura máxima de las listas"; 114 $lang['lmt_cfg_list_maxitems'] = "Número máximo de elementos visualizados";114 $lang['lmt_cfg_list_maxitems'] = "Número máximo de elementos fijados"; 115 115 $lang['lmt_licence_config'] = "Gestión de las licencias"; 116 $lang["lmt_cfg_licence_activated"] = "Ac tivar la gestión de las licencias";117 $lang["lmt_cfg_licence_visible"] = "La licencia siempre es visualizada, hasta si se trata de una licencia por defecto";118 $lang["lmt_cfg_licence_logo"] = "Tipo de logo visualizado";116 $lang["lmt_cfg_licence_activated"] = "Acelerar la gestión de las licencias"; 117 $lang["lmt_cfg_licence_visible"] = "La licencia siempre es fijada, hasta si se trata de una licencia por defecto"; 118 $lang["lmt_cfg_licence_logo"] = "Tipo de logo fijado"; 119 119 $lang["lmt_warning_config"] = "Gestión del texto de pie de página"; 120 $lang["lmt_cfg_warning_visible"] = " Visualizar la licencia aplicada por defecto abajo de lapágina";121 $lang["lmt_cfg_warning_link"] = "Ac tivar la redirección";120 $lang["lmt_cfg_warning_visible"] = "Fijar la licencia aplicada por defecto abajo página"; 121 $lang["lmt_cfg_warning_link"] = "Acelerar el redirection"; 122 122 $lang["lmt_cfg_warning_texts"] = "Texto de pie de página"; 123 123 $lang["lmt_do_save"] = "Registrar la configuración"; … … 132 132 $lang["lmt_icon_88x31"] = "Icono 88x31"; 133 133 $lang["lmt_icon_text"] = "Texto"; 134 $lang['example'] = "Ejemplo de la visualización";134 $lang['example'] = "Ejemplo de la fijación"; 135 135 $lang['lmt_warning_texts_help'] = ""; 136 136 137 $lang["lmt_help_config"][1] = " En foncción del numero de elementos disponiendo de una licencia particular o del numero de elementos presente en su cesta, la zona de visualización sera mas o menos grande. Una zona de visualizacion demasiado grande puede reducir la comodidad de lectura de la pagina.<br/>Este parametro permite adaptar la altura maximal de la zona de visualización.";138 $lang["lmt_help_config"][2] = "Permite ac tivar o no la gestión de las licencias. Con relación a una desactivación completa del plugin, esta opción permite desactivar la gestión de las licencias en el lado públicodel sitio conservando la administración del plugin activo.";139 $lang["lmt_help_config"][3] = "Esta opción permite visualizar sistemáticamente la licencia del elemento, aunque la licencia por defecto le es afectada. <br /> Si esta opción no es activada, la licencia será visializada sólo para los elementos que dispondrán de una licencia particular.";140 $lang["lmt_help_config"][4] = "Esta opción permite seleccionar la licencia que será aplicada por defecto sobre los elementos para los cuales ninguna licencia particular habrá sido afectado.";141 $lang["lmt_help_config"][5] = "Esta opción permite escoger si hay que visualizar o no la licencia por defecto sobre todas las páginas (será visualizada abajo de lapágina).";142 $lang["lmt_help_config"][6] = "Si esta activado, el logotipo que indica la licencia es un hiperenlaces que redirigeal usuario sobre una página que explica más detalladamente las condiciones de explotación del elemento.";143 $lang["lmt_help_config"][7] = "El texto de licencia visualizado abajo de la página es modificable según sus necesidades. <br /> es posible visualizar los elementos automáticamente: <br /> <b> [logo=80x15] </b> inserta el logotipo 80x15 de la licencia por defecto <br /> <b> [logo=88x31] </b> inserta el logotipo 88x31 de la licencia por defecto <br /> <b> [logo=text] </b> inserta el texto de la licencia por defecto";137 $lang["lmt_help_config"][1] = "Con arreglo al número de elementos que dispone de una licencia particular o de un número del número de elementos presentes en su cesta, de la zona de fijación vaya a ser más o menos grande. Una zona demasiado grande de fijación puede reducir la comodidad de lectura de la página. <br /> Este parámetro permite forzar la altura máxima de la zona de fijación."; 138 $lang["lmt_help_config"][2] = "Permite acelerar o no la gestión de las licencias. Con relación a una desactivación completa del plugin, esta opción permite desactivar la gestión de las licencias sobre la partida pública del sitio conservando la administración del plugin activo."; 139 $lang["lmt_help_config"][3] = "Esta opción permite fijar sistemáticamente la licencia del elemento, aunque la licencia por defecto le es afectada. <br /> Si esta opción no es acelerada, la licencia será fijada sólo para los elementos que dispondrán de una licencia particular."; 140 $lang["lmt_help_config"][4] = "Esta opción permite seleccionar la licencia que será aplicada por defecto sobre los elementos para los cuales ninguna licencia particular habrá estado afectado."; 141 $lang["lmt_help_config"][5] = "Esta opción permite escoger si hay que fijar o no la licencia por defecto sobre todas las páginas (será fijado abajo página)."; 142 $lang["lmt_help_config"][6] = "Si acelerado, el logotipo que indica la licencia es un hiperenlaces que redirigeant al usuario sobre una página que explica más detalladamente las condiciones de explotación del elemento."; 143 $lang["lmt_help_config"][7] = "El texto de licencia fijado abajo página es modificable según sus necesidades. <br /> es posible fijar elementos en automático: <br /> <b> [logo=80x15] </b> inserta el logotipo 80x15 de la licencia por defecto <br /> <b> [logo=88x31] </b> inserta el logotipo 88x31 de la licencia por defecto <br /> <b> [logo=text] </b> inserta el texto de la licencia por defecto"; 144 144 $lang["lmt_help_config"][8] = "Esta opción permite seleccionar al autor que será afectado para la licencia aplicada por defecto."; 145 $lang["lmt_help_config"][9] = "Esta opción permite escoger el número de elementos visualizados por página.";145 $lang["lmt_help_config"][9] = "Esta opción permite escoger el número de elementos fijados por página."; 146 146 147 $lang["lmt_author_nfo"] = "Cuando el logotipo de una licencia es visializado enla página de un elemento hecho visible, es posible precisar al autor que detiene los derechos.";147 $lang["lmt_author_nfo"] = "Cuando el logotipo de una licencia es fijado sobre la página de un elemento hecho visible, es posible precisar al autor que detiene los derechos."; 148 148 $lang["lmt_author_title"] = "Lista autores"; 149 $lang["lmt_nb_author_zero"] = "No hay ningún autor con parámetros definidos";150 $lang["lmt_nb_author_one"] = "1 autor con parámetros definidos";151 $lang["lmt_nb_authors"] = "Autores con parámetros definidos";152 $lang["lmt_add_author"] = "Añadir un autor";149 $lang["lmt_nb_author_zero"] = "No hay ningún autor de definido parámetros"; 150 $lang["lmt_nb_author_one"] = "1 autor de definido parámetros"; 151 $lang["lmt_nb_authors"] = "Autores de definidos parámetros"; 152 $lang["lmt_add_author"] = "Añadir a un autor"; 153 153 $lang["lmt_author_txt1"] = "Texto 1"; 154 154 $lang["lmt_author_txt2"] = "Texto 2"; 155 155 $lang["lmt_action"] = "Acciones"; 156 $lang["lmt_authoradd_title"] = "Añadir un autor";157 $lang["lmt_authormodify_title"] = "Modificar un autor";156 $lang["lmt_authoradd_title"] = "Añadir a un autor"; 157 $lang["lmt_authormodify_title"] = "Modificar a un autor"; 158 158 $lang["lmt_add"] = "Añadir"; 159 159 $lang["lmt_delete"] = "Suprimir"; … … 165 165 $lang["lmt_author_deleted"] = "El autor ha sido suprimido"; 166 166 $lang["lmt_cannot_delete_author"] = "El autor no pudo ser suprimido"; 167 $lang["lmt_error_on_image_author"] = "Problema en el momento de la actualización de los elementos relacionados alautor suprimido";168 $lang["lmt_author_one_image_updated"] = "Una imagen relacionada con este autor ha sido actualizada";169 $lang["lmt_author_nb_images_updated"] = "Imágenes relacionadas con este autor han sido actualizadas";167 $lang["lmt_error_on_image_author"] = "Problema en el momento de la puesta al día de los elementos relacionados con autor suprimido"; 168 $lang["lmt_author_one_image_updated"] = "Una imagen relacionada con este autor ha sido puesta al día"; 169 $lang["lmt_author_nb_images_updated"] = "Imágenes relacionadas con este autor han sido puestas al día"; 170 170 $lang["lmt_author_modified"] = "El autor ha sido modificado"; 171 171 $lang["lmt_cannot_modify_author"] = "El autor no pudo ser modificado"; 172 172 $lang['lmt_no_author'] = "< Ningún autor>"; 173 $lang['lmt_redirect_urls'] = "URLs de redirec ciones";173 $lang['lmt_redirect_urls'] = "URLs de redirections"; 174 174 /*ici*/ 175 175 $lang["lmt_nav_first"] = "Primero"; 176 $lang["lmt_nav_prev"] = " Precedente";176 $lang["lmt_nav_prev"] = "El precedente"; 177 177 $lang["lmt_nav_next"] = "Siguiente"; 178 $lang["lmt_nav_last"] = " Último";178 $lang["lmt_nav_last"] = "El último"; 179 179 180 180 //1.1.0 181 $lang["lmt_help_config"][10] = "Si ac tiva, la apertura de la página hacia la cual apunta el hiperenlace se abrira en una nueva ventana.";181 $lang["lmt_help_config"][10] = "Si acelerado, la apertura de la página hacia la cual despunta el hiperenlaces será efectuada en una nueva ventana."; 182 182 $lang["lmt_cfg_warning_target"] = "Forzar la apertura en una nueva ventana" 183 183 184 // 1.2.0 185 $lang['To install this plugin, you need to install Grum Plugin Classes %s before'] = 'Para instalar este plugin, usted debe previamente, instalar el plugin Grum Plugin Classes %s'; 184 186 185 187 186 ?> -
extensions/lmt/lmt_aip.class.inc.php
r6272 r6701 619 619 if($result) 620 620 { 621 if(pwg_db_changes( )==1)621 if(pwg_db_changes($result)==1) 622 622 { 623 623 $this->displayResult(l10n("lmt_author_deleted"), true); … … 628 628 if($result) 629 629 { 630 $nbimages=pwg_db_changes( );630 $nbimages=pwg_db_changes($result); 631 631 if($nbimages>0) 632 632 { … … 795 795 } 796 796 797 protected function make_image_data($tmp )797 protected function make_image_data($tmp, $imageId) 798 798 { 799 799 $tmp2=array(); 800 for ($i=0;$i<count($tmp['id']);$i++)800 foreach($tmp['id'] as $key=>$val) 801 801 { 802 802 $tmp2[]=array( 803 'id' => $tmp['id'][$i], 804 'name' => $tmp['name'][$i], 805 'type' => $tmp['type'][$i], 806 'plinks' => $tmp['plinks'][$i], 807 'link'=> make_index_url( 808 array( 809 'category' => array( 810 'id' => $tmp['id'][$i], 811 'name' => $tmp['name'][$i], 812 'permalink' => $tmp['plinks'][$i]) 813 ) 814 ) 803 'id' => $tmp['id'][$key], 804 'name' => $tmp['name'][$key], 805 'type' => $tmp['type'][$key], 806 'plinks' => $tmp['plinks'][$key], 807 'link'=> make_picture_url( 808 array( 809 'image_id' => $imageId, 810 'category' => array 811 ( 812 'id' => $tmp['id'][$key], 813 'name' => $tmp['name'][$key], 814 'permalink' => $tmp['plinks'][$key] 815 ) 816 ) 817 ) 815 818 ); 816 819 } … … 895 898 'link'=>array() 896 899 ); 897 $tmpcat=$this->make_image_data($tmp );900 $tmpcat=$this->make_image_data($tmp, $row['image_id']); 898 901 899 902 $img_ids[]=$row['image_id']; … … 906 909 'file' => $row['file'], 907 910 'cat' => $tmpcat, 908 'imglink' => make_picture_url(909 array(910 'image_id' => $row['image_id'],911 'category' => array(912 'id' => $tmp['id'][0],913 'name' => $tmp['name'][0],914 'permalink' => $tmp['plinks'][0])915 )916 ),917 911 'thumb' => $filenfo["dirname"]."/thumbnail/".$conf["prefix_thumbnail"].$filenfo["filename"].".".$row["tn_ext"] 918 912 ); … … 998 992 'link'=>array() 999 993 ); 1000 $tmpcat=$this->make_image_data($tmp );994 $tmpcat=$this->make_image_data($tmp, $row['image_id']); 1001 995 1002 996 $img_liste[]=array( … … 1008 1002 'file' => $row['file'], 1009 1003 'cat' => $tmpcat, 1010 'imglink' => make_picture_url(1011 array(1012 'image_id' => $row['image_id'],1013 'category' => array(1014 'id' => $tmp['id'][0],1015 'name' => $tmp['name'][0],1016 'permalink' => $tmp['plinks'][0])1017 )1018 ),1019 1004 'thumb' => $filenfo["dirname"]."/thumbnail/".$conf["prefix_thumbnail"].$filenfo["filename"].".".$row["tn_ext"] 1020 1005 ); -
extensions/lmt/lmt_pip.class.inc.php
r5548 r6701 100 100 } 101 101 102 $alternateText=" alt='".htmlspecialchars(l10n('lmt_lbl_cc_s-'.strtolower($licence['licence'])), ENT_QUOTES)."' 103 title='".htmlspecialchars( 104 l10n('lmt_lbl_under-'.strtolower($licence['licence'])).' '. 105 l10n('lmt_lbl_cc_s-'.strtolower($licence['licence'])).' : '. 106 l10n('lmt_lbl_cc-'.strtolower($licence['licence'])),ENT_QUOTES 107 )."' "; 108 102 109 $style=""; 103 110 $text=""; … … 108 115 if($url!="") 109 116 { 110 $text = "<br/><a href='".$url."'".$target."><img class='logo80x15' src='". LMT_PATH."img/".strToLower($licence['licence'])."_80x15.png'></a>".$licence['aut_text1']." ".$licence['aut_text2'];117 $text = "<br/><a href='".$url."'".$target."><img $alternateText class='logo80x15' src='". LMT_PATH."img/".strToLower($licence['licence'])."_80x15.png'></a>".$licence['aut_text1']." ".$licence['aut_text2']; 111 118 } 112 119 else 113 120 { 114 $text = "<br/><img class='logo80x15' src='". LMT_PATH."img/".strToLower($licence['licence'])."_80x15.png'>".$licence['aut_text1']." ".$licence['aut_text2'];121 $text = "<br/><img $alternateText class='logo80x15' src='". LMT_PATH."img/".strToLower($licence['licence'])."_80x15.png'>".$licence['aut_text1']." ".$licence['aut_text2']; 115 122 } 116 123 break; … … 119 126 if($url!="") 120 127 { 121 $text = "<table style='margin:auto;'><tr><td><a href='".$url."'".$target."><img class='logo88x31' style='top:-4px;' src='". LMT_PATH."img/".strToLower($licence['licence'])."_88x31.png'></a></td><td>".$licence['aut_text1']."<br/>".$licence['aut_text2']."</td></tr></table>";128 $text = "<table style='margin:auto;'><tr><td><a href='".$url."'".$target."><img $alternateText class='logo88x31' style='top:-4px;' src='". LMT_PATH."img/".strToLower($licence['licence'])."_88x31.png'></a></td><td>".$licence['aut_text1']."<br/>".$licence['aut_text2']."</td></tr></table>"; 122 129 } 123 130 else 124 131 { 125 $text = "<table style='margin:auto;'><tr><td><img class='logo88x31' style='top:-4px;' src='". LMT_PATH."img/".strToLower($licence['licence'])."_88x31.png'></td><td>".$licence['aut_text1']."<br/>".$licence['aut_text2']."</td></tr></table>";132 $text = "<table style='margin:auto;'><tr><td><img $alternateText class='logo88x31' style='top:-4px;' src='". LMT_PATH."img/".strToLower($licence['licence'])."_88x31.png'></td><td>".$licence['aut_text1']."<br/>".$licence['aut_text2']."</td></tr></table>"; 126 133 } 127 134 break; … … 155 162 } 156 163 164 $alternateText=" alt='".htmlspecialchars(l10n('lmt_lbl_cc_s-'.strtolower($this->config['lmt_licence_default'])), ENT_QUOTES)."' 165 title='".htmlspecialchars( 166 l10n('lmt_lbl_under-'.strtolower($this->config['lmt_licence_default'])).' '. 167 l10n('lmt_lbl_cc_s-'.strtolower($this->config['lmt_licence_default'])).' : '. 168 l10n('lmt_lbl_cc-'.strtolower($this->config['lmt_licence_default'])),ENT_QUOTES 169 )."' "; 170 157 171 $patterns = array('/\[logo=80x15\]/i', '/\[logo=88x31\]/i', '/\[logo=text\]/i'); 158 172 $replacements = array( 159 "<img class='logo80x15' src='". LMT_PATH."img/".strToLower($this->config['lmt_licence_default'])."_80x15.png'>",160 "<img class='logo88x31' src='". LMT_PATH."img/".strToLower($this->config['lmt_licence_default'])."_88x31.png'>",173 "<img $alternateText class='logo80x15' src='". LMT_PATH."img/".strToLower($this->config['lmt_licence_default'])."_80x15.png'>", 174 "<img $alternateText class='logo88x31' src='". LMT_PATH."img/".strToLower($this->config['lmt_licence_default'])."_88x31.png'>", 161 175 l10n("lmt_lbl_cc_s-".strToLower($this->config['lmt_licence_default'])) 162 176 ); -
extensions/lmt/lmt_version.inc.php
r6272 r6701 15 15 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 16 16 17 define('LMT_VERSION', '1.2. 2');18 define('LMT_VERSION2', '01.02.0 2');17 define('LMT_VERSION', '1.2.3'); 18 define('LMT_VERSION2', '01.02.03'); 19 19 ?> -
extensions/lmt/main.inc.php
r6272 r6701 2 2 /* 3 3 Plugin Name: LMT 4 Version: 1.2. 24 Version: 1.2.3 5 5 Description: Appliquer une licence sur ses photos / Apply a licence on photos 6 6 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=282 … … 55 55 | | | on line 720 56 56 | | | 57 | 1.2.3 | 2010/07/24 | * mantis : feature 1439 58 | | | . Add an "ALT" property to the licence picture 59 | | | => the "TITLE" property was also added 60 | | | * mantis : feature 1690 61 | | | . Improve performances in admin page 62 | | | 63 | | | 64 | | | 65 | | | 66 | | | 57 67 | | | 58 68 | | |
Note: See TracChangeset
for help on using the changeset viewer.