summaryrefslogtreecommitdiff
path: root/templates/admin_languages.tpl
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2011-05-03 00:00:20 -0400
committerspiderr <spider@viovio.com>2011-05-03 00:00:20 -0400
commit59c411475fd0689464c9dd043b0d34ce6001c1c1 (patch)
treec5d0bf0c4e29c22db5555a413be2bc35093c8741 /templates/admin_languages.tpl
parent0c629fd10a6ea3fc8be98a1f82de2bb16dad26cb (diff)
downloadlanguages-59c411475fd0689464c9dd043b0d34ce6001c1c1.tar.gz
languages-59c411475fd0689464c9dd043b0d34ce6001c1c1.tar.bz2
languages-59c411475fd0689464c9dd043b0d34ce6001c1c1.zip
add auto translate for master strings; genericize auto javascript; ajax returns null when translation == masterstring
Diffstat (limited to 'templates/admin_languages.tpl')
-rw-r--r--templates/admin_languages.tpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/admin_languages.tpl b/templates/admin_languages.tpl
index 6766baf..9aa9eed 100644
--- a/templates/admin_languages.tpl
+++ b/templates/admin_languages.tpl
@@ -23,6 +23,15 @@
</div>
{/foreach}
+ <div class="row">
+ {formlabel label="Google API Key" for="google_api_key"}
+ {forminput}
+ {biticon iname="google-favicon" ipackage="languages" iexplain="Auto-Translate"}
+ <input type="text" name="google_api_key" value="{$gBitSystem->getConfig('google_api_key')}" style="width:30em"/>
+ {formhelp note="Enter your <a href='http://www.google.com/search?q=Google+translate+API'>Google Translate API KEY</a>"}
+ {/forminput}
+ </div>
+
<div class="row submit">
<input type="submit" name="prefs" value="{tr}Change Settings{/tr}" />
</div>