summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-10 23:21:13 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-10 23:21:13 +0000
commit354c4388d0f274b45db77516a8364af2f56e66bc (patch)
tree0ba211d395ff74e8306191fdbf0373c67ca28c0c /templates
parent060f1df3dc2fc4ccd79d48d3bcc10fb28c11cc7d (diff)
downloadlanguages-354c4388d0f274b45db77516a8364af2f56e66bc.tar.gz
languages-354c4388d0f274b45db77516a8364af2f56e66bc.tar.bz2
languages-354c4388d0f274b45db77516a8364af2f56e66bc.zip
remove the source_id column and replace it with a language map in languages: i18n_content_translation_map
Diffstat (limited to 'templates')
-rw-r--r--templates/select_translations.tpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/select_translations.tpl b/templates/select_translations.tpl
new file mode 100644
index 0000000..991ea5a
--- /dev/null
+++ b/templates/select_translations.tpl
@@ -0,0 +1,18 @@
+{* don't show if this is the page creation *}
+{if $translationList.from}
+ <div class="row">
+ {formlabel label="Translate this page" for=""}
+ {forminput}
+ From: {html_options values=$translationsList.from options=$translationsList.from name="translate[from]"}
+ &nbsp;&nbsp;&nbsp; To: {html_options values=$translationsList.to options=$translationsList.to name="translate[to]"}
+ <br />
+ <input type="submit" name="translate[submit]" value="{tr}Translate{/tr}" />
+ <input type="submit" name="translate[google]" value="{tr}Google translation{/tr}" />
+ {formhelp note="If you feel like translating this page into a different language, please select the correct languages above and hit <strong>translate</strong>."}
+ {/forminput}
+ </div>
+{else}
+ there is no translation data in the table yet and therefore we can't select what language to translate from.
+ we'll need a dropdown to set the language of any given page when editing it.
+ for now, i think we should just set the lang_code column in liberty_content to whatever the site language is.
+{/if}