// AdminTranslations: fix toolbar and remove google translate
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11429 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -32,10 +32,10 @@
|
||||
{l s='Errors to translate'} : <b>{$count}</b>
|
||||
{$limit_warning}
|
||||
{if !$suoshin_exceeded}
|
||||
<form method="post" action="{$url_submit}" class="form">
|
||||
{$auto_translate}
|
||||
<form method="post" id="{$table}_form" action="{$url_submit}" class="form">
|
||||
{*{$auto_translate}$*}
|
||||
<input type="hidden" name="lang" value="{$lang}" />
|
||||
<input type="submit" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" />
|
||||
<input type="submit" id="{$table}_form_submit_btn" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" />
|
||||
<br /><br />
|
||||
<table cellpadding="0" cellspacing="0" class="table">
|
||||
{foreach $errorsArray as $key => $value}
|
||||
@@ -44,8 +44,7 @@
|
||||
<td style="width: 430px">= <input type="text" name="{$key|md5}" value="{$value|regex_replace:'#"#':'"'|stripslashes}" style="width: 380px"></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table><br />
|
||||
<input type="submit" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" />
|
||||
</table>
|
||||
</form>
|
||||
{/if}
|
||||
|
||||
|
||||
@@ -33,11 +33,11 @@
|
||||
<p>{l s='total missing expresssions:'} {$missing_translations|array_sum} </p>
|
||||
{$limit_warning}
|
||||
{if !$suoshin_exceeded}
|
||||
<form method="post" action="{$url_submit}" class="form">
|
||||
<form method="post" id="{$table}_form" action="{$url_submit}" class="form">
|
||||
{$toggle_button}
|
||||
{include file="translations/auto_translate.tpl"}
|
||||
{*{include file="translations/auto_translate.tpl"}*}
|
||||
<input type="hidden" name="lang" value="{$lang}" />
|
||||
<input type="submit" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" />
|
||||
<input type="submit" id="{$table}_form_submit_btn" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" />
|
||||
<br /><br />
|
||||
{foreach $tabsArray as $k => $newLang}
|
||||
{if !empty($newLang)}
|
||||
@@ -71,7 +71,6 @@
|
||||
</fieldset><br />
|
||||
{/if}
|
||||
{/foreach}
|
||||
<br /><input type="submit" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" /></form>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
@@ -33,12 +33,12 @@
|
||||
<h2>{l s='Language'} : {$lang} - {$translation_type}</h2>
|
||||
{l s='Click on the titles to open fieldsets'}.<br /><br />
|
||||
{if !$suoshin_exceeded}
|
||||
<form method="post" action="{$url_submit}" class="form">
|
||||
<form method="post" id="{$table}_form" action="{$url_submit}" class="form">
|
||||
{$toggle_button}
|
||||
<input type="hidden" name="lang" value="{$lang}" />
|
||||
<input type="hidden" name="type" value="{$type}" />
|
||||
<input type="submit" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" />
|
||||
<input type="submit" name="submitTranslations{$type|ucfirst}AndStay" value="{l s='Update and stay'}" class="button" />
|
||||
<input type="submit" id="{$table}_form_submit_btn" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" />
|
||||
{*<input type="submit" name="submitTranslations{$type|ucfirst}AndStay" value="{l s='Update and stay'}" class="button" />*}
|
||||
<br /><br />
|
||||
|
||||
{l s='Core e-mails:'}
|
||||
@@ -60,9 +60,6 @@
|
||||
{$mails['display']}
|
||||
{/foreach}
|
||||
{/if}
|
||||
<br />
|
||||
<input type="submit" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" />
|
||||
<input type="submit" name="submitTranslations{$type|ucfirst}AndStay" value="{l s='Update and stay'}" class="button" />
|
||||
</form>
|
||||
{/if}
|
||||
|
||||
|
||||
@@ -32,11 +32,11 @@
|
||||
{l s='Expressions to translate'} : <b>{$count}</b>. {l s='Click on the titles to open fieldsets'}.<br /><br />
|
||||
{$limit_warning}
|
||||
{if !$suoshin_exceeded}
|
||||
<form method="post" action="{$url_submit}" class="form">
|
||||
<form method="post" id="{$table}_form" action="{$url_submit}" class="form">
|
||||
{$toggle_button}
|
||||
{include file="translations/auto_translate.tpl"}
|
||||
{*{include file="translations/auto_translate.tpl"}*}
|
||||
<input type="hidden" name="lang" value="{$lang}" />
|
||||
<input type="submit" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" />
|
||||
<input type="submit" id="{$table}_form_submit_btn" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" />
|
||||
<br /><br />
|
||||
|
||||
{if count($modules_translations) > 1}
|
||||
@@ -92,7 +92,6 @@
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
<br /><input type="submit" name="submitTranslations{$type|ucfirst}" value="{l s='Update translations'}" class="button" /></form>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
Reference in New Issue
Block a user