diff options
| -rwxr-xr-x[-rw-r--r--] | templates/edit_languages.tpl | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | templates/translate_google_ajax_inc.tpl | 4 | ||||
| -rwxr-xr-x[-rw-r--r--] | templates/translate_strings.tpl | 2 |
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/> |
