remove old readme
[atutor.git] / docs / themes / simplified-desktop / admin / system_preferences / language_add.tmpl.php
1 <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
2 <input type="hidden" name="import" value="1" />
3 <div class="input-form" style="width:95%">
4         <div class="row">
5                 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="code"><?php echo _AT('lang_code'); ?></label><br />
6                 <input id="code" name="code" type="text" size="2" maxlength="2" class="formfield" value="<?php echo $_POST['code']; ?>" />
7         </div>
8
9         <div class="row">
10                 <label for="locale"><?php echo _AT('locale'); ?></label><br />
11                 <input id="locale" name="locale" type="text" size="2" maxlength="2" class="formfield" value="<?php echo $_POST['locale']; ?>" />
12         </div>
13
14         <div class="row">
15                 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="charset"><?php echo _AT('charset'); ?></label><br />
16                 <input id="charset" name="charset" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['charset']; ?>" />
17         </div>
18
19         <div class="row">
20                 <label for="ltr"><?php echo _AT('direction'); ?></label><br />
21                 <?php 
22                         if ($_POST['direction'] == 'rtl') { 
23                                 $rtl = 'checked="checked"';  
24                                 $ltr='';  
25                         } else { 
26                                 $rtl = '';  
27                                 $ltr='checked="checked"'; 
28                         }
29                 ?>
30                 <input id="ltr" name="direction" type="radio" value="ltr" <?php echo $ltr; ?> /><label for="ltr"><?php echo _AT('ltr'); ?></label>, <input id="rtl" name="direction" type="radio" value="rtl" <?php echo $rtl; ?> /><label for="rtl"><?php echo _AT('rtl'); ?></label>
31         </div>
32
33         <div class="row">
34                 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="reg_exp"><?php echo _AT('reg_exp'); ?></label><br />
35                 <input id="reg_exp" name="reg_exp" type="text" size="31" class="formfield" value="<?php echo $_POST['reg_exp']; ?>" />
36         </div>
37
38         <div class="row">
39                 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="nname"><?php echo _AT('name_in_language'); ?></label><br />
40                 <input id="nname" name="native_name" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['native_name']; ?>" />
41         </div>
42
43         <div class="row">
44                 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="ename"><?php echo _AT('name_in_english'); ?></label><br />
45                 <input id="ename" name="english_name" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['english_name'];?>" />
46         </div>
47
48
49         <div class="row buttons">
50                 <input type="submit" name="submit" value="<?php echo _AT('submit'); ?>" /> <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>" />           
51         </div>
52 </div>
53 </form>