1 <%- $templates['doctype'] %
>
2 <html xmlns=
"http://www.w3.org/1999/xhtml" lang=
"<%- $stylevar['lang'] %>" xml:
lang=
"<%- $stylevar['lang'] %>" dir=
"<%- $stylevar['lang_dir'] %>">
4 <%- $templates['headinclude'] %
>
5 <title><%- $templates['title'] %
> - <%- T('Manage Languages') %
></title>
10 <%- $templates['nav'] %
>
12 <div id=
"title"><%- T('Manage Languages') %
></div>
18 <form action=
"language.php" method=
"post">
19 <input type=
"hidden" name=
"do" value=
"<%- ($language ? 'update' : 'insert') %>" />
20 <% if ($language): %
><input type=
"hidden" name=
"languageid" value=
"<%- $language['languageid'] %>" /><% endif %
>
23 <legend><%- ($language ? T('Edit Language') : T('New Language')) %
></legend>
27 <dt><label for=
"l_title"><%- T('Title') %
></label></dt>
28 <dd><input type=
"text" name=
"title" value=
"<%- $language['title'] %>" id=
"l_title" /></dd>
31 <label for=
"langcode">
32 <%- T('Gettext Language Code') %
>
33 <dfn><strong><%- T('Format') %
>:
</strong> <em><a href=
"http://www.gnu.org/software/gettext/manual/html_chapter/gettext_15.html">language
</a></em>_
<em><a href=
"http://www.gnu.org/software/gettext/manual/html_chapter/gettext_16.html">COUNTRY
</a></em></dfn>
36 <dd><input type=
"text" name=
"langcode" value=
"<%- $language['langcode'] %>" id=
"langcode" /></dd>
38 <dt><label for=
"charset"><%- T('Character Set') %
></label></dt>
39 <dd><input type=
"text" name=
"charset" value=
"<%- $language['charset'] %>" id=
"charset" /></dd>
41 <dt><label for=
"direction"><%- T('Text Direction') %
></label></dt>
43 <select name=
"direction" id=
"direction">
44 <option value=
"ltr"<%- ($language['direction'] == 'ltr' ? BSDecorator::HTML_SELECTED : '') %
>><%- T('Left-to-Right') %
></option>
45 <option value=
"rtl"<%- ($language['direction'] == 'rtl' ? BSDecorator::HTML_SELECTED : '') %
>><%- T('Right-to-Left') %
></option>
49 <dt><label for=
"userselect"><%- T('User Selectable') %
></label></dt>
50 <dd><%- BSDecorator::yesno('userselect', $language['userselect']) %
></dd>
56 <input type=
"submit" value=
"<%- T('Save') %>" />
57 <input type=
"reset" value=
"<%- T('Reset') %>" />
66 <script type=
"text/javascript"> nav_init(
"system",
"system_language");
</script>