From 88374ece407fc05fb71477a5d6084d9341c8247c Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sat, 6 Apr 2024 14:51:10 +0200 Subject: [PATCH] latte: simplified "{..}" --- application/bg/creating-links.texy | 2 +- application/cs/creating-links.texy | 2 +- application/de/creating-links.texy | 2 +- application/el/creating-links.texy | 2 +- application/en/creating-links.texy | 2 +- application/es/creating-links.texy | 2 +- application/fr/creating-links.texy | 2 +- application/hu/creating-links.texy | 2 +- application/it/creating-links.texy | 2 +- application/pl/creating-links.texy | 2 +- application/pt/creating-links.texy | 2 +- application/ro/creating-links.texy | 2 +- application/ru/creating-links.texy | 2 +- application/sl/creating-links.texy | 2 +- application/tr/creating-links.texy | 2 +- application/uk/creating-links.texy | 2 +- latte/bg/filters.texy | 10 +++++----- latte/bg/safety-first.texy | 2 +- latte/bg/syntax.texy | 2 +- latte/bg/tags.texy | 2 +- latte/cs/filters.texy | 10 +++++----- latte/cs/safety-first.texy | 2 +- latte/cs/syntax.texy | 2 +- latte/cs/tags.texy | 2 +- latte/de/filters.texy | 10 +++++----- latte/de/safety-first.texy | 2 +- latte/de/syntax.texy | 2 +- latte/de/tags.texy | 2 +- latte/el/filters.texy | 10 +++++----- latte/el/safety-first.texy | 2 +- latte/el/syntax.texy | 2 +- latte/el/tags.texy | 2 +- latte/en/filters.texy | 10 +++++----- latte/en/safety-first.texy | 2 +- latte/en/syntax.texy | 2 +- latte/en/tags.texy | 2 +- latte/es/filters.texy | 10 +++++----- latte/es/safety-first.texy | 2 +- latte/es/syntax.texy | 2 +- latte/es/tags.texy | 2 +- latte/fr/filters.texy | 10 +++++----- latte/fr/safety-first.texy | 2 +- latte/fr/syntax.texy | 2 +- latte/fr/tags.texy | 2 +- latte/hu/filters.texy | 10 +++++----- latte/hu/safety-first.texy | 2 +- latte/hu/syntax.texy | 2 +- latte/hu/tags.texy | 2 +- latte/it/filters.texy | 10 +++++----- latte/it/safety-first.texy | 2 +- latte/it/syntax.texy | 2 +- latte/it/tags.texy | 2 +- latte/ja/filters.texy | 10 +++++----- latte/ja/safety-first.texy | 2 +- latte/ja/syntax.texy | 2 +- latte/ja/tags.texy | 2 +- latte/pl/filters.texy | 10 +++++----- latte/pl/safety-first.texy | 2 +- latte/pl/syntax.texy | 2 +- latte/pl/tags.texy | 2 +- latte/pt/filters.texy | 10 +++++----- latte/pt/safety-first.texy | 2 +- latte/pt/syntax.texy | 2 +- latte/pt/tags.texy | 2 +- latte/ro/filters.texy | 10 +++++----- latte/ro/safety-first.texy | 2 +- latte/ro/syntax.texy | 2 +- latte/ro/tags.texy | 2 +- latte/ru/filters.texy | 10 +++++----- latte/ru/safety-first.texy | 2 +- latte/ru/syntax.texy | 2 +- latte/ru/tags.texy | 2 +- latte/sl/filters.texy | 10 +++++----- latte/sl/safety-first.texy | 2 +- latte/sl/syntax.texy | 2 +- latte/sl/tags.texy | 2 +- latte/tr/filters.texy | 10 +++++----- latte/tr/safety-first.texy | 2 +- latte/tr/syntax.texy | 2 +- latte/tr/tags.texy | 2 +- latte/uk/filters.texy | 10 +++++----- latte/uk/safety-first.texy | 2 +- latte/uk/syntax.texy | 2 +- latte/uk/tags.texy | 2 +- 84 files changed, 152 insertions(+), 152 deletions(-) diff --git a/application/bg/creating-links.texy b/application/bg/creating-links.texy index 14bdd3e2d9..e75c39e78b 100644 --- a/application/bg/creating-links.texy +++ b/application/bg/creating-links.texy @@ -213,7 +213,7 @@ $url = $this->link('Product:show', [$product->id, 'lang' => 'cs']); Ако искаме да направим препратка към презентаторите в шаблона на компонента, използваме тага `{plink}`: ```latte -главная страница +главная страница ``` или в кода diff --git a/application/cs/creating-links.texy b/application/cs/creating-links.texy index bd921ae70c..2d497b68f2 100644 --- a/application/cs/creating-links.texy +++ b/application/cs/creating-links.texy @@ -213,7 +213,7 @@ Protože [komponenty|components] jsou samostatné znovupoužitelné celky, kter Pokud bychom chtěli v šabloně komponenty odkazovat na presentery, použijeme k tomu značku `{plink}`: ```latte -úvod +úvod ``` nebo v kódu diff --git a/application/de/creating-links.texy b/application/de/creating-links.texy index b2dd309752..2543101182 100644 --- a/application/de/creating-links.texy +++ b/application/de/creating-links.texy @@ -213,7 +213,7 @@ Da [Komponenten |components] separate, wiederverwendbare Einheiten sind, die kei Wenn wir auf Präsentatoren in der Komponentenvorlage verlinken wollen, verwenden wir das Tag `{plink}`: ```latte -home +home ``` oder im Code diff --git a/application/el/creating-links.texy b/application/el/creating-links.texy index 8a9f563cf8..c77bb68c72 100644 --- a/application/el/creating-links.texy +++ b/application/el/creating-links.texy @@ -213,7 +213,7 @@ $url = $this->link('Product:show', [$product->id, 'lang' => 'cs']); Αν θέλουμε να συνδέσουμε με παρουσιαστές στο πρότυπο συστατικού, χρησιμοποιούμε την ετικέτα `{plink}`: ```latte -home +home ``` ή στον κώδικα diff --git a/application/en/creating-links.texy b/application/en/creating-links.texy index eb10c4c852..d80f9ce29b 100644 --- a/application/en/creating-links.texy +++ b/application/en/creating-links.texy @@ -213,7 +213,7 @@ Because [components] are separate reusable units that should have no relations t If we want to link to presenters in the component template, we use the tag `{plink}`: ```latte -home +home ``` or in the code diff --git a/application/es/creating-links.texy b/application/es/creating-links.texy index ed5ab76589..497734da6f 100644 --- a/application/es/creating-links.texy +++ b/application/es/creating-links.texy @@ -213,7 +213,7 @@ Dado que los [componentes |components] son unidades reutilizables independientes Si queremos enlazar con presentadores en la plantilla de componentes, utilizaremos la etiqueta `{plink}`: ```latte -home +home ``` o en el código diff --git a/application/fr/creating-links.texy b/application/fr/creating-links.texy index 32ad736c4b..35b5171f65 100644 --- a/application/fr/creating-links.texy +++ b/application/fr/creating-links.texy @@ -213,7 +213,7 @@ Comme les [composants |components] sont des unités distinctes réutilisables qu Si nous voulons créer un lien vers les présentateurs dans le modèle de composant, nous utilisons la balise `{plink}`: ```latte -home +home ``` ou dans le code diff --git a/application/hu/creating-links.texy b/application/hu/creating-links.texy index 052dc6f4ef..6adfa6d498 100644 --- a/application/hu/creating-links.texy +++ b/application/hu/creating-links.texy @@ -213,7 +213,7 @@ Mivel a [komponensek |components] különálló, újrafelhasználható egységek Ha a komponenssablonban előadókra akarunk hivatkozni, akkor a `{plink}` címkét használjuk: ```latte -home +home ``` vagy a kódban diff --git a/application/it/creating-links.texy b/application/it/creating-links.texy index a1dbcc4bb6..40648f85d6 100644 --- a/application/it/creating-links.texy +++ b/application/it/creating-links.texy @@ -213,7 +213,7 @@ Poiché i [componenti |components] sono unità riutilizzabili separate che non d Se vogliamo collegarci ai presentatori nel modello del componente, usiamo il tag `{plink}`: ```latte -home +home ``` o nel codice diff --git a/application/pl/creating-links.texy b/application/pl/creating-links.texy index 781a17e60d..bea0dda8d5 100644 --- a/application/pl/creating-links.texy +++ b/application/pl/creating-links.texy @@ -213,7 +213,7 @@ Ponieważ [komponenty |components] są samodzielnymi, wielokrotnego użytku jedn Gdybyśmy chcieli odwołać się do prezenterów w szablonie komponentu, użylibyśmy do tego celu tagu `{plink}`: ```latte -úvod +home ``` lub w kodzie diff --git a/application/pt/creating-links.texy b/application/pt/creating-links.texy index 24570ecfb2..349e4358cd 100644 --- a/application/pt/creating-links.texy +++ b/application/pt/creating-links.texy @@ -213,7 +213,7 @@ Como [os componentes |components] são unidades reutilizáveis separadas que nã Se quisermos fazer um link para apresentadores no modelo de componente, usamos a tag `{plink}`: ```latte -home +home ``` ou no código diff --git a/application/ro/creating-links.texy b/application/ro/creating-links.texy index 67bf8715d5..c296f1546a 100644 --- a/application/ro/creating-links.texy +++ b/application/ro/creating-links.texy @@ -213,7 +213,7 @@ Deoarece [componentele |components] sunt unități separate reutilizabile care n Dacă dorim să facem legătura cu prezentatorii din șablonul componentei, folosim eticheta `{plink}`: ```latte -home +home ``` sau în cod diff --git a/application/ru/creating-links.texy b/application/ru/creating-links.texy index 8961c3227b..ad3f4f361f 100644 --- a/application/ru/creating-links.texy +++ b/application/ru/creating-links.texy @@ -213,7 +213,7 @@ $url = $this->link('Product:show', [$product->id, 'lang' => 'cs']); Если мы хотим сделать ссылку на презентеры в шаблоне компонента, мы используем тег `{plink}`: ```latte -главная страница +главная страница ``` or in the code diff --git a/application/sl/creating-links.texy b/application/sl/creating-links.texy index c4732bce8b..1fb0ff24c2 100644 --- a/application/sl/creating-links.texy +++ b/application/sl/creating-links.texy @@ -213,7 +213,7 @@ Ker so [komponente |components] ločene enote za večkratno uporabo, ki naj ne b Če se želimo v predlogi komponente povezati s predstavniki, uporabimo oznako `{plink}`: ```latte -home +home ``` ali v kodi diff --git a/application/tr/creating-links.texy b/application/tr/creating-links.texy index 330930300d..34cde301ee 100644 --- a/application/tr/creating-links.texy +++ b/application/tr/creating-links.texy @@ -213,7 +213,7 @@ Bileşendeki Bağlantılar .[#toc-links-in-component] Bileşen şablonunda sunum yapanlara bağlantı vermek istiyorsak `{plink}` etiketini kullanırız: ```latte -home +home ``` veya kodda diff --git a/application/uk/creating-links.texy b/application/uk/creating-links.texy index 19f653904e..3f605ac54a 100644 --- a/application/uk/creating-links.texy +++ b/application/uk/creating-links.texy @@ -213,7 +213,7 @@ $url = $this->link('Product:show', [$product->id, 'lang' => 'cs']); Якщо ми хочемо зробити посилання на презентери в шаблоні компонента, ми використовуємо тег `{plink}`: ```latte -главная страница +главная страница ``` or in the code diff --git a/latte/bg/filters.texy b/latte/bg/filters.texy index 6283bf3c42..285a4b4d89 100644 --- a/latte/bg/filters.texy +++ b/latte/bg/filters.texy @@ -203,8 +203,8 @@ checkUrl .[filter] ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Отпечатва: @@ -235,7 +235,7 @@ dataStream(string mimetype = detect) .[filter] Нека имаме изображение в променлива `$img = Image::fromFile('obrazek.gif')`, тогава ```latte - + ``` Отпечатва например: @@ -416,8 +416,8 @@ nocheck .[filter] ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Отпечатъци: diff --git a/latte/bg/safety-first.texy b/latte/bg/safety-first.texy index 2693ba01f9..b8dca3c913 100644 --- a/latte/bg/safety-first.texy +++ b/latte/bg/safety-first.texy @@ -351,7 +351,7 @@ Latte автоматично проверява дали променливат ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Пише: diff --git a/latte/bg/syntax.texy b/latte/bg/syntax.texy index 5a5eb32559..b7406ed381 100644 --- a/latte/bg/syntax.texy +++ b/latte/bg/syntax.texy @@ -98,7 +98,7 @@ n:атрибути .[#toc-n-attributes] Или с префикс `tag-` функционалността се прилага само за HTML тагове: ```latte -

Title

+

Title

``` В зависимост от стойността на променливата `$url` ще бъде изведено следното: diff --git a/latte/bg/tags.texy b/latte/bg/tags.texy index 24e6ad3834..758ce4721e 100644 --- a/latte/bg/tags.texy +++ b/latte/bg/tags.texy @@ -292,7 +292,7 @@ Age: {date('Y') - $birth}
Използвайте условието `{ifset $var}`, за да определите дали дадена променлива (или няколко променливи) съществува и има ненулева стойност. Всъщност това е същото като `if (isset($var))` в PHP. Както всеки сдвоен таг, и този може да бъде записан като [n:attribute |syntax#n-attributes], затова нека го покажем с пример: ```latte - + ``` diff --git a/latte/cs/filters.texy b/latte/cs/filters.texy index b7a86927f4..55382c19ef 100644 --- a/latte/cs/filters.texy +++ b/latte/cs/filters.texy @@ -203,8 +203,8 @@ Vynutí ošetření URL adresy. Kontroluje, zda proměnná obsahuje webovou URL ```latte {var $link = 'javascript:window.close()'} -kontrolované -nekontrolované +kontrolované +nekontrolované ``` Vypíše: @@ -235,7 +235,7 @@ Konvertuje obsah do data URI scheme. Pomocí něj lze do HTML nebo CSS vkládat Mějme v proměnné obrázek `$img = Image::fromFile('obrazek.gif')`, poté ```latte - + ``` Vypíše například: @@ -416,8 +416,8 @@ Pokud odkaz používá jiné schéma, např. `javascript:` nebo `data:`, a jste ```latte {var $link = 'javascript:window.close()'} -kontrolované -nekontrolované +kontrolované +nekontrolované ``` Vypíše: diff --git a/latte/cs/safety-first.texy b/latte/cs/safety-first.texy index 44bd9f4edf..ed212e83b6 100644 --- a/latte/cs/safety-first.texy +++ b/latte/cs/safety-first.texy @@ -351,7 +351,7 @@ Latte automaticky kontroluje, zda proměnná použitá v atributech `src` nebo ` ```latte {var $link = 'javascript:attack()'} -klikni +klikni ``` Vypíše: diff --git a/latte/cs/syntax.texy b/latte/cs/syntax.texy index d90970c534..e1532cabd0 100644 --- a/latte/cs/syntax.texy +++ b/latte/cs/syntax.texy @@ -98,7 +98,7 @@ Vypíše se: Nebo pomocí prefixu `tag-` aplikujeme funkcionalitu jen na samotné HTML značky: ```latte -

Title

+

Title

``` Což vypíše v závislosti na proměnné `$url`: diff --git a/latte/cs/tags.texy b/latte/cs/tags.texy index 6725270e1d..8f90f0553a 100644 --- a/latte/cs/tags.texy +++ b/latte/cs/tags.texy @@ -292,7 +292,7 @@ Viz také [`{ifset block}` |template-inheritance#Kontrola existence bloků] Pomocí podmínky `{ifset $var}` zjistíme, zda proměnná (nebo více proměnných) existuje a má ne*null*ovou hodnotu. Vlastně jde o totéž, jako `if (isset($var))` v PHP. Jako každou párovou značku ji lze zapisovat i v podobě [n:attributu|syntax#n:atributy], tak si to ukažme jako příklad: ```latte - + ``` diff --git a/latte/de/filters.texy b/latte/de/filters.texy index 3784d34eb4..8d134d91de 100644 --- a/latte/de/filters.texy +++ b/latte/de/filters.texy @@ -203,8 +203,8 @@ Erzwingt URL-Sanitization. Sie prüft, ob die Variable eine Web-URL enthält (d. ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Druckt: @@ -235,7 +235,7 @@ Konvertiert den Inhalt in ein Daten-URI-Schema. Es kann verwendet werden, um Bil Nehmen wir an, ein Bild befindet sich in einer Variablen `$img = Image::fromFile('obrazek.gif')`, dann ```latte - + ``` Druckt zum Beispiel: @@ -416,8 +416,8 @@ Wenn der Link ein anderes Schema verwendet, z. B. `javascript:` oder `data:`, un ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Drucke: diff --git a/latte/de/safety-first.texy b/latte/de/safety-first.texy index ef699fd12a..6529d9848c 100644 --- a/latte/de/safety-first.texy +++ b/latte/de/safety-first.texy @@ -351,7 +351,7 @@ Latte prüft automatisch, ob die in den Attributen `src` oder `href` verwendete ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Schreibt: diff --git a/latte/de/syntax.texy b/latte/de/syntax.texy index 33a208a405..b6f6482c5b 100644 --- a/latte/de/syntax.texy +++ b/latte/de/syntax.texy @@ -98,7 +98,7 @@ Druckt: Oder durch die Verwendung des Präfixes `tag-` wird die Funktionalität nur auf die HTML-Tags angewendet: ```latte -

Title

+

Title

``` Je nach dem Wert der Variable `$url` wird dies gedruckt: diff --git a/latte/de/tags.texy b/latte/de/tags.texy index 839cdd7f75..a76145a8d8 100644 --- a/latte/de/tags.texy +++ b/latte/de/tags.texy @@ -292,7 +292,7 @@ Siehe auch [`{ifset block}` |template-inheritance#checking-block-existence] Verwenden Sie die `{ifset $var}` Bedingung, um festzustellen, ob eine Variable (oder mehrere Variablen) existiert und einen Nicht-Null-Wert hat. Es ist eigentlich das Gleiche wie `if (isset($var))` in PHP. Wie jedes Paar-Tag kann es in der Form von [n:attribute |syntax#n:attributes] geschrieben werden, also zeigen wir es in einem Beispiel: ```latte - + ``` diff --git a/latte/el/filters.texy b/latte/el/filters.texy index ac76626627..8a45af2856 100644 --- a/latte/el/filters.texy +++ b/latte/el/filters.texy @@ -203,8 +203,8 @@ checkUrl .[filter] ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Εκτυπώνει: @@ -235,7 +235,7 @@ dataStream(string mimetype = detect) .[filter] Ας έχουμε μια εικόνα σε μια μεταβλητή `$img = Image::fromFile('obrazek.gif')`, τότε ```latte - + ``` Εκτυπώνει για παράδειγμα: @@ -416,8 +416,8 @@ nocheck .[filter] ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Εκτυπώσεις: diff --git a/latte/el/safety-first.texy b/latte/el/safety-first.texy index 10e6d61f4c..6322b713f0 100644 --- a/latte/el/safety-first.texy +++ b/latte/el/safety-first.texy @@ -351,7 +351,7 @@ Latte βλέπει το πρότυπο με τον ίδιο τρόπο που τ ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Γράφει: diff --git a/latte/el/syntax.texy b/latte/el/syntax.texy index 8f36653703..3ea9bf87ab 100644 --- a/latte/el/syntax.texy +++ b/latte/el/syntax.texy @@ -98,7 +98,7 @@ n:attributes .[#toc-n-attributes] Η με τη χρήση του προθέματος `tag-` η λειτουργικότητα εφαρμόζεται μόνο στις ετικέτες HTML: ```latte -

Title

+

Title

``` Ανάλογα με την τιμή της μεταβλητής `$url` αυτό θα εκτυπωθεί: diff --git a/latte/el/tags.texy b/latte/el/tags.texy index 068d3cd0cf..80f552c565 100644 --- a/latte/el/tags.texy +++ b/latte/el/tags.texy @@ -292,7 +292,7 @@ Age: {date('Y') - $birth}
Χρησιμοποιήστε τη συνθήκη `{ifset $var}` για να προσδιορίσετε αν μια μεταβλητή (ή πολλαπλές μεταβλητές) υπάρχει και έχει μη μηδενική τιμή. Στην πραγματικότητα είναι το ίδιο με το `if (isset($var))` στην PHP. Όπως κάθε ετικέτα pair, μπορεί να γραφτεί με τη μορφή [n:attribute |syntax#n:attributes], οπότε ας το δείξουμε σε παράδειγμα: ```latte - + ``` diff --git a/latte/en/filters.texy b/latte/en/filters.texy index 3eacff86a4..f8f113b7f7 100644 --- a/latte/en/filters.texy +++ b/latte/en/filters.texy @@ -203,8 +203,8 @@ Enforces URL sanitization. It checks if the variable contains a web URL (ie. HTT ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Prints: @@ -235,7 +235,7 @@ Converts the content to data URI scheme. It can be used to insert images into HT Lets have an image in a variable `$img = Image::fromFile('obrazek.gif')`, then ```latte - + ``` Prints for example: @@ -416,8 +416,8 @@ If the link uses a different scheme, such as `javascript:` or `data:`, and you a ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Prints: diff --git a/latte/en/safety-first.texy b/latte/en/safety-first.texy index 83454d8ade..172c583ca6 100644 --- a/latte/en/safety-first.texy +++ b/latte/en/safety-first.texy @@ -351,7 +351,7 @@ Latte automatically checks whether the variable used in the `src` or `href` attr ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Writes: diff --git a/latte/en/syntax.texy b/latte/en/syntax.texy index 532a8555a0..d5cb6a97e0 100644 --- a/latte/en/syntax.texy +++ b/latte/en/syntax.texy @@ -98,7 +98,7 @@ Prints: Or by using `tag-` prefix the functionality is applied on the HTML tags only: ```latte -

Title

+

Title

``` Depending on the value of `$url` variable this will print: diff --git a/latte/en/tags.texy b/latte/en/tags.texy index a25ecff68e..356332803d 100644 --- a/latte/en/tags.texy +++ b/latte/en/tags.texy @@ -292,7 +292,7 @@ See also [`{ifset block}` |template-inheritance#checking-block-existence] Use the `{ifset $var}` condition to determine if a variable (or multiple variables) exists and has a non-null value. It's actually the same as `if (isset($var))` in PHP. Like any pair tag, this can be written in the form of [n:attribute|syntax#n:attributes], so let's show it in example: ```latte - + ``` diff --git a/latte/es/filters.texy b/latte/es/filters.texy index 81479c86c3..6579e256d2 100644 --- a/latte/es/filters.texy +++ b/latte/es/filters.texy @@ -203,8 +203,8 @@ Aplica la limpieza de URL. Comprueba si la variable contiene una URL web (es dec ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Imprime: @@ -235,7 +235,7 @@ Convierte el contenido en un esquema URI de datos. Puede utilizarse para inserta Tengamos una imagen en una variable `$img = Image::fromFile('obrazek.gif')`, entonces ```latte - + ``` Imprime por ejemplo @@ -416,8 +416,8 @@ Si el enlace utiliza un esquema diferente, como `javascript:` o `data:`, y está ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Imprime: diff --git a/latte/es/safety-first.texy b/latte/es/safety-first.texy index 5f70f5225d..4669fe47f3 100644 --- a/latte/es/safety-first.texy +++ b/latte/es/safety-first.texy @@ -351,7 +351,7 @@ Latte comprueba automáticamente si la variable utilizada en los atributos `src` ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Escribe: diff --git a/latte/es/syntax.texy b/latte/es/syntax.texy index 8adcf5e086..2e4e2bacce 100644 --- a/latte/es/syntax.texy +++ b/latte/es/syntax.texy @@ -98,7 +98,7 @@ Imprime: O utilizando `tag-` prefijo la funcionalidad se aplica en las etiquetas HTML solamente: ```latte -

Title

+

Title

``` Dependiendo del valor de la variable `$url` se imprimirá: diff --git a/latte/es/tags.texy b/latte/es/tags.texy index d529d1c009..a15396875c 100644 --- a/latte/es/tags.texy +++ b/latte/es/tags.texy @@ -292,7 +292,7 @@ Véase también [`{ifset block}` |template-inheritance#checking-block-existence] Utilice la condición `{ifset $var}` para determinar si una variable (o múltiples variables) existe y tiene un valor no nulo. En realidad es lo mismo que `if (isset($var))` en PHP. Como cualquier etiqueta de par, esto puede ser escrito en la forma de [n:attribute |syntax#n:attributes], así que vamos a mostrarlo en el ejemplo: ```latte - + ``` diff --git a/latte/fr/filters.texy b/latte/fr/filters.texy index 01cd3a3475..0e063d0655 100644 --- a/latte/fr/filters.texy +++ b/latte/fr/filters.texy @@ -203,8 +203,8 @@ Assure la désinfection des URL. Il vérifie si la variable contient une URL web ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Imprime : @@ -235,7 +235,7 @@ Convertit le contenu en schéma URI de données. Il peut être utilisé pour ins Si nous avons une image dans une variable `$img = Image::fromFile('obrazek.gif')`, alors ```latte - + ``` Imprime par exemple : @@ -416,8 +416,8 @@ Si le lien utilise un schéma différent, tel que `javascript:` ou `data:`, et q ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Imprimés : diff --git a/latte/fr/safety-first.texy b/latte/fr/safety-first.texy index b8fdd5708b..92e1a40c74 100644 --- a/latte/fr/safety-first.texy +++ b/latte/fr/safety-first.texy @@ -351,7 +351,7 @@ Latte vérifie automatiquement si la variable utilisée dans les attributs `src` ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Écrit : diff --git a/latte/fr/syntax.texy b/latte/fr/syntax.texy index eda154bdf5..221453d873 100644 --- a/latte/fr/syntax.texy +++ b/latte/fr/syntax.texy @@ -98,7 +98,7 @@ Imprimés : Ou en utilisant le préfixe `tag-` la fonctionnalité est appliquée sur les balises HTML uniquement : ```latte -

Title

+

Title

``` Selon la valeur de la variable `$url`, ceci s'imprimera : diff --git a/latte/fr/tags.texy b/latte/fr/tags.texy index 2899f54d90..98961782c6 100644 --- a/latte/fr/tags.texy +++ b/latte/fr/tags.texy @@ -292,7 +292,7 @@ Voir aussi [`{ifset block}` |template-inheritance#checking-block-existence] Utilisez la condition `{ifset $var}` pour déterminer si une variable (ou plusieurs variables) existe et a une valeur non nulle. C'est en fait la même chose que `if (isset($var))` en PHP. Comme toute balise de paire, elle peut être écrite sous la forme [n:attribut |syntax#n:attributes], alors montrons-la en exemple : ```latte - + ``` diff --git a/latte/hu/filters.texy b/latte/hu/filters.texy index 6e67a8ec5f..089b313db5 100644 --- a/latte/hu/filters.texy +++ b/latte/hu/filters.texy @@ -203,8 +203,8 @@ Kényszeríti az URL szanálását. Ellenőrzi, hogy a változó tartalmaz-e web ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Nyomtat: @@ -235,7 +235,7 @@ A tartalmat adat URI-sémává alakítja át. Használható képek HTML- vagy CS Legyen egy kép egy változóban `$img = Image::fromFile('obrazek.gif')`, akkor ```latte - + ``` Kinyomtatja például: @@ -416,8 +416,8 @@ Ha a hivatkozás más sémát használ, például `javascript:` vagy `data:`, é ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Nyomtatások: diff --git a/latte/hu/safety-first.texy b/latte/hu/safety-first.texy index f13a4f2ee0..1df495fcb7 100644 --- a/latte/hu/safety-first.texy +++ b/latte/hu/safety-first.texy @@ -351,7 +351,7 @@ A Latte automatikusan ellenőrzi, hogy a `src` vagy a `href` attribútumban hasz ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Írja: diff --git a/latte/hu/syntax.texy b/latte/hu/syntax.texy index f0fdbbae0e..61340ef0e8 100644 --- a/latte/hu/syntax.texy +++ b/latte/hu/syntax.texy @@ -98,7 +98,7 @@ Nyomtatás: A `tag-` előtag használatával a funkciót csak a HTML-címkékre alkalmazzuk: ```latte -

Title

+

Title

``` A `$url` változó értékétől függően ez kiírásra kerül: diff --git a/latte/hu/tags.texy b/latte/hu/tags.texy index 068aae2a75..36306dd87b 100644 --- a/latte/hu/tags.texy +++ b/latte/hu/tags.texy @@ -292,7 +292,7 @@ Lásd még [`{ifset block}` |template-inheritance#checking-block-existence] A `{ifset $var}` feltétel segítségével meghatározhatja, hogy egy változó (vagy több változó) létezik-e, és van-e nem null értékű értéke. Ez tulajdonképpen ugyanaz, mint a `if (isset($var))` a PHP-ben. Mint minden páros tag, ez is leírható [n:attribútum |syntax#n:attributes] formában, ezért mutassuk meg példában: ```latte - + ``` diff --git a/latte/it/filters.texy b/latte/it/filters.texy index 024d7cd79d..28aacbe3e8 100644 --- a/latte/it/filters.texy +++ b/latte/it/filters.texy @@ -203,8 +203,8 @@ Impone la sanitizzazione degli URL. Controlla se la variabile contiene un URL we ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Stampa: @@ -235,7 +235,7 @@ Converte il contenuto in uno schema URI di dati. Può essere usato per inserire Poniamo di avere un'immagine in una variabile `$img = Image::fromFile('obrazek.gif')`, allora ```latte - + ``` Stampa ad esempio: @@ -416,8 +416,8 @@ Se il link utilizza uno schema diverso, come `javascript:` o `data:`, e si è si ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Stampe: diff --git a/latte/it/safety-first.texy b/latte/it/safety-first.texy index 6ed5a293af..e70e37a2af 100644 --- a/latte/it/safety-first.texy +++ b/latte/it/safety-first.texy @@ -351,7 +351,7 @@ Latte controlla automaticamente se la variabile utilizzata negli attributi `src` ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Scrive: diff --git a/latte/it/syntax.texy b/latte/it/syntax.texy index eef05b2ef3..4678d5ee18 100644 --- a/latte/it/syntax.texy +++ b/latte/it/syntax.texy @@ -98,7 +98,7 @@ Stampe: Oppure utilizzando il prefisso `tag-` la funzionalità viene applicata solo ai tag HTML: ```latte -

Title

+

Title

``` A seconda del valore della variabile `$url` verrà stampato: diff --git a/latte/it/tags.texy b/latte/it/tags.texy index 5086c7081e..f3cc4079ba 100644 --- a/latte/it/tags.texy +++ b/latte/it/tags.texy @@ -292,7 +292,7 @@ Vedi anche [`{ifset block}` |template-inheritance#checking-block-existence] Utilizzare la condizione `{ifset $var}` per determinare se una variabile (o più variabili) esiste e ha un valore non nullo. In realtà è la stessa cosa di `if (isset($var))` in PHP. Come ogni tag di coppia, può essere scritto nella forma [n:attribute |syntax#n:attributes], quindi lo mostriamo in un esempio: ```latte - + ``` diff --git a/latte/ja/filters.texy b/latte/ja/filters.texy index d2c6eb78c2..9ffd2c17cc 100644 --- a/latte/ja/filters.texy +++ b/latte/ja/filters.texy @@ -203,8 +203,8 @@ URLのサニタイズ処理を行います。変数が Web URL (つまり HTTP/H ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` 印刷します。 @@ -235,7 +235,7 @@ dataStream(string mimetype = detect) .[filter] 変数`$img = Image::fromFile('obrazek.gif')` に画像を入れておくとします。 ```latte - + ``` 例えば印刷します。 @@ -416,8 +416,8 @@ nocheck .[filter] ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` 印刷物 diff --git a/latte/ja/safety-first.texy b/latte/ja/safety-first.texy index 8af99cf01d..f5d16e3692 100644 --- a/latte/ja/safety-first.texy +++ b/latte/ja/safety-first.texy @@ -351,7 +351,7 @@ Latte は`src` または`href` 属性で使用されている変数に Web URL ( ```latte {var $link = 'javascript:attack()'} -click here +click here ``` 書き込みを行います。 diff --git a/latte/ja/syntax.texy b/latte/ja/syntax.texy index 6aa80cb7a5..f1bf39d6ce 100644 --- a/latte/ja/syntax.texy +++ b/latte/ja/syntax.texy @@ -98,7 +98,7 @@ n:属性 .[#toc-n-attributes] また、`tag-` という接頭辞をつけると、HTML タグにのみ機能が適用されます。 ```latte -

Title

+

Title

``` 変数`$url` の値によって、このように表示されます。 diff --git a/latte/ja/tags.texy b/latte/ja/tags.texy index 0737ec276c..65fc624eb9 100644 --- a/latte/ja/tags.texy +++ b/latte/ja/tags.texy @@ -292,7 +292,7 @@ n:attributesに接頭辞`tag-` を付けることができることをご存知 変数(あるいは複数の変数)が存在し、かつ非 null 値であるかどうかを調べるには、`{ifset $var}` 条件を使用します。これは、実際にはPHPの`if (isset($var))` と同じです。他のペアタグと同様に、[n:attributeの |syntax#n:attributes]形式で書くことができますので、例で紹介しましょう。 ```latte - + ``` diff --git a/latte/pl/filters.texy b/latte/pl/filters.texy index 26522886f7..686040ed31 100644 --- a/latte/pl/filters.texy +++ b/latte/pl/filters.texy @@ -203,8 +203,8 @@ Wymusza sanityzację adresów URL. Sprawdza czy zmienna zawiera adres URL strony ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Wydruki: @@ -235,7 +235,7 @@ Konwertuje zawartość na schemat URI danych. Może być używany do wstawiania Załóżmy, że mamy obrazek w zmiennej `$img = Image::fromFile('obrazek.gif')`, to ```latte - + ``` Drukuje na przykład: @@ -416,8 +416,8 @@ Jeśli link używa innego schematu, takiego jak `javascript:` lub `data:`, i jes ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Wydruki: diff --git a/latte/pl/safety-first.texy b/latte/pl/safety-first.texy index e862574247..a3cae08534 100644 --- a/latte/pl/safety-first.texy +++ b/latte/pl/safety-first.texy @@ -351,7 +351,7 @@ Latte automatycznie sprawdza, czy zmienna użyta w atrybutach `src` lub `href` z ```latte {var $link = 'javascript:attack()'} -klikni +click here ``` Wydruki: diff --git a/latte/pl/syntax.texy b/latte/pl/syntax.texy index 106fc68597..4d4bd4e523 100644 --- a/latte/pl/syntax.texy +++ b/latte/pl/syntax.texy @@ -98,7 +98,7 @@ Zostanie wydrukowany: Możesz też użyć przedrostka `tag-`, aby zastosować tę funkcjonalność do samych znaczników HTML: ```latte -

Title

+

Title

``` Która wychodzi w zależności od zmiennej `$url`: diff --git a/latte/pl/tags.texy b/latte/pl/tags.texy index d0489ba7dd..03beb0ba26 100644 --- a/latte/pl/tags.texy +++ b/latte/pl/tags.texy @@ -292,7 +292,7 @@ Zobacz także. [`{ifset block}` |template-inheritance#Checking-Block-Existence] Użyj warunku `{ifset $var}`, aby określić, czy zmienna (lub wiele zmiennych) istnieje i ma wartość non-*null*. Właściwie to jest to samo, co `if (isset($var))` w PHP. Jak każdy znacznik par, może być również napisany jako [n:atrybut |syntax#n-attributes], więc weźmy to jako przykład: ```latte - + ``` diff --git a/latte/pt/filters.texy b/latte/pt/filters.texy index 29bc3d8f7d..f0e37193ad 100644 --- a/latte/pt/filters.texy +++ b/latte/pt/filters.texy @@ -203,8 +203,8 @@ Impõe a higienização do URL. Verifica se a variável contém uma URL da web ( ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Impressões: @@ -235,7 +235,7 @@ Converte o conteúdo para o esquema URI de dados. Pode ser usado para inserir im Vamos ter uma imagem em uma variável `$img = Image::fromFile('obrazek.gif')`, então ```latte - + ``` Impressões, por exemplo: @@ -416,8 +416,8 @@ Se o link usa um esquema diferente, como `javascript:` ou `data:`, e você tem c ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Impressões: diff --git a/latte/pt/safety-first.texy b/latte/pt/safety-first.texy index e9b0a37e5c..572c4a3732 100644 --- a/latte/pt/safety-first.texy +++ b/latte/pt/safety-first.texy @@ -351,7 +351,7 @@ Latte verifica automaticamente se a variável utilizada nos atributos `src` ou ` ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Escreve: diff --git a/latte/pt/syntax.texy b/latte/pt/syntax.texy index 47772ddec6..e9c51124b7 100644 --- a/latte/pt/syntax.texy +++ b/latte/pt/syntax.texy @@ -98,7 +98,7 @@ Impressões: Ou usando o prefixo `tag-`, a funcionalidade é aplicada apenas nas tags HTML: ```latte -

Title

+

Title

``` Dependendo do valor da variável `$url`, isto será impresso: diff --git a/latte/pt/tags.texy b/latte/pt/tags.texy index 96620fc6f4..83bf532ed1 100644 --- a/latte/pt/tags.texy +++ b/latte/pt/tags.texy @@ -292,7 +292,7 @@ Veja também [`{ifset block}` |template-inheritance#checking-block-existence] Use a condição `{ifset $var}` para determinar se uma variável (ou múltiplas variáveis) existe e tem um valor não-nulo. Na verdade é o mesmo que `if (isset($var))` em PHP. Como qualquer tag de par, isto pode ser escrito na forma de [n:atributo |syntax#n:attributes], então vamos mostrá-lo no exemplo: ```latte - + ``` diff --git a/latte/ro/filters.texy b/latte/ro/filters.texy index 3570525f3c..6a247bf6ab 100644 --- a/latte/ro/filters.texy +++ b/latte/ro/filters.texy @@ -203,8 +203,8 @@ Aplică igienizarea URL-urilor. Verifică dacă variabila conține un URL web (a ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Imprimă: @@ -235,7 +235,7 @@ Convertește conținutul în schema URI de date. Poate fi utilizat pentru a inse Să avem o imagine într-o variabilă `$img = Image::fromFile('obrazek.gif')`, atunci ```latte - + ``` Se imprimă de exemplu: @@ -416,8 +416,8 @@ Dacă link-ul utilizează o schemă diferită, cum ar fi `javascript:` sau `data ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Tipărituri: diff --git a/latte/ro/safety-first.texy b/latte/ro/safety-first.texy index fa2cb883f5..8025c926d4 100644 --- a/latte/ro/safety-first.texy +++ b/latte/ro/safety-first.texy @@ -351,7 +351,7 @@ Latte verifică automat dacă variabila utilizată în atributele `src` sau `hre ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Scrie: diff --git a/latte/ro/syntax.texy b/latte/ro/syntax.texy index baefef14b5..003b2d7016 100644 --- a/latte/ro/syntax.texy +++ b/latte/ro/syntax.texy @@ -98,7 +98,7 @@ Imprimă: Sau prin utilizarea prefixului `tag-`, funcționalitatea se aplică numai la etichetele HTML: ```latte -

Title

+

Title

``` În funcție de valoarea variabilei `$url`, se va imprima: diff --git a/latte/ro/tags.texy b/latte/ro/tags.texy index 0e59e6a9ad..141b10f975 100644 --- a/latte/ro/tags.texy +++ b/latte/ro/tags.texy @@ -292,7 +292,7 @@ A se vedea și [`{ifset block}` |template-inheritance#checking-block-existence] Utilizați condiția `{ifset $var}` pentru a determina dacă o variabilă (sau mai multe variabile) există și dacă are o valoare diferită de cea nulă. De fapt, este același lucru cu `if (isset($var))` în PHP. La fel ca orice tag pair, aceasta poate fi scrisă sub forma [n:attribute |syntax#n:attributes], așa că haideți să o arătăm în exemplu: ```latte - + ``` diff --git a/latte/ru/filters.texy b/latte/ru/filters.texy index 404481160b..13db5a8302 100644 --- a/latte/ru/filters.texy +++ b/latte/ru/filters.texy @@ -203,8 +203,8 @@ checkUrl .[filter] ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Печатает: @@ -235,7 +235,7 @@ dataStream(string mimetype = detect) .[filter] Пусть у вас есть изображение в переменной `$img = Image::fromFile('obrazek.gif')`, тогда ```latte - + ``` Печатает, например: @@ -416,8 +416,8 @@ nocheck .[filter] ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Печатные издания: diff --git a/latte/ru/safety-first.texy b/latte/ru/safety-first.texy index b2da171ab4..35b52cdb20 100644 --- a/latte/ru/safety-first.texy +++ b/latte/ru/safety-first.texy @@ -351,7 +351,7 @@ Latte автоматически проверяет, содержит ли пе ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Пишет: diff --git a/latte/ru/syntax.texy b/latte/ru/syntax.texy index 8f30d3b53a..a0408ab285 100644 --- a/latte/ru/syntax.texy +++ b/latte/ru/syntax.texy @@ -98,7 +98,7 @@ Prints: Или с помощью префикса `tag-` функциональность применяется только к HTML-тегам: ```latte -

Title

+

Title

``` В зависимости от значения переменной `$url` будет выведено следующее: diff --git a/latte/ru/tags.texy b/latte/ru/tags.texy index 620280e2d7..9ba8f55fc7 100644 --- a/latte/ru/tags.texy +++ b/latte/ru/tags.texy @@ -292,7 +292,7 @@ Age: {date('Y') - $birth}
Используйте условие `{ifset $var}`, чтобы определить, существует ли переменная (или несколько переменных) и имеет ли она ненулевое значение. На самом деле это то же самое, что и `if (isset($var))` в PHP. Как и любой парный тег, этот может быть записан в виде [n:attribute |syntax#n-attributes], поэтому покажем его на примере: ```latte - + ``` diff --git a/latte/sl/filters.texy b/latte/sl/filters.texy index f031d784fb..a9734fca0f 100644 --- a/latte/sl/filters.texy +++ b/latte/sl/filters.texy @@ -203,8 +203,8 @@ Uveljavlja čiščenje URL-jev. Preveri, ali spremenljivka vsebuje spletni naslo ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Izpisuje: @@ -235,7 +235,7 @@ Pretvori vsebino v podatkovno shemo URI. Uporablja se lahko za vstavljanje slik Imejmo sliko v spremenljivki `$img = Image::fromFile('obrazek.gif')`, potem ```latte - + ``` natisne na primer: @@ -416,8 +416,8 @@ Preprečuje samodejno prečiščevanje URL. Latte [samodejno preveri, |safety-fi ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Izpisi: diff --git a/latte/sl/safety-first.texy b/latte/sl/safety-first.texy index 47770a5dac..e6fd55b0db 100644 --- a/latte/sl/safety-first.texy +++ b/latte/sl/safety-first.texy @@ -351,7 +351,7 @@ Latte samodejno preveri, ali spremenljivka, uporabljena v atributih `src` ali `h ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Napiše: diff --git a/latte/sl/syntax.texy b/latte/sl/syntax.texy index 0896381aa7..c53cb2e597 100644 --- a/latte/sl/syntax.texy +++ b/latte/sl/syntax.texy @@ -98,7 +98,7 @@ Izpisi: S predpono `tag-` se funkcionalnost uporablja samo za oznake HTML: ```latte -

Title

+

Title

``` Glede na vrednost spremenljivke `$url` se izpiše: diff --git a/latte/sl/tags.texy b/latte/sl/tags.texy index 7203fb69fd..5b497fe2de 100644 --- a/latte/sl/tags.texy +++ b/latte/sl/tags.texy @@ -292,7 +292,7 @@ Glej tudi [`{ifset block}` |template-inheritance#checking-block-existence] Pogoj `{ifset $var}` uporabite za ugotavljanje, ali spremenljivka (ali več spremenljivk) obstaja in ima vrednost, ki ni ničelna. To je pravzaprav enako kot `if (isset($var))` v PHP. Kot vsako parno oznako lahko tudi to zapišemo v obliki [n:atribut |syntax#n:attributes], zato jo prikažimo na primeru: ```latte - + ``` diff --git a/latte/tr/filters.texy b/latte/tr/filters.texy index c5715649be..0d4600fbba 100644 --- a/latte/tr/filters.texy +++ b/latte/tr/filters.texy @@ -203,8 +203,8 @@ URL sanitizasyonunu zorlar. Değişkenin bir web URL'si (yani HTTP/HTTPS protoko ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Baskılar: @@ -235,7 +235,7 @@ dataStream(string mimetype = detect) .[filter] `$img = Image::fromFile('obrazek.gif')` değişkeninde bir görüntüye sahip olalım, sonra ```latte - + ``` Örneğin baskılar: @@ -416,8 +416,8 @@ Bağlantı `javascript:` veya `data:` gibi farklı bir şema kullanıyorsa ve i ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Baskılar: diff --git a/latte/tr/safety-first.texy b/latte/tr/safety-first.texy index bc798290c4..767b38c305 100644 --- a/latte/tr/safety-first.texy +++ b/latte/tr/safety-first.texy @@ -351,7 +351,7 @@ Latte, `src` veya `href` niteliklerinde kullanılan değişkenin bir web URL'si ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Yazıyor: diff --git a/latte/tr/syntax.texy b/latte/tr/syntax.texy index 6e2b0e4925..805f3bc168 100644 --- a/latte/tr/syntax.texy +++ b/latte/tr/syntax.texy @@ -98,7 +98,7 @@ Baskılar: Veya `tag-` önekini kullanarak işlevsellik yalnızca HTML etiketlerine uygulanır: ```latte -

Title

+

Title

``` `$url` değişkeninin değerine bağlı olarak bu yazdırılacaktır: diff --git a/latte/tr/tags.texy b/latte/tr/tags.texy index f0f09fb3e3..e4c5096392 100644 --- a/latte/tr/tags.texy +++ b/latte/tr/tags.texy @@ -292,7 +292,7 @@ Ayrıca bakınız [`{ifset block}` |template-inheritance#checking-block-existenc Bir değişkenin (veya birden fazla değişkenin) var olup olmadığını ve boş olmayan bir değere sahip olup olmadığını belirlemek için `{ifset $var}` koşulunu kullanın. Aslında PHP'deki `if (isset($var))` ile aynıdır. Herhangi bir çift etiketi gibi, bu da [n:attribute |syntax#n:attributes] şeklinde yazılabilir, bu yüzden örnek olarak gösterelim: ```latte - + ``` diff --git a/latte/uk/filters.texy b/latte/uk/filters.texy index b3fe48bcc2..21b3d55fb6 100644 --- a/latte/uk/filters.texy +++ b/latte/uk/filters.texy @@ -203,8 +203,8 @@ checkUrl .[filter] ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Виводить на друк: @@ -235,7 +235,7 @@ dataStream(string mimetype = detect) .[filter] Нехай у змінній є зображення `$img = Image::fromFile('obrazek.gif')`, тоді ```latte - + ``` Виводить, наприклад: @@ -416,8 +416,8 @@ nocheck .[filter] ```latte {var $link = 'javascript:window.close()'} -checked -unchecked +checked +unchecked ``` Відбитки: diff --git a/latte/uk/safety-first.texy b/latte/uk/safety-first.texy index 46ffe3c360..567c5010b6 100644 --- a/latte/uk/safety-first.texy +++ b/latte/uk/safety-first.texy @@ -351,7 +351,7 @@ Latte автоматично перевіряє, чи містить змінн ```latte {var $link = 'javascript:attack()'} -click here +click here ``` Пише: diff --git a/latte/uk/syntax.texy b/latte/uk/syntax.texy index b1636f38ba..6cfd21070d 100644 --- a/latte/uk/syntax.texy +++ b/latte/uk/syntax.texy @@ -98,7 +98,7 @@ Prints: Або за допомогою префікса `tag-` функціональність застосовується тільки до HTML-тегів: ```latte -

Title

+

Title

``` Залежно від значення змінної `$url` буде виведено таке: diff --git a/latte/uk/tags.texy b/latte/uk/tags.texy index 802bbbd888..5400052a93 100644 --- a/latte/uk/tags.texy +++ b/latte/uk/tags.texy @@ -292,7 +292,7 @@ Age: {date('Y') - $birth}
Використовуйте умову `{ifset $var}`, щоб визначити, чи існує змінна (або кілька змінних) і чи має вона ненульове значення. Насправді це те саме, що й `if (isset($var))` у PHP. Як і будь-який парний тег, цей може бути записаний у вигляді [n:attribute |syntax#n-attributes], тому покажемо його на прикладі: ```latte - + ```