diff options
| author | bitweaver.org <bitweaver@users.sourceforge.net> | 2005-06-19 04:55:13 +0000 |
|---|---|---|
| committer | bitweaver.org <bitweaver@users.sourceforge.net> | 2005-06-19 04:55:13 +0000 |
| commit | 396ab382b5cac2adc58e92429b7b44ba07f2cb84 (patch) | |
| tree | 4c56dc7f1ce4b2287dd8b180668f4deca342f993 /templates/import_languages.tpl | |
| download | languages-396ab382b5cac2adc58e92429b7b44ba07f2cb84.tar.gz languages-396ab382b5cac2adc58e92429b7b44ba07f2cb84.tar.bz2 languages-396ab382b5cac2adc58e92429b7b44ba07f2cb84.zip | |
IMPORT TikiPro CLYDE FINAL
Diffstat (limited to 'templates/import_languages.tpl')
| -rw-r--r-- | templates/import_languages.tpl | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/templates/import_languages.tpl b/templates/import_languages.tpl new file mode 100644 index 0000000..838b87f --- /dev/null +++ b/templates/import_languages.tpl @@ -0,0 +1,87 @@ +{strip} +<div class="floaticon">{bithelp}</div> + +<div class="admin languages"> + <div class="header"> + <h1>{tr}Import Languages{/tr}</h1> + </div> + + {formfeedback hash=$impmsg} + + <div class="body"> + {jstabs} + {jstab title="Import Languages"} + {form legend="Import languages"} + <div class="row"> + {formlabel label="Select the languages to Import"} + {forminput} + {foreach from=$impLanguages key=langCode item=lang} + <label><input type="checkbox" name="imp_languages[]" value="{$langCode}" /> {$lang.full_name}</label><br/> + {/foreach} + + {if $gBitUser->isAdmin()} + <br/> + <label><input type="checkbox" name="import_master" value="1" /> Master Strings</label><br/> + {formhelp note="The English strings file will be used to set up the language database and will be used as a reference for translations."} + {/if} + {/forminput} + </div> + + <div class="row"> + {formlabel label="Options"} + {forminput} + <label><input type="radio" name="overwrite" value="0" checked="checked" /> + {tr}Do not import string if it has been changed in the local database{/tr}</label> + <br/> + <label><input type="radio" name="overwrite" value="1" /> + {tr}Overwrite changes in the local database{/tr}</label> + {/forminput} + </div> + + <div class="row submit"> + <input type="submit" name="import" value="{tr}Import{/tr}" /> + </div> + {/form} + {/jstab} + + {jstab title="Export Languages"} + {form legend="Export language"} + <div class="row"> + {formlabel label="Select the language to Export" for="exp_lang"} + {forminput} + <select name="export_lang_code" id="export_lang_code"> + {foreach from=$expLanguages key=langCode item=lang} + <option value="{$langCode}" {if $exp_language eq $langCode}selected="selected"{/if}>{$lang.full_name}</option> + {/foreach} + </select> + {formhelp note=""} + {/forminput} + </div> + + <div class="row"> + {formlabel label="Export All Translations" for="all_trans"} + {forminput} + <input type="checkbox" name="all_trans" id="all_trans" {if $allTrans}checked="checked"{/if} value="y" /> + {formhelp note="This will export all strings, even ones that are not in use. if you have not modified these strings, there isn't really much point in including them."} + {/forminput} + </div> + + <div class="row"> + {formlabel label="Destination" for="is_disabled"} + {forminput} + <input type="radio" name="target" value="temp" />Save to temporary file<br/> + {formhelp note="This will save the file to a temporary location on the server."} + <input type="radio" name="target" value="download" checked="checked" />Download translation file<br/> + {formhelp note="Save this to languages/lang/(lang_code)/language.php where lang_code is the language your are downloading."} + {/forminput} + </div> + + <div class="row submit"> + <input type="submit" name="export" value="{tr}Export{/tr}" /> + </div> + {/form} + {/jstab} + {/jstabs} + </div><!-- end .body --> +</div><!-- end .languages --> +{/strip} |
