summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-26 17:15:02 +0000
committerlsces <lester@lsces.co.uk>2026-03-26 17:15:02 +0000
commitab2c9124c35d7bfbc5241ff618ae557268776ae9 (patch)
tree7a424f1815ef296aa34537e9e45ff90539e462b5
parent1851dc9b5de69e4833bbc12c7ac552d8fbd20e19 (diff)
downloadlanguages-ab2c9124c35d7bfbc5241ff618ae557268776ae9.tar.gz
languages-ab2c9124c35d7bfbc5241ff618ae557268776ae9.tar.bz2
languages-ab2c9124c35d7bfbc5241ff618ae557268776ae9.zip
Smarty style changes
-rwxr-xr-x[-rw-r--r--]templates/edit_languages.tpl2
-rwxr-xr-x[-rw-r--r--]templates/translate_google_ajax_inc.tpl4
-rwxr-xr-x[-rw-r--r--]templates/translate_strings.tpl2
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/edit_languages.tpl b/templates/edit_languages.tpl
index 240bbe7..8cde5bf 100644..100755
--- a/templates/edit_languages.tpl
+++ b/templates/edit_languages.tpl
@@ -35,7 +35,7 @@
</div>
<div class="form-group">
{forminput label="checkbox"}
- <input type="checkbox" name="is_disabled" id="is_disabled" {if $isDisabled || $defaults.is_disabled}checked="checked"{/if} value="y" />Disabled
+ <input type="checkbox" name="is_disabled" id="is_disabled" {if $isDisabled or $defaults.is_disabled}checked="checked"{/if} value="y" />Disabled
{formhelp note="Disabling a language will remove it from available language menus."}
{/forminput}
</div>
diff --git a/templates/translate_google_ajax_inc.tpl b/templates/translate_google_ajax_inc.tpl
index 46be68a..1eff580 100644..100755
--- a/templates/translate_google_ajax_inc.tpl
+++ b/templates/translate_google_ajax_inc.tpl
@@ -26,8 +26,8 @@ function updateTranslation( pResponse ) {
function autoTranslateEmpty() {
var elem = document.getElementById('translateform').elements;
for(var i = 0; i < elem.length; i++) {
- if( elem[i].type == 'text' || elem[i].type == 'textarea' ) {
- if( !elem[i].value && elem[i].id ) {
+ if( elem[i].type == 'text' or elem[i].type == 'textarea' ) {
+ if( !elem[i].value and elem[i].id ) {
autoHashArray.push( elem[i].id );
}
}
diff --git a/templates/translate_strings.tpl b/templates/translate_strings.tpl
index 9fe5259..f0adba2 100644..100755
--- a/templates/translate_strings.tpl
+++ b/templates/translate_strings.tpl
@@ -30,7 +30,7 @@
{if $editLang}
{legend legend=$languages.$lang.full_name}
{foreach from=$tranStrings key=sourceHash item=tran}
- {if $allTrans || (!$gBitSystem->isFeatureActive( 'i18n_track_translation_usage' ) || $tran.version)}
+ {if $allTrans or (!$gBitSystem->isFeatureActive( 'i18n_track_translation_usage' ) or $tran.version)}
<div class="{if !$tran.version and !allTrans} warning{/if}">
{forminput}
<a href="{$smarty.const.LANGUAGES_PKG_URL}master_strings.php?source_hash={$sourceHash}">{$tran.source|escape|nl2br}</a><br/>