From ab2c9124c35d7bfbc5241ff618ae557268776ae9 Mon Sep 17 00:00:00 2001 From: lsces Date: Thu, 26 Mar 2026 17:15:02 +0000 Subject: Smarty style changes --- templates/edit_languages.tpl | 2 +- templates/translate_google_ajax_inc.tpl | 4 ++-- templates/translate_strings.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 templates/edit_languages.tpl mode change 100644 => 100755 templates/translate_google_ajax_inc.tpl mode change 100644 => 100755 templates/translate_strings.tpl diff --git a/templates/edit_languages.tpl b/templates/edit_languages.tpl old mode 100644 new mode 100755 index 240bbe7..8cde5bf --- a/templates/edit_languages.tpl +++ b/templates/edit_languages.tpl @@ -35,7 +35,7 @@
{forminput label="checkbox"} - Disabled + Disabled {formhelp note="Disabling a language will remove it from available language menus."} {/forminput}
diff --git a/templates/translate_google_ajax_inc.tpl b/templates/translate_google_ajax_inc.tpl old mode 100644 new mode 100755 index 46be68a..1eff580 --- 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 old mode 100644 new mode 100755 index 9fe5259..f0adba2 --- 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)}
{forminput} {$tran.source|escape|nl2br}
-- cgit v1.3