From f8e889d435f5ddde2717272297a47986e32e02b3 Mon Sep 17 00:00:00 2001 From: H2lsoft Date: Mon, 14 Mar 2016 16:39:54 +0100 Subject: [PATCH] update 4.9.7 --- library/media/images/user/nuts_rss/readme.txt | 0 library/media/multimedia/readme.txt | 0 library/php/TPLN/plugin/form/lang.inc.php | 139 +++++++++++------- nuts/index.php | 4 +- plugins/_page-manager/tree_func.js | 8 +- 5 files changed, 93 insertions(+), 58 deletions(-) create mode 100644 library/media/images/user/nuts_rss/readme.txt create mode 100644 library/media/multimedia/readme.txt diff --git a/library/media/images/user/nuts_rss/readme.txt b/library/media/images/user/nuts_rss/readme.txt new file mode 100644 index 00000000..e69de29b diff --git a/library/media/multimedia/readme.txt b/library/media/multimedia/readme.txt new file mode 100644 index 00000000..e69de29b diff --git a/library/php/TPLN/plugin/form/lang.inc.php b/library/php/TPLN/plugin/form/lang.inc.php index dfe689da..9692be31 100644 --- a/library/php/TPLN/plugin/form/lang.inc.php +++ b/library/php/TPLN/plugin/form/lang.inc.php @@ -3,123 +3,152 @@ // Ln 109 $tpln_form_lng['en'][0] = "TPLN Form: `%s` No object found"; $tpln_form_lng['fr'][0] = "TPLN Form: `%s` Aucun objet trouvé"; +$tpln_form_lng['es'][0] = "TPLN Form: `%s` No se encontraron artículos"; //Ln 201 //Ln 703 $tpln_form_lng['en'][1] = "Field `%s` can not be empty"; $tpln_form_lng['fr'][1] = "Le champ `%s` ne peut être vide"; +$tpln_form_lng['es'][1] = "El campo `%s` no puede estar vacío"; //Ln 235 -$tpln_form_lng['en'][2]= "`%s` can only countain digit"; -$tpln_form_lng['fr'][2]= "Le champ `%s` ne peut contenir que des chiffres"; +$tpln_form_lng['en'][2] = "`%s` can only countain digit"; +$tpln_form_lng['fr'][2] = "Le champ `%s` ne peut contenir que des chiffres"; +$tpln_form_lng['es'][2] = "El campo `%s` sólo pueden contener los números"; //Ln 278 -$tpln_form_lng['en'][3]= "Field `%s` must be equal at `%s`"; -$tpln_form_lng['fr'][3]= "Le champ `%s` doit être égale à `%s`"; +$tpln_form_lng['en'][3] = "Field `%s` must be equal at `%s`"; +$tpln_form_lng['fr'][3] = "Le champ `%s` doit être égale à `%s`"; +$tpln_form_lng['es'][3] = "El campo `%s` deben ser iguales a `%s`"; //Ln 359 -$tpln_form_lng['en'][4]= "Field `%s` must be in the list `%s`"; -$tpln_form_lng['fr'][4]= "Le champ `%s` doit être dans la liste à `%s`"; +$tpln_form_lng['en'][4] = "Field `%s` must be in the list `%s`"; +$tpln_form_lng['fr'][4] = "Le champ `%s` doit être dans la liste `%s`"; +$tpln_form_lng['es'][4] = "El campo `%s` deben estar en la lista `%s`"; //Ln 385 -$tpln_form_lng['en'][5]= "Field `%s` can only countain letters"; -$tpln_form_lng['fr'][5]= "Le champ `%s` ne peut contenir que des lettres"; +$tpln_form_lng['en'][5] = "Field `%s` can only countain letters"; +$tpln_form_lng['fr'][5] = "Le champ `%s` ne peut contenir que des lettres"; +$tpln_form_lng['es'][5] = "El campo `%s` sólo pueden contener letras"; //Ln 410 -$tpln_form_lng['en'][6]= "Field `%s` is not a valid mail address"; -$tpln_form_lng['fr'][6]= "Le champ `%s` n'est pas une adresse mail valide"; +$tpln_form_lng['en'][6] = "Field `%s` is not a valid mail address"; +$tpln_form_lng['fr'][6] = "Le champ `%s` n'est pas une adresse mail valide"; +$tpln_form_lng['es'][6] = "El campo `%s` no es una dirección válida de correo electrónico"; //Ln 437 -$tpln_form_lng['en'][7]= "Field `%s` must contain %s characters"; -$tpln_form_lng['fr'][7]= "Le champ `%s` doit contenir %s caractères"; +$tpln_form_lng['en'][7] = "Field `%s` must contain %s characters"; +$tpln_form_lng['fr'][7] = "Le champ `%s` doit contenir %s caractères"; +$tpln_form_lng['es'][7] = "El campo `%s` deben ser de %s caracteres"; //Ln 465 -$tpln_form_lng['en'][8]= "Field `%s` must contain at least %s characters"; -$tpln_form_lng['fr'][8]= "Le champ `%s` doit contenir au moins %s caractères"; +$tpln_form_lng['en'][8] = "Field `%s` must contain at least %s characters"; +$tpln_form_lng['fr'][8] = "Le champ `%s` doit contenir au moins %s caractères"; +$tpln_form_lng['es'][8] = "El campo `%s` debe tener al menos %s caracteres"; //Ln 493 -$tpln_form_lng['en'][9]= "Field `%s` must contain %s characters maximum"; -$tpln_form_lng['fr'][9]= "Le champ `%s` doit contenir au maximum %s caractères"; +$tpln_form_lng['en'][9] = "Field `%s` must contain %s characters maximum"; +$tpln_form_lng['fr'][9] = "Le champ `%s` doit contenir au maximum %s caractères"; +$tpln_form_lng['es'][9] = "El campo `%s` debe contener un máximo de 10 caracteres"; //Ln 542 //Ln 573 -$tpln_form_lng['en'][10]= "Field `%s` countains non alphabetic characters"; -$tpln_form_lng['fr'][10]= "Le champ `%s` contient des caractères non alphabétique"; +$tpln_form_lng['en'][10] = "Field `%s` countains non alphabetic characters"; +$tpln_form_lng['fr'][10] = "Le champ `%s` contient des caractères non alphabétique"; +$tpln_form_lng['es'][10] = "El campo `%s` contienen caracteres no alfabéticos"; //633 -$tpln_form_lng['en'][11]= "Field `%s` is not a valid date, format allowed `%s`"; -$tpln_form_lng['fr'][11]= "Le champ `%s` n'est pas une date valide, format autorisé `%s`"; +$tpln_form_lng['en'][11] = "Field `%s` is not a valid date, format allowed `%s`"; +$tpln_form_lng['fr'][11] = "Le champ `%s` n'est pas une date valide, format autorisé `%s`"; +$tpln_form_lng['es'][11] = "El campo `%s` no es una fecha válida, el tamaño autorizado `%s`"; //Ln 658 -$tpln_form_lng['en'][12]= "Field `%s` is not a valid url"; -$tpln_form_lng['fr'][12]="Le champ `%s` n'est pas une url valide"; +$tpln_form_lng['en'][12] = "Field `%s` is not a valid url"; +$tpln_form_lng['fr'][12] ="Le champ `%s` n'est pas une url valide"; +$tpln_form_lng['es'][12] ="El campo `%s` no es una URL válida"; //Ln 691 -$tpln_form_lng['en'][13]= "Error : The restriction fileControl cannot control the object `%s` or then the `%s` object does not exist"; -$tpln_form_lng['fr'][13]= "Erreur : La restriction fileControl ne peut pas contrôler l'objet `%s`
ou alors l'objet `%s` n'existe pas"; +$tpln_form_lng['en'][13] = "Error : the restriction fileControl can not control the object `%s` or then the `%s` object does not exist"; +$tpln_form_lng['fr'][13] = "Erreur : la restriction fileControl ne peut pas contrôler l'objet `%s`
ou alors l'objet `%s` n'existe pas"; +$tpln_form_lng['es'][13] = "Error : the restriction fileControl can not control the object `%s` or then the `%s` object does not exist"; //Ln 754 -$tpln_form_lng['en'][14]= "`%s`: the extension of file is not allowed, only `%s`"; -$tpln_form_lng['fr'][14]= "`%s`: l'extension du fichier n'est pas autorisée, seulement `%s`"; +$tpln_form_lng['en'][14] = "`%s`: the extension of file is not allowed, only `%s`"; +$tpln_form_lng['fr'][14] = "`%s`: l'extension du fichier n'est pas autorisée, seulement `%s`"; +$tpln_form_lng['es'][14] = "`%s`: la extensión de archivo no está permitido, sólo `%s`"; //Ln 773 -$tpln_form_lng['en'][15]= "`%s`: The MIME type `%s` is not allowed, only `%s`"; -$tpln_form_lng['fr'][15]= "`%s`: Le type MIME `%s` n'est pas autorisé, seulement `%s`"; +$tpln_form_lng['en'][15] = "`%s`: The MIME type `%s` is not allowed, only `%s`"; +$tpln_form_lng['fr'][15] = "`%s`: Le type MIME `%s` n'est pas autorisé, seulement `%s`"; +$tpln_form_lng['fr'][15] = "`%s`: El tipo MIME `%s` no está permitido, sólo `%s`"; //Ln 855 -$tpln_form_lng['en'][16]= "Argument missing on the method imgStrictDimension controlling the `%s` object"; -$tpln_form_lng['fr'][16]= "Argument manquant sur la méthode imgStrictDimension controlant l'objet `%s`"; +$tpln_form_lng['en'][16] = "Argument missing on the method imgStrictDimension controlling the `%s` object"; +$tpln_form_lng['fr'][16] = "Argument manquant sur la méthode imgStrictDimension controlant l'objet `%s`"; +$tpln_form_lng['es'][16] = "Argument missing on the method imgStrictDimension controlling the `%s` object"; //Ln 868 -$tpln_form_lng['en'][17]= "Error: The restriction imgStrictDimension cannot control the object `%s` or the `%s` object does not exist"; -$tpln_form_lng['fr'][17]= "Erreur: La restriction imgStrictDimension peut pas contrôler l'objet `%s` ou alors l'objet `%s` n'existe pas"; +$tpln_form_lng['en'][17] = "Error: The restriction imgStrictDimension cannot control the object `%s` or the `%s` object does not exist"; +$tpln_form_lng['fr'][17] = "Erreur: La restriction imgStrictDimension peut pas contrôler l'objet `%s` ou alors l'objet `%s` n'existe pas"; +$tpln_form_lng['es'][17] = "Error: The restriction imgStrictDimension cannot control the object `%s` or the `%s` object does not exist"; //Ln 963 //Ln 1042 -$tpln_form_lng['en'][18]= "Operator not valid on method imgControlHeight controlling the `%s` object"; -$tpln_form_lng['fr'][18]= "Operateur non valide sur la méthode imgControlHeight contrôlant l'objet `%s`"; +$tpln_form_lng['en'][18] = "Operator not valid on method imgControlHeight controlling the `%s` object"; +$tpln_form_lng['fr'][18] = "Operateur non valide sur la méthode imgControlHeight contrôlant l'objet `%s`"; +$tpln_form_lng['es'][18] = "Operator not valid on method imgControlHeight controlling the `%s` object"; //Ln 971 -$tpln_form_lng['en'][19]= "Width not valid on method imgControlWidth controling the `%s` object"; -$tpln_form_lng['fr'][19]= "Largeur non valide sur la méthode imgControlWidth contrôlant l'objet `%s` "; +$tpln_form_lng['en'][19] = "Width not valid on method imgControlWidth controling the `%s` object"; +$tpln_form_lng['fr'][19] = "Largeur non valide sur la méthode imgControlWidth contrôlant l'objet `%s` "; +$tpln_form_lng['es'][19] = "Width not valid on method imgControlWidth controling the `%s` object"; //Ln 983 //Ln 1061 -$tpln_form_lng['en'][20]= "Error: the restriction imgControlWidth can not control the object `%s` or the object `%s` does not exist"; -$tpln_form_lng['fr'][20]= "Erreur: la restriction imgControlWidth ne peut pas contrôler l'objet `%s` ou l'objet `%s` n'existe pas"; +$tpln_form_lng['en'][20] = "Error: the restriction imgControlWidth can not control the object `%s` or the object `%s` does not exist"; +$tpln_form_lng['fr'][20] = "Erreur: la restriction imgControlWidth ne peut pas contrôler l'objet `%s` ou l'objet `%s` n'existe pas"; +$tpln_form_lng['es'][20] = "Error: the restriction imgControlWidth can not control the object `%s` or the object `%s` does not exist"; //1009 -$tpln_form_lng['en'][21]= "The width of the image `%s` must be %s %s pixels"; -$tpln_form_lng['fr'][21]= "La largeur de l'image `%s` doit être %s %s pixels"; +$tpln_form_lng['en'][21] = "The width of the image `%s` must be %s %s pixels"; +$tpln_form_lng['fr'][21] = "La largeur de l'image `%s` doit être %s %s pixels"; +$tpln_form_lng['es'][21] = "La anchura de la imagen `%s` debe ser %s %s pixels"; //Ln 1050 -$tpln_form_lng['en'][22]= "Height not valid on method imgControlHeight controling the `%s` object"; -$tpln_form_lng['fr'][22]= "Hauteur non valide sur la méthode imgControlHeight contrôlant l'objet `%s` "; +$tpln_form_lng['en'][22] = "Height not valid on method imgControlHeight controling the `%s` object"; +$tpln_form_lng['fr'][22] = "Hauteur non valide sur la méthode imgControlHeight contrôlant l'objet `%s` "; +$tpln_form_lng['es'][22] = "Height not valid on method imgControlHeight controling the `%s` object"; //Ln 1086 -$tpln_form_lng['en'][23]= "The Height of the image `%s` must be %s %s pixels"; -$tpln_form_lng['fr'][23]= "La Hauteur de l'image `%s` doit être %s %s pixels"; +$tpln_form_lng['en'][23] = "The Height of the image `%s` must be %s %s pixels"; +$tpln_form_lng['fr'][23] = "La Hauteur de l'image `%s` doit être %s %s pixels"; +$tpln_form_lng['es'][23] = "The Height of the image `%s` must be %s %s pixels"; //Ln 1729 //Ln 1741 -$tpln_form_lng['en'][24]= "Error: You can not publish more than %s times"; -$tpln_form_lng['fr'][24]= "Erreur: Vous ne pouvez pas publier plus de %s times"; +$tpln_form_lng['en'][24] = "Error: You can not publish more than %s times"; +$tpln_form_lng['fr'][24] = "Erreur: Vous ne pouvez pas publier plus de %s fois"; +$tpln_form_lng['es'][24] = "Error: No puede enviar más de %s veces"; //Ln 1772 -$tpln_form_lng['en'][25]="Your security code is not valid"; -$tpln_form_lng['fr'][25]="Le code de sécurité n'est pas valide"; +$tpln_form_lng['en'][25] ="Your security code is not valid"; +$tpln_form_lng['fr'][25] ="Le code de sécurité n'est pas valide"; +$tpln_form_lng['es'][25] ="El código de seguridad no es válido"; + //Ln 736 -$tpln_form_lng['en'][26]="`%s`: file size is over than maximum size %s"; -$tpln_form_lng['fr'][26]="`%s`: taille du fichier dépasse le maximum autorisé %s"; +$tpln_form_lng['en'][26] ="`%s`: file size is over than maximum size %s"; +$tpln_form_lng['fr'][26] ="`%s`: taille du fichier dépasse le maximum autorisé %s"; +$tpln_form_lng['es'][26] ="`%s`: tamaño del archivo supera el máximo permitido %s"; //Ln -$tpln_form_lng['en'][27]="The width of the image `%s` is too %s by %s pixels (allowed %s px)"; -$tpln_form_lng['fr'][27]="La largeur de l'image `%s` est trop %s de %s pixels (autorisé %s px)"; +$tpln_form_lng['en'][27] = "The width of the image `%s` is too %s by %s pixels (allowed %s px)"; +$tpln_form_lng['fr'][27] = "La largeur de l'image `%s` est trop %s de %s pixels (autorisé %s px)"; +$tpln_form_lng['es'][27] = "El ancho de la imagen `%s` es %s por %s pixels (autorizada %s px)"; //Ln -$tpln_form_lng['en'][28]="The height of the image `%s` is %s %s pixels (allowed %s px)"; -$tpln_form_lng['fr'][28]="La hauteur de l'image `%s` est %s %s pixels (autorisé %s px)"; +$tpln_form_lng['en'][28] = "The height of the image `%s` is %s %s pixels (allowed %s px)"; +$tpln_form_lng['fr'][28] = "La hauteur de l'image `%s` est %s %s pixels (autorisé %s px)"; +$tpln_form_lng['es'][28] = "La altura de la imagen `%s` est %s %s pixels (autorizada %s px)"; -?> \ No newline at end of file diff --git a/nuts/index.php b/nuts/index.php index e5a5fd62..0435126c 100644 --- a/nuts/index.php +++ b/nuts/index.php @@ -346,7 +346,9 @@ // get plugin label if(file_exists(WEBSITE_PATH.'/plugins/'.$row['Name'].'/lang/'.$_SESSION['Language'].'.inc.php')) - include(WEBSITE_PATH.'/plugins/'.$plugin_name.'/lang/'.$_SESSION['Language'].'.inc.php'); + { + include(WEBSITE_PATH.'/plugins/'.$plugin_name.'/lang/'.$_SESSION['Language'].'.inc.php'); + } else { $default_lang = array_map('trim', explode(',',$plugin_info['langs'])); diff --git a/plugins/_page-manager/tree_func.js b/plugins/_page-manager/tree_func.js index 95cbe7aa..02360981 100644 --- a/plugins/_page-manager/tree_func.js +++ b/plugins/_page-manager/tree_func.js @@ -81,6 +81,10 @@ function treeView() { nutsAlert(data); reloadPage(); + + + + return; } @@ -208,8 +212,8 @@ function reloadPage(pageID) treeView(); // update drag icon - simpleTreeCollection.get(0).option.drag = false; - // dragPage(); + simpleTreeCollection.get(0).option.drag = true; + dragPage(); if(!isNaN(pageID)) {