http://www.atutor.ca/atutor/mantis/view.php?id=2761
authorjoel kronenberg <joel.kronenberg@utoronto.ca>
Thu, 26 Oct 2006 16:42:56 +0000 (16:42 -0000)
committerjoel kronenberg <joel.kronenberg@utoronto.ca>
Thu, 26 Oct 2006 16:42:56 +0000 (16:42 -0000)
docs/admin/language_add.php
docs/admin/language_edit.php

index d9935b7..2aa8e72 100644 (file)
@@ -43,7 +43,7 @@ require(AT_INCLUDE_PATH.'header.inc.php'); ?>
 <input type="hidden" name="import" value="1" />
 <div class="input-form" style="width:60%">
        <div class="row">
-               <label for="code"><?php echo _AT('lang_code'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="code"><?php echo _AT('lang_code'); ?></label><br />
                <input id="code" name="code" type="text" size="2" maxlength="2" class="formfield" value="<?php echo $_POST['code']; ?>" />
        </div>
 
@@ -53,7 +53,7 @@ require(AT_INCLUDE_PATH.'header.inc.php'); ?>
        </div>
 
        <div class="row">
-               <label for="charset"><?php echo _AT('charset'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="charset"><?php echo _AT('charset'); ?></label><br />
                <input id="charset" name="charset" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['charset']; ?>" />
        </div>
 
@@ -72,17 +72,17 @@ require(AT_INCLUDE_PATH.'header.inc.php'); ?>
        </div>
 
        <div class="row">
-               <label for="reg_exp"><?php echo _AT('reg_exp'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="reg_exp"><?php echo _AT('reg_exp'); ?></label><br />
                <input id="reg_exp" name="reg_exp" type="text" size="31" class="formfield" value="<?php echo $_POST['reg_exp']; ?>" />
        </div>
 
        <div class="row">
-               <label for="nname"><?php echo _AT('name_in_language'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="nname"><?php echo _AT('name_in_language'); ?></label><br />
                <input id="nname" name="native_name" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['native_name']; ?>" />
        </div>
 
        <div class="row">
-               <label for="ename"><?php echo _AT('name_in_english'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="ename"><?php echo _AT('name_in_english'); ?></label><br />
                <input id="ename" name="english_name" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['english_name'];?>" />
        </div>
 
index b26d344..3f518cc 100644 (file)
@@ -69,7 +69,7 @@ if (!isset($_POST['submit'])) {
 
 <div class="input-form" style="width:60%">
        <div class="row">
-               <label for="code"><?php echo _AT('lang_code'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="code"><?php echo _AT('lang_code'); ?></label><br />
                <input id="code" name="code" type="text" size="2" maxlength="2" class="formfield" value="<?php echo $_POST['code']; ?>" />
        </div>
 
@@ -79,7 +79,7 @@ if (!isset($_POST['submit'])) {
        </div>
 
        <div class="row">
-               <label for="charset"><?php echo _AT('charset'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="charset"><?php echo _AT('charset'); ?></label><br />
                <input id="charset" name="charset" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['charset']; ?>" />
        </div>
 
@@ -98,17 +98,17 @@ if (!isset($_POST['submit'])) {
        </div>
 
        <div class="row">
-               <label for="reg_exp"><?php echo _AT('reg_exp'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="reg_exp"><?php echo _AT('reg_exp'); ?></label><br />
                <input id="reg_exp" name="reg_exp" type="text" size="31" class="formfield" value="<?php echo $_POST['reg_exp']; ?>" />
        </div>
 
        <div class="row">
-               <label for="nname"><?php echo _AT('name_in_language'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="nname"><?php echo _AT('name_in_language'); ?></label><br />
                <input id="nname" name="native_name" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['native_name']; ?>" />
        </div>
 
        <div class="row">
-               <label for="ename"><?php echo _AT('name_in_english'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="ename"><?php echo _AT('name_in_english'); ?></label><br />
                <input id="ename" name="english_name" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['english_name'];?>" />
        </div>