http://www.atutor.ca/atutor/mantis/view.php?id=2763
authorjoel kronenberg <joel.kronenberg@utoronto.ca>
Wed, 27 Sep 2006 19:32:29 +0000 (19:32 -0000)
committerjoel kronenberg <joel.kronenberg@utoronto.ca>
Wed, 27 Sep 2006 19:32:29 +0000 (19:32 -0000)
50 files changed:
docs/admin/language.php
docs/admin/language_add.php
docs/admin/language_edit.php
docs/admin/translate_atutor.php
docs/admin/translator.php
docs/chat/display.php
docs/chat/history.php
docs/chat/index.php
docs/chat/poster.php
docs/chat/prefs.php
docs/chat/prefs2.php
docs/forum/lock_thread.php
docs/include/footer.inc.php
docs/include/lib/output.inc.php
docs/include/vitals.inc.php
docs/mods/_core/enrolment/module.php
docs/mods/_standard/reading_list/module.php
docs/mods/scorm_packages/module.php
docs/reading_list/add_resource_av.php
docs/reading_list/add_resource_book.php
docs/reading_list/add_resource_file.php
docs/reading_list/add_resource_handout.php
docs/reading_list/add_resource_url.php
docs/reading_list/display_resource.php
docs/reading_list/display_resources.php
docs/reading_list/edit_reading_av.php
docs/reading_list/edit_reading_book.php
docs/reading_list/edit_reading_file.php
docs/reading_list/edit_reading_handout.php
docs/reading_list/edit_reading_url.php
docs/reading_list/index.php
docs/reading_list/index_instructor.php
docs/reading_list/new_reading_av.php
docs/reading_list/new_reading_book.php
docs/reading_list/new_reading_file.php
docs/reading_list/new_reading_handout.php
docs/reading_list/new_reading_url.php
docs/reading_list/reading_details.php
docs/tile.php
docs/tools/chat/index.php
docs/tools/course_tracker.php
docs/tools/enrollment/import_course_list.php
docs/tools/enrollment/privileges.php
docs/tools/links/add.php
docs/tools/links/edit.php
docs/tools/links/index.php
docs/tools/tests/create_test.php
docs/tools/tests/edit_test.php
docs/tools/tests/results_all_quest_csv.php
docs/tools/tile/index.php

index 0fc9e0d..c75ac64 100644 (file)
@@ -60,7 +60,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        <th scope="col">&nbsp;</th>
        <th scope="col"><?php echo _AT('name_in_language'); ?></th>
        <th scope="col"><?php echo _AT('name_in_english'); ?></th>
-       <th scope="col"><?php echo _AT('code'); ?></th>
+       <th scope="col"><?php echo _AT('lang_code'); ?></th>
        <th scope="col"><?php echo _AT('charset'); ?></th>
 </tr>
 </thead>
index f641297..d9935b7 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('code'); ?></label><br />
+               <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>
 
index 0a4f13e..b26d344 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('code'); ?></label><br />
+               <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>
 
index 7c21ac3..f35f3e1 100644 (file)
@@ -22,9 +22,7 @@ if (!$_REQUEST['f']) {
        $_REQUEST['f']  = 'en';\r
 }\r
 \r
-if (AT_DEVEL_TRANSLATE != 1) { exit; }\r
-//if (!isset($_SESSION['translate'])) { exit; }\r
-//define variables to be used\r
+if (!defined('AT_DEVEL_TRANSLATE') || !AT_DEVEL_TRANSLATE) { exit; }\r
 \r
 $_INCLUDE_PATH = AT_INCLUDE_PATH;\r
 $_TABLE_PREFIX = TABLE_PREFIX;\r
@@ -80,10 +78,7 @@ $row = mysql_fetch_assoc($result);
        </li>\r
        <br />\r
 \r
-<?php\r
-\r
-require_once('translator.php');\r
+       <?php require_once('translator.php'); ?>\r
 \r
-?>\r
 </body>\r
 </html>
\ No newline at end of file
index b119624..8f31897 100644 (file)
@@ -12,7 +12,7 @@
 /****************************************************************/
 // $Id$
 
-if ( !isset($db) || !isset($_INCLUDE_PATH) || !isset($_SESSION['language'])    ) { exit; }
+if ( !isset($db) || !defined('AT_INCLUDE_PATH') || !isset($_SESSION['language'])       ) { echo 'xx'; exit; }
 
 if ($_POST['function'] == 'edit_term') {
        if ($_POST['submit2']) {
@@ -105,7 +105,7 @@ if ($_SESSION['language'] != 'en') {
 <?php
        }
        if ($_REQUEST['v'] && $_REQUEST['k']) {
-               $sql    = "SELECT * FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE term='$_REQUEST[k]' AND variable='$_REQUEST[v]' AND `language_code`='$_REQUEST[f]'";
+               $sql    = "SELECT * FROM ".TABLE_PREFIX."language_text WHERE term='$_REQUEST[k]' AND variable='$_REQUEST[v]' AND `language_code`='$_REQUEST[f]'";
                $result = mysql_query($sql, $db);
                $row    = mysql_fetch_assoc($result);
                if ($row == '') {
@@ -117,7 +117,7 @@ if ($_SESSION['language'] != 'en') {
                if ($_SESSION['language'] == 'en') {
                        $row2 = $row;
                } else {
-                       $sql    = "SELECT text FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE term='$_REQUEST[k]' AND variable='$_REQUEST[v]' AND `language_code`='$_SESSION[language]'";
+                       $sql    = "SELECT text FROM ".TABLE_PREFIX."language_text WHERE term='$_REQUEST[k]' AND variable='$_REQUEST[v]' AND `language_code`='$_SESSION[language]'";
                }
 
                $result = mysql_query($sql, $db);
@@ -130,8 +130,6 @@ function trans_form($page) {
        global $langs;
        global $success_error;
        global $db;
-       global $_TABLE_SUFFIX;
-       global $_TABLE_PREFIX;
        global $_USER_ADMIN;
        global $addslashes;
        global $stripslashes;
@@ -168,7 +166,7 @@ function trans_form($page) {
        <tr>
                <td valign="top" align="right" nowrap="nowrap"><b>Pages:</b></td>
                <td><?php 
-                                       $sql    = "SELECT * FROM ".$_TABLE_PREFIX."language_pages".$_TABLE_SUFFIX." WHERE `term`='$_REQUEST[k]' ORDER BY page LIMIT 11";
+                                       $sql    = "SELECT * FROM ".TABLE_PREFIX."language_pages WHERE `term`='$_REQUEST[k]' ORDER BY page LIMIT 11";
                                        $result = mysql_query($sql, $db);
 
                                        if (mysql_num_rows($result) > 10) {
@@ -224,7 +222,7 @@ function trans_form($page) {
                }
                echo '</li>';
 
-               $sql0 = "SELECT DISTINCT page FROM ".$_TABLE_PREFIX."language_pages".$_TABLE_SUFFIX." ORDER BY page";
+               $sql0 = "SELECT DISTINCT page FROM ".TABLE_PREFIX."language_pages ORDER BY page";
                $result0 = mysql_query($sql0, $db);
                                
                while ($row0 = mysql_fetch_assoc($result0)) {
@@ -248,12 +246,12 @@ function trans_form($page) {
 
 
 function delete_term($variable, $term) {
-       global $addslashes, $db, $_TABLE_PREFIX, $_TABLE_SUFFIX;
+       global $db;
 
-       $sql = "DELETE FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE variable='$variable' AND term='$term'";
+       $sql = "DELETE FROM ".TABLE_PREFIX."language_text WHERE variable='$variable' AND term='$term'";
        $result = mysql_query($sql, $db);
 
-       $sql3 = "DELETE FROM ".$_TABLE_PREFIX."language_pages".$_TABLE_SUFFIX." WHERE term='$term'";
+       $sql3 = "DELETE FROM ".TABLE_PREFIX."language_pages WHERE term='$term'";
        $result3 = mysql_query($sql3, $db);
 
        unset($_REQUEST['k']);
@@ -261,18 +259,18 @@ function delete_term($variable, $term) {
 }
 
 function update_term($text, $context, $variable, $term) {
-       global $addslashes, $db, $_TABLE_PREFIX, $_TABLE_SUFFIX;
+       global $addslashes, $db;
        
        $term    = $addslashes(trim($term));
        $text    = $addslashes(trim($text));
        $context = $addslashes(trim($context));
 
        if ($_SESSION['language'] == 'en') {
-               $sql    = "UPDATE ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." SET `text`='$text', revised_date=NOW(), context='$context' WHERE variable='$variable' AND term='$term' AND language_code='en'";
+               $sql    = "UPDATE ".TABLE_PREFIX."language_text SET `text`='$text', revised_date=NOW(), context='$context' WHERE variable='$variable' AND term='$term' AND language_code='en'";
        }
        
        else {
-               $sql    = "REPLACE INTO ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." VALUES ('$_SESSION[language]', '$variable', '$term', '$text', NOW(), '')";
+               $sql    = "REPLACE INTO ".TABLE_PREFIX."language_text VALUES ('$_SESSION[language]', '$variable', '$term', '$text', NOW(), '')";
 
                $trans = get_html_translation_table(HTML_ENTITIES);
                $trans = array_flip($trans);
@@ -295,13 +293,13 @@ function update_term($text, $context, $variable, $term) {
 }
 
 function add_term($text, $context, $variable, $term) {
-       global $addslashes, $db, $_TABLE_PREFIX, $_TABLE_SUFFIX;
+       global $addslashes, $db;
 
        $term    = $addslashes(trim($term));
        $text    = $addslashes(trim($text));
        $context = $addslashes(trim($context));
 
-       $sql    = "INSERT INTO ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." VALUES ('en', '$variable', '$term', '$text', NOW(), '$context')";
+       $sql    = "INSERT INTO ".TABLE_PREFIX."language_text VALUES ('en', '$variable', '$term', '$text', NOW(), '$context')";
        $result = mysql_query($sql, $db);
 
        if (!$result) {
@@ -315,12 +313,12 @@ function add_term($text, $context, $variable, $term) {
 }
 
 function display_page_terms ($variable, $term1, $lang_code, $new, $updated, $page) {
-       global $db, $_TABLE_PREFIX, $_TABLE_SUFFIX;
+       global $db;
        
        echo '<li><a name="anchor1"></a>';
        echo '<a href="'.$_SERVER['PHP_SELF'].'?v='.$variable.SEP.'page='.urlencode($page).SEP.'f='.$lang_code.SEP.'n='.$new.SEP.'u='.updated.'#anchor">'.$page.'</a>';
                        
-       $sql1 = "SELECT term FROM ".$_TABLE_PREFIX."language_pages".$_TABLE_SUFFIX." WHERE page='$page' ORDER BY term";
+       $sql1 = "SELECT term FROM ".TABLE_PREFIX."language_pages WHERE page='$page' ORDER BY term";
        $result1 = mysql_query($sql1, $db);
 
        $term_list = array();
@@ -328,7 +326,7 @@ function display_page_terms ($variable, $term1, $lang_code, $new, $updated, $pag
        while ($row1 = mysql_fetch_assoc($result1)) {
        
                if ($_SESSION['language'] != 'en') {
-                       $sql    = "SELECT term, revised_date+0  AS r_date FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE variable='$variable' AND `language_code`='$_SESSION[language]' AND term='$row1[term]' ORDER BY `term`";
+                       $sql    = "SELECT term, revised_date+0  AS r_date FROM ".TABLE_PREFIX."language_text WHERE variable='$variable' AND `language_code`='$_SESSION[language]' AND term='$row1[term]' ORDER BY `term`";
                        $result = mysql_query($sql, $db);
                                                                
                        while ($row = mysql_fetch_assoc($result)) {
@@ -343,9 +341,9 @@ function display_page_terms ($variable, $term1, $lang_code, $new, $updated, $pag
        foreach ($term_list as $term) {
 
                if ($_REQUEST['f'] == 'en') {
-                       $sql    = "SELECT *, revised_date+0 AS r_date FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE variable='$_REQUEST[v]' AND language_code='en' AND term='$term'";
+                       $sql    = "SELECT *, revised_date+0 AS r_date FROM ".TABLE_PREFIX."language_text WHERE variable='$_REQUEST[v]' AND language_code='en' AND term='$term'";
                } else {
-                       $sql    = "SELECT * FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE variable='$_REQUEST[v]' AND language_code='$_REQUEST[f]' AND term='$term'";
+                       $sql    = "SELECT * FROM ".TABLE_PREFIX."language_text WHERE variable='$_REQUEST[v]' AND language_code='$_REQUEST[f]' AND term='$term'";
                }
                                
                $result = mysql_query($sql, $db);
@@ -398,10 +396,10 @@ function display_page_terms ($variable, $term1, $lang_code, $new, $updated, $pag
 }
 
 function display_all_terms ($variable, $term1, $lang_code, $new, $updated) {
-       global $db, $_TABLE_PREFIX, $_TABLE_SUFFIX;
+       global $db;
 
        if ($_SESSION['language'] != 'en') {
-               $sql    = "SELECT term, revised_date+0  AS r_date FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE variable='$variable' AND `language_code`='$_SESSION[language]' ORDER BY `term`";
+               $sql    = "SELECT term, revised_date+0  AS r_date FROM ".TABLE_PREFIX."language_text WHERE variable='$variable' AND `language_code`='$_SESSION[language]' ORDER BY `term`";
                $result = mysql_query($sql, $db);
 
                $t_keys = array();
@@ -411,9 +409,9 @@ function display_all_terms ($variable, $term1, $lang_code, $new, $updated) {
        }
 
        if ($lang_code == 'en') {
-               $sql    = "SELECT *, revised_date+0 AS r_date FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE variable='$variable' AND language_code='en' ORDER BY term";
+               $sql    = "SELECT *, revised_date+0 AS r_date FROM ".TABLE_PREFIX."language_text WHERE variable='$variable' AND language_code='en' ORDER BY term";
        } else {
-               $sql    = "SELECT * FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE variable='$variable' AND language_code='$lang_code' ORDER BY term";
+               $sql    = "SELECT * FROM ".TABLE_PREFIX."language_text WHERE variable='$variable' AND language_code='$lang_code' ORDER BY term";
        }
        $result = mysql_query($sql, $db);
 
@@ -466,10 +464,10 @@ function display_all_terms ($variable, $term1, $lang_code, $new, $updated) {
 }
 
 function display_unused_terms ($variable, $term1, $lang_code, $new, $updated) {
-       global $db, $_TABLE_PREFIX, $_TABLE_SUFFIX;
+       global $db;
 
        if ($_SESSION['language'] != 'en') {
-               $sql    = "SELECT term, revised_date+0  AS r_date FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE variable='$variable' AND `language_code`='$_SESSION[language]' ORDER BY `term`";
+               $sql    = "SELECT term, revised_date+0  AS r_date FROM ".TABLE_PREFIX."language_text WHERE variable='$variable' AND `language_code`='$_SESSION[language]' ORDER BY `term`";
                $result = mysql_query($sql, $db);
 
                $t_keys = array();
@@ -479,15 +477,14 @@ function display_unused_terms ($variable, $term1, $lang_code, $new, $updated) {
        }
 
        if ($lang_code == 'en') {
-               $sql    = "SELECT lt.*, lt.revised_date+0 AS r_date FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." lt LEFT JOIN ".$_TABLE_PREFIX."language_pages".$_TABLE_SUFFIX." lp ON lt.term = lp.term WHERE lp.term IS NULL AND lt.variable='$variable' AND lt.language_code='en' ORDER BY lt.term";
+               $sql    = "SELECT lt.*, lt.revised_date+0 AS r_date FROM ".TABLE_PREFIX."language_text lt LEFT JOIN ".TABLE_PREFIX."language_pages lp ON lt.term = lp.term WHERE lp.term IS NULL AND lt.variable='$variable' AND lt.language_code='en' ORDER BY lt.term";
        } else {
-               $sql    = "SELECT lt.* FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." lt LEFT JOIN ".$_TABLE_PREFIX."language_pages".$_TABLE_SUFFIX." lp ON lt.term = NULL WHERE lt.variable='$variable' AND lt.language_code='$lang_code' ORDER BY lt.term";
+               $sql    = "SELECT lt.* FROM ".TABLE_PREFIX."language_text lt LEFT JOIN ".TABLE_PREFIX."language_pages lp ON lt.term = NULL WHERE lt.variable='$variable' AND lt.language_code='$lang_code' ORDER BY lt.term";
        }
        $result = mysql_query($sql, $db);
 
        echo '<ul>';
        while ($row = mysql_fetch_assoc($result)) {
-               //echo $row['r_date'].'d;flskdf;sldkf';
                if ($_SESSION['language'] != 'en') {
                        if ($new && $updated) {
                                if ((!($t_keys[$row['term']] == '')) && (!(($t_keys[$row['term']] < $row['r_date']) && $t_keys[$row['term']]))) {
@@ -536,11 +533,11 @@ function display_unused_terms ($variable, $term1, $lang_code, $new, $updated) {
 
 
 function display_search_terms ($variable, $term1, $lang_code, $new, $updated) {
-       global $db, $_TABLE_PREFIX, $_TABLE_SUFFIX, $addslashes, $stripslashes;
+       global $db, $addslashes, $stripslashes;
 
        $_REQUEST['search_term'] = $addslashes($_REQUEST['search_term']);
 
-       $sql    = "SELECT term, revised_date+0  AS r_date FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE (variable LIKE '%$_REQUEST[search_term]%' OR text LIKE '%$_REQUEST[search_term]%') AND (`language_code`='$_SESSION[language]' OR `language_code`='en') GROUP BY `term` ORDER BY `term`";
+       $sql    = "SELECT term, revised_date+0  AS r_date FROM ".TABLE_PREFIX."language_text WHERE (variable LIKE '%$_REQUEST[search_term]%' OR text LIKE '%$_REQUEST[search_term]%') AND (`language_code`='$_SESSION[language]' OR `language_code`='en') GROUP BY `term` ORDER BY `term`";
        $result = mysql_query($sql, $db);
 
        $t_keys = array();
@@ -548,7 +545,7 @@ function display_search_terms ($variable, $term1, $lang_code, $new, $updated) {
                $t_keys[$row['term']] = $row['r_date'];
        }
 
-       $sql    = "SELECT *, revised_date+0 AS r_date FROM ".$_TABLE_PREFIX."language_text".$_TABLE_SUFFIX." WHERE (variable LIKE '%$_REQUEST[search_term]%' OR text LIKE '%$_REQUEST[search_term]%') AND (language_code='en' OR language_code='$_SESSION[language]') GROUP BY `term` ORDER BY term";
+       $sql    = "SELECT *, revised_date+0 AS r_date FROM ".TABLE_PREFIX."language_text WHERE (variable LIKE '%$_REQUEST[search_term]%' OR text LIKE '%$_REQUEST[search_term]%') AND (language_code='en' OR language_code='$_SESSION[language]') GROUP BY `term` ORDER BY term";
        $result = mysql_query($sql, $db);
 
        if (mysql_num_rows($result) == 0) {
index 1b6f4fb..1a798a2 100644 (file)
@@ -108,7 +108,7 @@ require('include/html/chat_header.inc.php');
                echo '<form action="display.php" target="display" name="f1" method="post" onSubmit="return checkForm();">
                           <input type="hidden" name="set" value="1" />
                           <label accesskey="c" for="message"><input type="text" maxlength="200" size="50" id="message" name="message" value="" class="input" title="Alt-c" onfocus="this.className=\'input highlight\'" onblur="this.className=\'input\'" /></label>
-                          <input type="submit" name="submit" value="'._AT('chat_send').'" class="button" title="'._AT('chat_send').'" onfocus="this.className=\'submit highlight\'" onblur="this.className=\'submit\'" />';
+                          <input type="submit" name="submit" value="'._AT('send').'" class="button" title="'._AT('send').'" onfocus="this.className=\'submit highlight\'" onblur="this.className=\'submit\'" />';
 
                echo '</form></p>';
                echo '<script language="javascript"><!--
index a680210..b5b2524 100644 (file)
@@ -56,7 +56,7 @@ require('include/html/chat_header.inc.php');
 ?>
                <table width="100%" border="0" cellpadding="5" cellspacing="0">
                <tr>
-                       <td align="right"><a href="history.php?hisTopNum=<?php echo $prevNumT; ?>" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('chat_previous'); ?></a> | <a href="history.php?hisTopNum=<?php echo $nextNumT; ?>" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('chat_next'); ?></a> | <a href="chat.php" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('chat_return'); ?></a></td>
+                       <td align="right"><a href="history.php?hisTopNum=<?php echo $prevNumT; ?>" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('previous'); ?></a> | <a href="history.php?hisTopNum=<?php echo $nextNumT; ?>" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('next'); ?></a> | <a href="chat.php" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('chat_return'); ?></a></td>
                </tr>
                </table>
 <?php
@@ -64,7 +64,7 @@ require('include/html/chat_header.inc.php');
 ?>
                <table width="100%" border="0" cellpadding="5" cellspacing="0">
                <tr>
-                       <td align="right"><a href="history.php?hisTopNum=<?php echo $prevNumT; ?>" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('chat_previous'); ?></a> | <a href="chat.php" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('chat_return'); ?></a></td>
+                       <td align="right"><a href="history.php?hisTopNum=<?php echo $prevNumT; ?>" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('previous'); ?></a> | <a href="chat.php" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('chat_return'); ?></a></td>
                </tr>
                </table>
 <?php
@@ -72,7 +72,7 @@ require('include/html/chat_header.inc.php');
 ?>
                <table width="100%" border="0" cellpadding="5" cellspacing="0">
                <tr>
-                       <td align="right"><a href="history.php?hisTopNum=<?php echo $nextNumT; ?>" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('chat_next'); ?></a> | <a href="chat.php" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('chat_return'); ?></a></td>
+                       <td align="right"><a href="history.php?hisTopNum=<?php echo $nextNumT; ?>" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('next'); ?></a> | <a href="chat.php" target="_top" onFocus="this.className='highlight'" onBlur="this.className=''"><?php echo _AT('chat_return'); ?></a></td>
                </tr>
                </table>
 <?php
index b4f5083..3e21c07 100644 (file)
@@ -87,7 +87,7 @@ if (count($tran_files) == 0) {
        <tr>
                <th scope="col"><a href="chat/index.php?<?php echo $orders[$order]; ?>=name"><?php echo _AT('chat_transcript');?></a></th>
                <th scope="col"><?php echo _AT('status'); ?></th>
-               <th scope="col"><a href="chat/index.php?<?php echo $orders[$order]; ?>=date"><?php echo _AT('chat_date'); ?></a></th> 
+               <th scope="col"><a href="chat/index.php?<?php echo $orders[$order]; ?>=date"><?php echo _AT('date'); ?></a></th> 
        </tr>
        </thead>
        <?php
index 6c4f6cd..7c84f7a 100644 (file)
@@ -30,7 +30,7 @@ $now = time();
 <tr>
        <td>
        <form action="display.php?set=<?php echo $now; ?>" target="display" name="f1" method="post" onsubmit="return checkForm();" />
-               <input type="hidden" name="message" value="<?php echo $now; ?>" /><label accesskey="c" for="tempField"><input type="text" maxlength="200" size="40" name="tempField" id="tempField" value="" class="input" onfocus="this.className='input highlight'" onblur="this.className='input'" /></label><input type="submit" value="<?php echo _AT('chat_send'); ?>" class="button" onfocus="this.className='submit highlight'" onblur="this.className='submit'" />     
+               <input type="hidden" name="message" value="<?php echo $now; ?>" /><label accesskey="c" for="tempField"><input type="text" maxlength="200" size="40" name="tempField" id="tempField" value="" class="input" onfocus="this.className='input highlight'" onblur="this.className='input'" /></label><input type="submit" value="<?php echo _AT('send'); ?>" class="button" onfocus="this.className='submit highlight'" onblur="this.className='submit'" />  
        </form>
        </td>
 </tr>
index 459c1e1..b6c8b88 100644 (file)
@@ -74,14 +74,14 @@ require('include/html/chat_header.inc.php');
 
 <p><b><?php echo _AT('chat_message_chime') ?></b>
        <select name="bingFlag">
-               <option value="0"><?php echo _AT('chat_chime_no'); ?></option>
-               <option value="1" <?php echo $bFSelT; ?>><?php echo _AT('chat_chime_yes'); ?></option>
+               <option value="0"><?php echo _AT('no'); ?></option>
+               <option value="1" <?php echo $bFSelT; ?>><?php echo _AT('yes'); ?></option>
        </select></p>
 <p><?php echo _AT('chat_chime_help');  ?></p>
 
 <table width="100%" border="0" cellpadding="5" cellspacing="0">
 <tr>
-       <td align="left"><input type="submit" value="<?php echo _AT('chat_next'); ?>" name="submit" class="submit" onFocus="this.className='submit highlight'" onBlur="this.className='submit'" />
+       <td align="left"><input type="submit" value="<?php echo _AT('next'); ?>" name="submit" class="submit" onFocus="this.className='submit highlight'" onBlur="this.className='submit'" />
                      <input type="submit" value="<?php echo _AT('chat_enter'); ?>" name="submit_r" class="submit" onFocus="this.className='submit highlight'" onBlur="this.className='submit'" /></td>
 </tr>
 </table>
index 9f4d882..7963530 100644 (file)
@@ -64,14 +64,14 @@ require('include/html/chat_header.inc.php');
 
 <p><b><?php echo _AT('chat_newmsg_prefs'); ?></b>
        <select name="onlyNewFlag">
-               <option value="0"><?php echo _AT('chat_newmsg_no'); ?></option>
-        <option value="1" <?php echo $oNFSelT;?>><?php echo _AT('chat_newmsg_yes'); ?></option>
+               <option value="0"><?php echo _AT('no'); ?></option>
+        <option value="1" <?php echo $oNFSelT;?>><?php echo _AT('yes'); ?></option>
        </select></p>
 <p><?php echo _AT('chat_message_new_help') ;?></p>
 
 <table width="100%" border="0" cellpadding="5" cellspacing="0">
 <tr>
-       <td align="left"><input type="submit" value="<?php echo _AT('chat_previous'); ?>" name="submit_p" class="submit" onFocus="this.className='submit highlight'" onBlur="this.className='submit'" /> <input type="submit" value="<?php echo _AT('chat_enter'); ?>" name="submit_r" class="submit" onFocus="this.className='submit highlight'" onBlur="this.className='submit'" /></td>
+       <td align="left"><input type="submit" value="<?php echo _AT('previous'); ?>" name="submit_p" class="submit" onFocus="this.className='submit highlight'" onBlur="this.className='submit'" /> <input type="submit" value="<?php echo _AT('chat_enter'); ?>" name="submit_r" class="submit" onFocus="this.className='submit highlight'" onBlur="this.className='submit'" /></td>
 </tr>
 </table>
 
index 1eb49be..0fc4d93 100644 (file)
@@ -71,7 +71,7 @@ $fid  = intval($_GET['fid']);
 
 <?php if ($_GET['unlock']): ?>
        <div class="row">
-               <input type="radio" name="lock" value="0" id="un"><label for="un"><?php echo _AT('unlock'); ?></label>
+               <input type="radio" name="lock" value="0" id="un"><label for="un"><?php echo _AT('unlock_thread'); ?></label>
        </div>
 
 <?php endif; ?>
index ab67e7e..0aad660 100644 (file)
@@ -13,7 +13,7 @@
 // $Id$
 if (!defined('AT_INCLUDE_PATH')) { exit; }
 
-global $next_prev_links, $langEditor;
+global $next_prev_links;
 global $_base_path, $_my_uri;
 global $_stacks, $db;
 global $system_courses;
index 49666d6..9b08fa5 100644 (file)
@@ -294,10 +294,6 @@ function _AT() {
                $_template[$row['term']] = stripslashes($row['text']);
                $outString = $_template[$row['term']];
                if (empty($outString)) {
-                       if (AT_DEVEL_TRANSLATE) {
-                               global $langEditor;
-                               $langEditor->addMissingTerm($format);
-                       }
                        return ('[ '.$format.' ]');
                }
                $outString = $_template[$row['term']];
index f617f7d..7282ea1 100644 (file)
@@ -183,10 +183,6 @@ require(AT_INCLUDE_PATH.'phpCache/phpCache.inc.php'); // 6. cache library
                $rtl = 'rtl_'; /* basically the prefix to a rtl variant directory/filename. eg. rtl_tree */
        }
 
-       if (defined('AT_DEVEL_TRANSLATE') && AT_DEVEL_TRANSLATE) {
-               require_once(AT_INCLUDE_PATH . 'classes/Language/LanguageEditor.class.php');
-               $langEditor =& new LanguageEditor($myLang);
-       }
 /***** end language block ****/
 
 /* 8. load common libraries */
index 95b66d8..a3376b2 100644 (file)
@@ -6,7 +6,7 @@ define('AT_PRIV_ENROLLMENT', $this->getPrivilege());
 \r
 $this->_stacks['users_online'] = array('title_var'=>'users_online', 'file'=>AT_INCLUDE_PATH.'html/dropdowns/users_online.inc.php');\r
 \r
-$this->_pages['tools/enrollment/index.php']['title_var'] = 'enrolment';\r
+$this->_pages['tools/enrollment/index.php']['title_var'] = 'enrollment';\r
 $this->_pages['tools/enrollment/index.php']['parent']    = 'tools/index.php';\r
 $this->_pages['tools/enrollment/index.php']['guide']     = 'instructor/?p=enrollment.php';\r
 $this->_pages['tools/enrollment/index.php']['children'] = array('tools/enrollment/export_course_list.php', 'tools/enrollment/import_course_list.php', 'tools/enrollment/create_course_list.php');\r
index 30788c2..507c762 100644 (file)
@@ -24,7 +24,7 @@ $_student_tool = 'reading_list/index.php';
 /*******\r
  * instructor Manage section:\r
  */\r
-$this->_pages['reading_list/index_instructor.php']['title_var'] = 'rl_reading_list';\r
+$this->_pages['reading_list/index_instructor.php']['title_var'] = 'reading_list';\r
 $this->_pages['reading_list/index_instructor.php']['parent']   = 'tools/index.php';\r
 $this->_pages['reading_list/index_instructor.php']['children'] = array('reading_list/display_resources.php');\r
 $this->_pages['reading_list/index_instructor.php']['guide'] = 'instructor/?p=reading_list.php';\r
@@ -91,7 +91,7 @@ $this->_pages['reading_list/index_instructor.php']['guide'] = 'instructor/?p=rea
 /*******\r
  * student page.\r
  */\r
-$this->_pages['reading_list/index.php']['title_var'] = 'rl_reading_list';\r
+$this->_pages['reading_list/index.php']['title_var'] = 'reading_list';\r
 $this->_pages['reading_list/index.php']['img']       = 'images/home-reading_list.gif';\r
 \r
 $this->_pages['reading_list/index.php']['children'] = array('reading_list/reading_details.php');\r
index 264d247..36130cb 100644 (file)
@@ -34,7 +34,7 @@ $this->_pages['packages/index.php']['img']       = 'images/content_pkg.gif';
 $this->_pages['packages/index.php']['children']  = array ('packages/preferences.php');\r
 $this->_pages['packages/index.php']['guide']     = 'general/?p=6.2.packages.php';\r
 \r
-       $this->_pages['packages/preferences.php']['title_var'] = 'package_preferences';\r
+       $this->_pages['packages/preferences.php']['title_var'] = 'preferences';\r
        $this->_pages['packages/preferences.php']['parent']    = 'packages/index.php';\r
 \r
        $this->_pages['packages/cmidata.php']['title_var'] = 'cmi_data';\r
index 02fd6dd..b5f886c 100644 (file)
@@ -126,7 +126,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        </div>
 
        <div class="row">
-               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php  echo _AT('rl_author'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php  echo _AT('author'); ?></label><br />
                <input type="text" name="author" size="25" id="author" value="<?php echo htmlspecialchars($author); ?>" />
        </div>
 
@@ -141,7 +141,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        </div>
 
        <div class="row">
-               <label for="comments"><?php  echo _AT('rl_comment'); ?></label><br />
+               <label for="comments"><?php  echo _AT('comment'); ?></label><br />
                <textarea name="comments" cols="30" rows="2" id="comments"><?php echo htmlspecialchars($comments); ?></textarea>
        </div>
 
index babc032..a1247c4 100644 (file)
@@ -130,7 +130,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        </div>
 
        <div class="row">
-               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php  echo _AT('rl_author'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php  echo _AT('author'); ?></label><br />
                <input type="text" name="author" size="25" id="author" value="<?php echo htmlspecialchars($author); ?>" />
        </div>
 
@@ -150,7 +150,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        </div>
 
        <div class="row">
-               <label for="comments"><?php  echo _AT('rl_comment'); ?></label><br />
+               <label for="comments"><?php  echo _AT('comment'); ?></label><br />
                <textarea name="comments" cols="30" rows="2" id="comments"><?php echo htmlspecialchars($comments); ?></textarea>
        </div>
 
index 45b6f12..b247a46 100644 (file)
@@ -130,7 +130,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        </div>
 
        <div class="row">
-               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php  echo _AT('rl_author'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php  echo _AT('author'); ?></label><br />
                <input type="text" name="author" size="25" id="author" value="<?php echo htmlspecialchars($author); ?>" />
        </div>
 
@@ -150,7 +150,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        </div>
 
        <div class="row">
-               <label for="comments"><?php  echo _AT('rl_comment'); ?></label><br />
+               <label for="comments"><?php  echo _AT('comment'); ?></label><br />
                <textarea name="comments" cols="30" rows="2" id="comments"><?php echo htmlspecialchars($comments); ?></textarea>
        </div>
 
index 80135f4..1425beb 100644 (file)
@@ -122,7 +122,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        </div>
 
        <div class="row">
-               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php  echo _AT('rl_author'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php  echo _AT('author'); ?></label><br />
                <input type="text" name="author" size="25" id="author" value="<?php echo htmlspecialchars($author); ?>" />
        </div>
 
@@ -132,7 +132,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        </div>
 
        <div class="row">
-               <label for="comments"><?php  echo _AT('rl_comment'); ?></label><br />
+               <label for="comments"><?php  echo _AT('comment'); ?></label><br />
                <textarea name="comments" cols="30" rows="2" id="comments"><?php echo htmlspecialchars($comments); ?></textarea>
        </div>
 
index 4d14270..efe3c8c 100644 (file)
@@ -124,17 +124,17 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        </div>
 
        <div class="row">
-               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="url"><?php  echo _AT('rl_url'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="url"><?php  echo _AT('url'); ?></label><br />
                <input type="text" name="url" size="50" id="url" value="<?php echo htmlspecialchars($url); ?>" />
        </div>
 
        <div class="row">
-               <label for="author"><?php  echo _AT('rl_author'); ?></label><br />
+               <label for="author"><?php  echo _AT('author'); ?></label><br />
                <input type="text" name="author" size="25" id="author" value="<?php echo htmlspecialchars($author); ?>" />
        </div>
 
        <div class="row">
-               <label for="comments"><?php  echo _AT('rl_comment'); ?></label><br />
+               <label for="comments"><?php  echo _AT('comment'); ?></label><br />
                <textarea name="comments" cols="30" rows="2" id="comments"><?php echo htmlspecialchars($comments); ?></textarea>
        </div>
 
index 9681cd5..e866c71 100644 (file)
@@ -44,7 +44,7 @@ if (!$row = mysql_fetch_assoc($result)) {
                        <?php  echo _AT('rl_type_of_resource'). ": ". _AT($_rl_types[$row['type']]); ?> 
                </div>
                <div class="row">
-                       <?php  echo _AT('rl_author'). ": ". $row['author']; ?> 
+                       <?php  echo _AT('author'). ": ". $row['author']; ?> 
                </div>
                <div class="row">
                        <?php  echo _AT('rl_publisher'). ": ". $row['publisher']; ?> 
@@ -56,7 +56,7 @@ if (!$row = mysql_fetch_assoc($result)) {
                        <?php  echo _AT('rl_isbn_number'). ": ". $row['id']; ?> 
                </div>
                <div class="row">
-                       <?php  echo _AT('rl_comment'). ": ". $row['comments']; ?> 
+                       <?php  echo _AT('comment'). ": ". $row['comments']; ?> 
                </div>
 
        <?php elseif ($row['type'] == RL_TYPE_URL): ?>
@@ -70,10 +70,10 @@ if (!$row = mysql_fetch_assoc($result)) {
                        <?php echo _AT('location'). ": " ?><a href="<?php echo $row['url']?>"><?php echo $row['url']; ?></a> 
                </div>
                <div class="row">
-                       <?php  echo _AT('rl_author'). ": ". $row['author']; ?> 
+                       <?php  echo _AT('author'). ": ". $row['author']; ?> 
                </div>
                <div class="row">
-                       <?php  echo _AT('rl_comment'). ": ". $row['comments']; ?> 
+                       <?php  echo _AT('comment'). ": ". $row['comments']; ?> 
                </div>
 
        <?php elseif ($row['type'] == RL_TYPE_HANDOUT): ?>
@@ -84,13 +84,13 @@ if (!$row = mysql_fetch_assoc($result)) {
                        <?php  echo _AT('rl_type_of_resource'). ": ". _AT($_rl_types[$row['type']]); ?> 
                </div>
                <div class="row">
-                       <?php  echo _AT('rl_author'). ": ". $row['author']; ?> 
+                       <?php  echo _AT('author'). ": ". $row['author']; ?> 
                </div>
                <div class="row">
                        <?php  echo _AT('date'). ": ". $row['date']; ?> 
                </div>
                <div class="row">
-                       <?php  echo _AT('rl_comment'). ": ". $row['comments']; ?> 
+                       <?php  echo _AT('comment'). ": ". $row['comments']; ?> 
                </div>
 
        <?php elseif ($row['type'] == RL_TYPE_AV): ?>
@@ -101,13 +101,13 @@ if (!$row = mysql_fetch_assoc($result)) {
                        <?php  echo _AT('rl_type_of_resource'). ": ". _AT($_rl_types[$row['type']]); ?> 
                </div>
                <div class="row">
-                       <?php  echo _AT('rl_author'). ": ". $row['author']; ?> 
+                       <?php  echo _AT('author'). ": ". $row['author']; ?> 
                </div>
                <div class="row">
                        <?php  echo _AT('date'). ": ". $row['date']; ?> 
                </div>
                <div class="row">
-                       <?php  echo _AT('rl_comment'). ": ". $row['comments']; ?> 
+                       <?php  echo _AT('comment'). ": ". $row['comments']; ?> 
                </div>
 
        <?php elseif ($row['type'] == RL_TYPE_FILE): ?>
@@ -118,7 +118,7 @@ if (!$row = mysql_fetch_assoc($result)) {
                        <?php  echo _AT('rl_type_of_resource'). ": ". _AT($_rl_types[$row['type']]); ?> 
                </div>
                <div class="row">
-                       <?php  echo _AT('rl_author'). ": ". $row['author']; ?> 
+                       <?php  echo _AT('author'). ": ". $row['author']; ?> 
                </div>
                <div class="row">
                        <?php  echo _AT('rl_publisher'). ": ". $row['publisher']; ?> 
@@ -130,7 +130,7 @@ if (!$row = mysql_fetch_assoc($result)) {
                        <?php  echo _AT('rl_id'). ": ". $row['id']; ?> 
                </div>
                <div class="row">
-                       <?php  echo _AT('rl_comment'). ": ". $row['comments']; ?> 
+                       <?php  echo _AT('comment'). ": ". $row['comments']; ?> 
                </div>
        <?php endif; ?>
 
index c5dbcdc..aa84836 100644 (file)
@@ -76,7 +76,7 @@ $result = mysql_query($sql, $db);
        <th>&nbsp;</th>
        <th><?php echo _AT('type'); ?></th>
        <th><?php echo _AT('title'); ?></th>
-       <th><?php echo _AT('rl_author'); ?></th>
+       <th><?php echo _AT('author'); ?></th>
 </tr>
 </thead>
 <tfoot>
index aabe30b..606785e 100644 (file)
@@ -83,7 +83,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
 
 <h3><?php echo _AT('rl_av_material_to_view');?></h3>
        <div class="row">
-               <label for="title"><?php  echo _AT('rl_select_av'); ?>:</label>
+               <label for="title"><?php  echo _AT('select_av'); ?>:</label>
                <select name="existing" id="title">
                        <?php while ($row = mysql_fetch_assoc($av_result)): ?>
                                <option value="<?php echo $row['resource_id']; ?>"<?php if ($row['resource_id'] == $resource_id) { echo ' selected="selected"'; } ?>><?php echo htmlspecialchars($row['title']); ?></option>
@@ -96,16 +96,16 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                if ($rowreading['required'] == 'required'){
                        echo 'checked="checked"';
                }?>/>
-               <label for="required"><?php  echo _AT('rl_required'); ?></label>
+               <label for="required"><?php  echo _AT('required'); ?></label>
                <input type="radio" name="readstatus" value="optional" id="optional" <?php
                if ($rowreading['required'] == 'optional'){
                        echo 'checked="checked"';
                }?>/>
-               <label for="optional"><?php  echo _AT('rl_optional'); ?></label>
+               <label for="optional"><?php  echo _AT('optional'); ?></label>
        </div>  
        
        <div class="row">
-       <label for="comment"><?php  echo _AT('rl_comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php echo htmlspecialchars($rowreading['comment']);  ?>" />
+       <label for="comment"><?php  echo _AT('comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php echo htmlspecialchars($rowreading['comment']);  ?>" />
        </div>
 
 <h3><?php echo _AT('rl_read_by_date'); ?></h3>
@@ -125,7 +125,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                }?>/>
                <label for="hasdate"><?php  echo _AT('rl_reading_date'); ?></label><br/>
 
-               <label for="startdate"><?php  echo _AT('rl_start_date'); ?>:</label>
+               <label for="startdate"><?php  echo _AT('start_date'); ?>:</label>
                <?php  $array_date_start = explode ('-', $rowreading['date_start'], 3); ?>
 
                <select name="startday" id="startdate">
@@ -146,7 +146,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                <?php } ?>
                </select>
        
-               <br/><label for="enddate"><?php  echo _AT('rl_end_date'); ?>:</label>
+               <br/><label for="enddate"><?php  echo _AT('end_date'); ?>:</label>
                <?php  $array_date_end = explode ('-', $rowreading['date_end'], 3); ?>
 
                <select name="endday" id="enddate">
index 7aa3d83..a255fb7 100644 (file)
@@ -101,16 +101,16 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                if ($rowreading['required'] == 'required'){
                        echo 'checked="checked"';
                }?>/>
-               <label for="required"><?php  echo _AT('rl_required'); ?></label>
+               <label for="required"><?php  echo _AT('required'); ?></label>
                <input type="radio" name="readstatus" value="optional" id="optional" <?php
                if ($rowreading['required'] == 'optional'){
                        echo 'checked="checked"';
                }?>/>
-               <label for="optional"><?php  echo _AT('rl_optional'); ?></label>
+               <label for="optional"><?php  echo _AT('optional'); ?></label>
        </div>  
        
        <div class="row">
-       <label for="comment"><?php  echo _AT('rl_comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php echo htmlspecialchars($rowreading['comment']);  ?>" />
+       <label for="comment"><?php  echo _AT('comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php echo htmlspecialchars($rowreading['comment']);  ?>" />
        </div>
 
 <h3><?php echo _AT('rl_read_by_date'); ?></h3>
@@ -130,7 +130,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                }?>/>
                <label for="hasdate"><?php  echo _AT('rl_reading_date'); ?></label><br/>
 
-               <label for="startdate"><?php  echo _AT('rl_start_date'); ?>:</label>
+               <label for="startdate"><?php  echo _AT('start_date'); ?>:</label>
                <?php  $array_date_start = explode ('-', $rowreading['date_start'], 3); ?>
 
                <select name="startday" id="startdate">
@@ -151,7 +151,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                <?php } ?>
                </select>
        
-               <br/><label for="enddate"><?php  echo _AT('rl_end_date'); ?>:</label>
+               <br/><label for="enddate"><?php  echo _AT('end_date'); ?>:</label>
                <?php  $array_date_end = explode ('-', $rowreading['date_end'], 3); ?>
 
                <select name="endday" id="enddate">
index 95fbd14..22ea940 100644 (file)
@@ -99,16 +99,16 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                if ($rowreading['required'] == 'required'){
                        echo 'checked="checked"';
                }?>/>
-               <label for="required"><?php  echo _AT('rl_required'); ?></label>
+               <label for="required"><?php  echo _AT('required'); ?></label>
                <input type="radio" name="readstatus" value="optional" id="optional" <?php
                if ($rowreading['required'] == 'optional'){
                        echo 'checked="checked"';
                }?>/>
-               <label for="optional"><?php  echo _AT('rl_optional'); ?></label>
+               <label for="optional"><?php  echo _AT('optional'); ?></label>
        </div>  
        
        <div class="row">
-       <label for="comment"><?php  echo _AT('rl_comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php echo htmlspecialchars($rowreading['comment']);  ?>" />
+       <label for="comment"><?php  echo _AT('comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php echo htmlspecialchars($rowreading['comment']);  ?>" />
        </div>
 
 <h3><?php echo _AT('rl_read_by_date'); ?></h3>
@@ -127,7 +127,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                }?>/>
                <label for="hasdate"><?php  echo _AT('rl_reading_date'); ?></label><br/>
 
-               <label for="startdate"><?php  echo _AT('rl_start_date'); ?>:</label>
+               <label for="startdate"><?php  echo _AT('start_date'); ?>:</label>
                <?php  $array_date_start = explode ('-', $rowreading['date_start'], 3); ?>
 
                <select name="startday" id="startdate">
@@ -148,7 +148,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                <?php } ?>
                </select>
        
-               <br/><label for="enddate"><?php  echo _AT('rl_end_date'); ?>:</label>
+               <br/><label for="enddate"><?php  echo _AT('end_date'); ?>:</label>
                <?php  $array_date_end = explode ('-', $rowreading['date_end'], 3); ?>
 
                <select name="endday" id="enddate">
index 93c4ce7..c50b2c3 100644 (file)
@@ -98,16 +98,16 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                if ($rowreading['required'] == 'required'){
                        echo 'checked="checked"';
                }?>/>
-               <label for="required"><?php  echo _AT('rl_required'); ?></label>
+               <label for="required"><?php  echo _AT('required'); ?></label>
                <input type="radio" name="readstatus" value="optional" id="optional" <?php
                if ($rowreading['required'] == 'optional'){
                        echo 'checked="checked"';
                }?>/>
-               <label for="optional"><?php  echo _AT('rl_optional'); ?></label>
+               <label for="optional"><?php  echo _AT('optional'); ?></label>
        </div>  
        
        <div class="row">
-       <label for="comment"><?php  echo _AT('rl_comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php echo htmlspecialchars($rowreading['comment']);  ?>" />
+       <label for="comment"><?php  echo _AT('comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php echo htmlspecialchars($rowreading['comment']);  ?>" />
        </div>
 
 <h3><?php echo _AT('rl_read_by_date'); ?></h3>
@@ -126,7 +126,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                }?>/>
                <label for="hasdate"><?php  echo _AT('rl_reading_date'); ?></label><br/>
 
-               <label for="startdate"><?php  echo _AT('rl_start_date'); ?>:</label>
+               <label for="startdate"><?php  echo _AT('start_date'); ?>:</label>
                <?php  $array_date_start = explode ('-', $rowreading['date_start'], 3); ?>
 
                <select name="startday" id="startdate">
@@ -147,7 +147,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                <?php } ?>
                </select>
        
-               <br/><label for="enddate"><?php  echo _AT('rl_end_date'); ?>:</label>
+               <br/><label for="enddate"><?php  echo _AT('end_date'); ?>:</label>
                <?php  $array_date_end = explode ('-', $rowreading['date_end'], 3); ?>
 
                <select name="endday" id="enddate">
index 671da84..c97ac93 100644 (file)
@@ -96,16 +96,16 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                if ($rowreading['required'] == 'required'){
                        echo 'checked="checked"';
                }?>/>
-               <label for="required"><?php  echo _AT('rl_required'); ?></label>
+               <label for="required"><?php  echo _AT('required'); ?></label>
                <input type="radio" name="readstatus" value="optional" id="optional" <?php
                if ($rowreading['required'] == 'optional'){
                        echo 'checked="checked"';
                }?>/>
-               <label for="optional"><?php  echo _AT('rl_optional'); ?></label>
+               <label for="optional"><?php  echo _AT('optional'); ?></label>
        </div>  
        
        <div class="row">
-       <label for="comment"><?php  echo _AT('rl_comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php echo htmlspecialchars($rowreading['comment']);  ?>" />
+       <label for="comment"><?php  echo _AT('comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php echo htmlspecialchars($rowreading['comment']);  ?>" />
        </div>
 
 <h3><?php echo _AT('rl_read_by_date'); ?></h3>
@@ -125,7 +125,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                }?>/>
                <label for="hasdate"><?php  echo _AT('rl_reading_date'); ?></label><br/>
 
-               <label for="startdate"><?php  echo _AT('rl_start_date'); ?>:</label>
+               <label for="startdate"><?php  echo _AT('start_date'); ?>:</label>
                <?php  $array_date_start = explode ('-', $rowreading['date_start'], 3); ?>
 
                <select name="startday" id="startdate">
@@ -146,7 +146,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                <?php } ?>
                </select>
        
-               <br/><label for="enddate"><?php  echo _AT('rl_end_date'); ?>:</label>
+               <br/><label for="enddate"><?php  echo _AT('end_date'); ?>:</label>
                <?php  $array_date_end = explode ('-', $rowreading['date_end'], 3); ?>
 
                <select name="endday" id="enddate">
index eee6df4..272947b 100644 (file)
@@ -27,8 +27,8 @@ $result = mysql_query($sql, $db);
        <th><?php echo _AT('rl_start');    ?></th>\r
        <th><?php echo _AT('rl_end');      ?></th>\r
        <th><?php echo _AT('title');       ?></th>\r
-       <th><?php echo _AT('rl_required'); ?></th>\r
-       <th><?php echo _AT('rl_comment');  ?></th>\r
+       <th><?php echo _AT('required'); ?></th>\r
+       <th><?php echo _AT('comment');  ?></th>\r
 </tr>\r
 </thead>\r
 <tbody>\r
index 8dff9bd..ba831ef 100644 (file)
@@ -93,8 +93,8 @@ $result = mysql_query($sql, $db);
        <th><?php echo _AT('rl_start'); ?></th>\r
        <th><?php echo _AT('rl_end'); ?></th>\r
        <th><?php echo _AT('title'); ?></th>\r
-       <th><?php echo _AT('rl_required'); ?></th>\r
-       <th><?php echo _AT('rl_comment'); ?></th>\r
+       <th><?php echo _AT('required'); ?></th>\r
+       <th><?php echo _AT('comment'); ?></th>\r
 </tr>\r
 </thead>\r
 <tfoot>\r
index 434b229..46bad31 100644 (file)
@@ -81,7 +81,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
 <h3><?php  echo _AT('rl_av_material_to_view'); ?></h3>
 
        <div class="row">
-               <label for="title"><?php  echo _AT('rl_select_av'); ?>:</label>
+               <label for="title"><?php  echo _AT('select_av'); ?>:</label>
                <select name="existing" id="title">
 
                        <?php while ($row = mysql_fetch_assoc($av_result)): ?>
@@ -102,13 +102,13 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                } else {
                        echo 'checked="checked"';
                }?>/>
-               <label for="required"><?php  echo _AT('rl_required'); ?></label>
+               <label for="required"><?php  echo _AT('required'); ?></label>
                <input type="radio" name="readstatus" value="optional" id="optional" <?php if (isset($_POST['readstatus']) && ($_POST['readstatus'] == 'optional')) { echo ' checked="checked"'; } ?>/>
-               <label for="optional"><?php  echo _AT('rl_optional'); ?></label>
+               <label for="optional"><?php  echo _AT('optional'); ?></label>
        </div>  
        
        <div class="row">
-       <label for="comment"><?php  echo _AT('rl_comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php if (isset($_POST['comment'])) echo $stripslashes($_POST['comment']);  ?>" />
+       <label for="comment"><?php  echo _AT('comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php if (isset($_POST['comment'])) echo $stripslashes($_POST['comment']);  ?>" />
        </div>
 
 <h3><?php  echo _AT('rl_read_by_date'); ?></h3>
@@ -129,7 +129,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                <input type="radio" id="hasdate" name="hasdate" value="true" <?php if (isset($_POST['hasdate']) && ($_POST['hasdate'] == 'true')) { echo ' checked="checked"'; } ?>/>
                <label for="hasdate"><?php  echo _AT('rl_reading_date'); ?></label><br/>
 
-               <label for="startdate"><?php  echo _AT('rl_start_date'); ?>:</label>
+               <label for="startdate"><?php  echo _AT('start_date'); ?>:</label>
 
                <select name="startday" id="startdate">
                <?php for ($i = 1; $i <= 31; $i++){ ?>
@@ -150,7 +150,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                </select>
        
        
-               <br/><label for="enddate"><?php  echo _AT('rl_end_date'); ?>:</label>
+               <br/><label for="enddate"><?php  echo _AT('end_date'); ?>:</label>
 
                <select name="endday" id="enddate">
                <?php for ($i = 1; $i <= 31; $i++){ ?>
index 25b9468..a603c08 100644 (file)
@@ -100,13 +100,13 @@ $today = getdate();
                } else {
                        echo 'checked="checked"';
                }?>/>
-               <label for="required"><?php  echo _AT('rl_required'); ?></label>
+               <label for="required"><?php  echo _AT('required'); ?></label>
                <input type="radio" name="readstatus" value="optional" id="optional" <?php if (isset($_POST['readstatus']) && ($_POST['readstatus'] == 'optional')) { echo ' checked="checked"'; } ?>/>
-               <label for="optional"><?php  echo _AT('rl_optional'); ?></label>
+               <label for="optional"><?php  echo _AT('optional'); ?></label>
        </div>  
        
        <div class="row">
-       <label for="comment"><?php  echo _AT('rl_comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php if (isset($_POST['comment'])) echo $stripslashes($_POST['comment']);  ?>" />
+       <label for="comment"><?php  echo _AT('comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php if (isset($_POST['comment'])) echo $stripslashes($_POST['comment']);  ?>" />
        </div>
 
 <h3><?php echo _AT('rl_read_by_date'); ?></h3>
@@ -128,7 +128,7 @@ $today = getdate();
                <input type="radio" id="hasdate" name="hasdate" value="true" <?php if (isset($_POST['hasdate']) && ($_POST['hasdate'] == 'true')) { echo ' checked="checked"'; } ?>/>
                <label for="hasdate"><?php  echo _AT('rl_reading_date'); ?></label><br/>
 
-               <label for="startdate"><?php  echo _AT('rl_start_date'); ?>:</label>
+               <label for="startdate"><?php  echo _AT('start_date'); ?>:</label>
 
                <select name="startday" id="startdate">
                <?php for ($i = 1; $i <= 31; $i++){ ?>
@@ -148,7 +148,7 @@ $today = getdate();
                <?php } ?>
                </select>
        
-               <br/><label for="enddate"><?php  echo _AT('rl_end_date'); ?>:</label>
+               <br/><label for="enddate"><?php  echo _AT('end_date'); ?>:</label>
 
                <select name="endday" id="enddate">
                <?php for ($i = 1; $i <= 31; $i++){ ?>
index 68209d0..5caacce 100644 (file)
@@ -103,13 +103,13 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                else {
                        echo 'checked="checked"';
                }?>/>
-               <label for="required"><?php  echo _AT('rl_required'); ?></label>
+               <label for="required"><?php  echo _AT('required'); ?></label>
                <input type="radio" name="readstatus" value="optional" id="optional" <?php if (isset($_POST['readstatus']) && ($_POST['readstatus'] == 'optional')) { echo ' checked="checked"'; } ?>/>
-               <label for="optional"><?php  echo _AT('rl_optional'); ?></label>
+               <label for="optional"><?php  echo _AT('optional'); ?></label>
        </div>  
        
        <div class="row">
-       <label for="comment"><?php  echo _AT('rl_comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php if (isset($_POST['comment'])) echo $stripslashes($_POST['comment']);  ?>" />
+       <label for="comment"><?php  echo _AT('comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php if (isset($_POST['comment'])) echo $stripslashes($_POST['comment']);  ?>" />
        </div>
 
 <h3><?php echo _AT('rl_read_by_date'); ?></h3>
@@ -131,7 +131,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                <input type="radio" id="hasdate" name="hasdate" value="true" <?php if (isset($_POST['hasdate']) && ($_POST['hasdate'] == 'true')) { echo ' checked="checked"'; } ?>/>
                <label for="hasdate"><?php  echo _AT('rl_reading_date'); ?></label><br/>
 
-               <label for="startdate"><?php  echo _AT('rl_start_date'); ?>:</label>
+               <label for="startdate"><?php  echo _AT('start_date'); ?>:</label>
 
                <select name="startday" id="startdate">
                <?php for ($i = 1; $i <= 31; $i++){ ?>
@@ -152,7 +152,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                </select>
        
        
-               <br/><label for="enddate"><?php  echo _AT('rl_end_date'); ?>:</label>
+               <br/><label for="enddate"><?php  echo _AT('end_date'); ?>:</label>
 
                <select name="endday" id="enddate">
                <?php for ($i = 1; $i <= 31; $i++){ ?>
index 7fc3213..35b930d 100644 (file)
@@ -104,13 +104,13 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                else {
                        echo 'checked="checked"';
                }?>/>
-               <label for="required"><?php  echo _AT('rl_required'); ?></label>
+               <label for="required"><?php  echo _AT('required'); ?></label>
                <input type="radio" name="readstatus" value="optional" id="optional" <?php if (isset($_POST['readstatus']) && ($_POST['readstatus'] == 'optional')) { echo ' checked="checked"'; } ?>/>
-               <label for="optional"><?php  echo _AT('rl_optional'); ?></label>
+               <label for="optional"><?php  echo _AT('optional'); ?></label>
        </div>  
        
        <div class="row">
-       <label for="comment"><?php  echo _AT('rl_comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php if (isset($_POST['comment'])) echo $stripslashes($_POST['comment']);  ?>" />
+       <label for="comment"><?php  echo _AT('comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php if (isset($_POST['comment'])) echo $stripslashes($_POST['comment']);  ?>" />
        </div>
 
 <h3><?php echo _AT('rl_read_by_date'); ?></h3>
@@ -132,7 +132,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                <input type="radio" id="hasdate" name="hasdate" value="true" <?php if (isset($_POST['hasdate']) && ($_POST['hasdate'] == 'true')) { echo ' checked="checked"'; } ?>/>
                <label for="hasdate"><?php  echo _AT('rl_reading_date'); ?></label><br/>
 
-               <label for="startdate"><?php  echo _AT('rl_start_date'); ?>:</label>
+               <label for="startdate"><?php  echo _AT('start_date'); ?>:</label>
 
                <select name="startday" id="startdate">
                <?php for ($i = 1; $i <= 31; $i++){ ?>
@@ -153,7 +153,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                </select>
        
        
-               <br/><label for="enddate"><?php  echo _AT('rl_end_date'); ?>:</label>
+               <br/><label for="enddate"><?php  echo _AT('end_date'); ?>:</label>
 
                <select name="endday" id="enddate">
                <?php for ($i = 1; $i <= 31; $i++){ ?>
index d824c58..89bd998 100644 (file)
@@ -104,13 +104,13 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                else {
                        echo 'checked="checked"';
                }?>/>
-               <label for="required"><?php  echo _AT('rl_required'); ?></label>
+               <label for="required"><?php  echo _AT('required'); ?></label>
                <input type="radio" name="readstatus" value="optional" id="optional" <?php if (isset($_POST['readstatus']) && ($_POST['readstatus'] == 'optional')) { echo ' checked="checked"'; } ?>/>
-               <label for="optional"><?php  echo _AT('rl_optional'); ?></label>
+               <label for="optional"><?php  echo _AT('optional'); ?></label>
        </div>  
        
        <div class="row">
-       <label for="comment"><?php  echo _AT('rl_comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php if (isset($_POST['comment'])) echo $stripslashes($_POST['comment']);  ?>" />
+       <label for="comment"><?php  echo _AT('comment'); ?>:</label><input type="text" id="comment" size="75" name="comment" value="<?php if (isset($_POST['comment'])) echo $stripslashes($_POST['comment']);  ?>" />
        </div>
 
 <h3><?php echo _AT('rl_read_by_date'); ?></h3>
@@ -132,7 +132,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                <input type="radio" id="hasdate" name="hasdate" value="true" <?php if (isset($_POST['hasdate']) && ($_POST['hasdate'] == 'true')) { echo ' checked="checked"'; } ?>/>
                <label for="hasdate"><?php  echo _AT('rl_reading_date'); ?></label><br/>
 
-               <label for="startdate"><?php  echo _AT('rl_start_date'); ?>:</label>
+               <label for="startdate"><?php  echo _AT('start_date'); ?>:</label>
 
                <select name="startday" id="startdate">
                <?php for ($i = 1; $i <= 31; $i++){ ?>
@@ -153,7 +153,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
                </select>
        
        
-               <br/><label for="enddate"><?php  echo _AT('rl_end_date'); ?>:</label>
+               <br/><label for="enddate"><?php  echo _AT('end_date'); ?>:</label>
 
                <select name="endday" id="enddate">
                <?php for ($i = 1; $i <= 31; $i++){ ?>
index 01f36bb..a85e8de 100644 (file)
@@ -34,11 +34,11 @@ if ($row = mysql_fetch_assoc($result)){
        <div class="input-form">
                <p><?php  echo _AT('title'). ": <strong>". $row['title']. "</strong>"; ?><br/>
                        <?php  echo _AT('rl_type_of_resource'). ": ". _AT($_rl_types[$row['type']]); ?><br/>
-                       <?php  echo _AT('rl_author'). ": ". $row['author']; ?><br/>
+                       <?php  echo _AT('author'). ": ". $row['author']; ?><br/>
                        <?php  echo _AT('rl_publisher'). ": ". $row['publisher']; ?><br/>
                        <?php  echo _AT('date'). ": ". $row['date']; ?><br/>
                        <?php  echo _AT('rl_isbn_number'). ": ". $row['id']; ?><br/>
-                       <?php  echo _AT('rl_comment'). ": ". $row['comments']; ?>
+                       <?php  echo _AT('comment'). ": ". $row['comments']; ?>
                </p>
        </div>
 <?php elseif ($row['type'] == RL_TYPE_URL): ?>
@@ -46,37 +46,37 @@ if ($row = mysql_fetch_assoc($result)){
                <p><?php  echo _AT('title'). ": <strong>". $row['title']. "</strong>"; ?><br/>
                        <?php  echo _AT('rl_type_of_resource'). ": ". _AT($_rl_types[$row['type']]); ?><br/>
                        <?php echo _AT('location'). ": " ?><a href="<?php echo $row['url']?>"><?php echo $row['url']; ?></a><br/>
-                       <?php  echo _AT('rl_author'). ": ". $row['author']; ?><br/>
-                       <?php  echo _AT('rl_comment'). ": ". $row['comments']; ?>
+                       <?php  echo _AT('author'). ": ". $row['author']; ?><br/>
+                       <?php  echo _AT('comment'). ": ". $row['comments']; ?>
                        </p>
        </div>
 <?php elseif ($row['type'] == RL_TYPE_HANDOUT): ?>
        <div class="input-form">        
                <p><?php  echo _AT('title'). ": <strong>". $row['title']. "</strong>"; ?><br/>
                        <?php  echo _AT('rl_type_of_resource'). ": ". _AT($_rl_types[$row['type']]); ?><br/>
-                       <?php  echo _AT('rl_author'). ": ". $row['author']; ?><br/>
+                       <?php  echo _AT('author'). ": ". $row['author']; ?><br/>
                        <?php  echo _AT('date'). ": ". $row['date']; ?><br/>
-                       <?php  echo _AT('rl_comment'). ": ". $row['comments']; ?>
+                       <?php  echo _AT('comment'). ": ". $row['comments']; ?>
                </p>
        </div>
 <?php elseif ($row['type'] == RL_TYPE_AV): ?>
        <div class="input-form">        
                <p><?php  echo _AT('title'). ": <strong>". $row['title']. "</strong>" ; ?><br/>
                        <?php  echo _AT('rl_type_of_resource'). ": ". _AT($_rl_types[$row['type']]); ?><br/>
-                       <?php  echo _AT('rl_author'). ": ". $row['author']; ?><br />
+                       <?php  echo _AT('author'). ": ". $row['author']; ?><br />
                        <?php  echo _AT('date'). ": ". $row['date']; ?><br/>
-                       <?php  echo _AT('rl_comment'). ": ". $row['comments']; ?>
+                       <?php  echo _AT('comment'). ": ". $row['comments']; ?>
                </p>
        </div>
 <?php elseif ($row['type'] == RL_TYPE_FILE): ?>
        <div class="input-form">        
                <p><?php  echo _AT('title'). ": <strong>". $row['title']. "</strong>"; ?><br/>
                        <?php  echo _AT('rl_type_of_resource'). ": ". _AT($_rl_types[$row['type']]); ?><br/>
-                       <?php  echo _AT('rl_author'). ": ". $row['author']; ?><br/>
+                       <?php  echo _AT('author'). ": ". $row['author']; ?><br/>
                        <?php  echo _AT('rl_publisher'). ": ". $row['publisher']; ?><br/>
                        <?php  echo _AT('date'). ": ". $row['date']; ?><br/>
                        <?php  echo _AT('id'). ": ". $row['id']; ?><br/>
-                       <?php  echo _AT('rl_comment'). ": ". $row['comments']; ?>
+                       <?php  echo _AT('comment'). ": ". $row['comments']; ?>
                </p>
        </div>
 <?php endif;
index 45f21b3..87b88ff 100644 (file)
@@ -63,10 +63,10 @@ require (AT_INCLUDE_PATH.'header.inc.php');
                <?php echo _AT('search_in'); ?><br />
 
                <input type="radio" name="field" value="anyField" id="taf" <?php if (!isset($_GET['field']) || ($_GET['field'] == 'anyField')) { echo 'checked="checked"'; } ?> /><label for="taf"><?php echo _AT('tile_any_field'); ?></label><br />
-               <input type="radio" name="field" value="title" id="tt" <?php if ($_GET['field'] == 'title') { echo 'checked="checked"'; } ?> /><label for="tt"><?php echo _AT('tile_title'); ?></label><br />
+               <input type="radio" name="field" value="title" id="tt" <?php if ($_GET['field'] == 'title') { echo 'checked="checked"'; } ?> /><label for="tt"><?php echo _AT('title'); ?></label><br />
                <input type="radio" name="field" value="author" id="ta" <?php if ($_GET['field'] == 'author') { echo 'checked="checked"'; } ?> /><label for="ta"><?php echo _AT('tile_author'); ?></label><br />
                <input type="radio" name="field" value="subject" id="tk" <?php if ($_GET['field'] == 'subject') { echo 'checked="checked"'; } ?> /><label for="tk"><?php echo _AT('tile_keyword'); ?></label><br />
-               <input type="radio" name="field" value="description" id="td" <?php if ($_GET['field'] == 'description') { echo 'checked="checked"'; } ?> /><label for="td"><?php echo _AT('tile_description'); ?></label><br />
+               <input type="radio" name="field" value="description" id="td" <?php if ($_GET['field'] == 'description') { echo 'checked="checked"'; } ?> /><label for="td"><?php echo _AT('description'); ?></label><br />
                <input type="radio" name="field" value="technicalFormat" id="tf" <?php if ($_GET['field'] == 'technicalFormat') { echo 'checked="checked"'; } ?> /><label for="tf"><?php echo _AT('tile_technical_format'); ?></label>
        </div>
 
index 81dde12..7d3c143 100644 (file)
@@ -99,7 +99,7 @@ if (count($tran_files) == 0) {
                <th scope="col">&nbsp;</th>
                <th scope="col"><a href="tools/chat/index.php?<?php echo $orders[$order]; ?>=name"><?php echo _AT('chat_transcript');?></a></th>
                <th scope="col"><?php echo _AT('status'); ?></th>
-               <th scope="col"><a href="tools/chat/index.php?<?php echo $orders[$order]; ?>=date"><?php echo _AT('chat_date'); ?></a></th> 
+               <th scope="col"><a href="tools/chat/index.php?<?php echo $orders[$order]; ?>=date"><?php echo _AT('date'); ?></a></th> 
                </th> 
        </tr>
        </thead>
index 735dad4..df20ad3 100644 (file)
@@ -164,7 +164,7 @@ if ($_GET['reset']==1){
         * ensure that addFeeback('CANCELLED') is properly cleaned up, see below
         */
        $msg->addFeedback('CANCELLED');
-       echo '<center><a href="'.$_SERVER['PHP_SELF'].'?reset=2">'._AT('yes_delete').'</a> | <a href="'.$_SERVER['PHP_SELF'].'">'._AT('no_cancel').'</a></center>';
+       echo '<center><a href="'.$_SERVER['PHP_SELF'].'?reset=2">'._AT('yes_delete').'</a> | <a href="'.$_SERVER['PHP_SELF'].'">'._AT('no').'</a></center>';
        require(AT_INCLUDE_PATH.'footer.inc.php');
        exit;
 } else if($_GET['reset']==2) {
index 63e9578..c84fbff 100644 (file)
@@ -37,7 +37,7 @@ require(AT_INCLUDE_PATH.'header.inc.php');
        </div>
 
        <div class="row">
-               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="course_list"><?php echo _AT('import_course_list'); ?></label><br />
+               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="course_list"><?php echo _AT('list_import_course_list'); ?></label><br />
                <input type="file" name="file" id="course_list" />
        </div>
 
index 8ddf2b5..f21393c 100644 (file)
@@ -84,7 +84,7 @@ for ($k = 0; $k < $j; $k++) {
        </div>\r
 \r
        <div class="row">\r
-               <?php echo _AT('user_privileges'); ?><br />\r
+               <?php echo _AT('privileges'); ?><br />\r
                        <table width="100%" border="0" cellspacing="5" cellpadding="0" summary="">\r
                        <tr>\r
                        <?php           \r
index bc4971c..8bfe6f7 100644 (file)
@@ -147,7 +147,7 @@ $msg->printErrors();
                                $n = '';
                        }
                ?>
-               <input type="radio" id="yes" name="approved" value="1" <?php echo $y; ?>><label for="yes"><?php echo _AT('yes1'); ?></label>  <input type="radio" id="no" name="approved" value="0" <?php echo $n; ?>><label for="no"><?php echo _AT('no1'); ?></label>
+               <input type="radio" id="yes" name="approved" value="1" <?php echo $y; ?>><label for="yes"><?php echo _AT('yes'); ?></label>  <input type="radio" id="no" name="approved" value="0" <?php echo $n; ?>><label for="no"><?php echo _AT('no'); ?></label>
        </div>
        
        <div class="row buttons">
index 5f19464..15ef9a2 100644 (file)
@@ -136,7 +136,7 @@ $msg->printErrors();
                                $y = '';\r
                        }\r
                ?>\r
-               <input type="radio" id="yes" name="approved" value="1" <?php echo $y; ?> /><label for="yes"><?php echo _AT('yes1'); ?></label>  <input type="radio" id="no" name="approved" value="0" <?php echo $n; ?> /><label for="no"><?php echo _AT('no1'); ?></label>\r
+               <input type="radio" id="yes" name="approved" value="1" <?php echo $y; ?> /><label for="yes"><?php echo _AT('yes'); ?></label>  <input type="radio" id="no" name="approved" value="0" <?php echo $n; ?> /><label for="no"><?php echo _AT('no'); ?></label>\r
        </div>\r
        \r
        <div class="row buttons">\r
index 04e5de7..72ef10d 100644 (file)
@@ -147,9 +147,9 @@ if (!empty($categories)) {
 \r
                        <td align="center"><?php \r
                                        if($row['Approved']) { \r
-                                               echo _AT('yes1'); \r
+                                               echo _AT('yes'); \r
                                        } else { \r
-                                               echo _AT('no1'); \r
+                                               echo _AT('no'); \r
                                        } ?></td>\r
                        <td align="center"><?php echo $row['hits']; ?></td>\r
                </tr>\r
index 8a6166e..a7a41a8 100644 (file)
@@ -169,8 +169,8 @@ $msg->printErrors();
                                $n = 'checked="checked"';
                        }
                ?>
-               <input type="radio" name="format" id="formatN" value="0" <?php echo $n; ?> /><label for="formatN"><?php echo _AT('no1'); ?></label> 
-               <input type="radio" name="format" id="formatY" value="1" <?php echo $y; ?> /><label for="formatY"><?php echo _AT('yes1'); ?></label>
+               <input type="radio" name="format" id="formatN" value="0" <?php echo $n; ?> /><label for="formatN"><?php echo _AT('no'); ?></label> 
+               <input type="radio" name="format" id="formatY" value="1" <?php echo $y; ?> /><label for="formatY"><?php echo _AT('yes'); ?></label>
        </div>
 
        <div class="row">
@@ -185,8 +185,8 @@ $msg->printErrors();
                        }
                ?>
 
-               <input type="radio" name="anonymous" id="anonN" value="0" <?php echo $n; ?> /><label for="anonN"><?php echo _AT('no1'); ?></label> 
-               <input type="radio" name="anonymous" value="1" id="anonY" <?php echo $y; ?> /><label for="anonY"><?php echo _AT('yes1'); ?></label>
+               <input type="radio" name="anonymous" id="anonN" value="0" <?php echo $n; ?> /><label for="anonN"><?php echo _AT('no'); ?></label> 
+               <input type="radio" name="anonymous" value="1" id="anonY" <?php echo $y; ?> /><label for="anonY"><?php echo _AT('yes'); ?></label>
        </div>
 
        <div class="row">
@@ -222,7 +222,7 @@ $msg->printErrors();
                                $disabled = 'disabled="disabled" ';
                        }
                ?>
-               <input type="radio" name="random" id="random" value="0" checked="checked" onfocus="document.form.num.disabled=true;" /><label for="random"><?php echo _AT('no1'); ?></label>. <input type="radio" name="random" value="1" id="ry" onfocus="document.form.num.disabled=false;" <?php echo $y; ?> /><label for="ry"><?php echo _AT('yes1'); ?></label>, <input type="text" name="num" id="num" size="2" value="<?php echo $_POST['num']; ?>" <?php echo $disabled . $n; ?> /> <label for="num"><?php echo _AT('num_questions_per_test'); ?></label>
+               <input type="radio" name="random" id="random" value="0" checked="checked" onfocus="document.form.num.disabled=true;" /><label for="random"><?php echo _AT('no'); ?></label>. <input type="radio" name="random" value="1" id="ry" onfocus="document.form.num.disabled=false;" <?php echo $y; ?> /><label for="ry"><?php echo _AT('yes'); ?></label>, <input type="text" name="num" id="num" size="2" value="<?php echo $_POST['num']; ?>" <?php echo $disabled . $n; ?> /> <label for="num"><?php echo _AT('num_questions_per_test'); ?></label>
        </div>
 
 
index 2caa175..4e7aafb 100644 (file)
@@ -200,8 +200,8 @@ $msg->printErrors();
                                $n = 'checked="checked"';
                        }
                ?>
-               <input type="radio" name="format" id="formatN" value="0" <?php echo $n; ?> /><label for="formatN"><?php echo _AT('no1'); ?></label> 
-               <input type="radio" name="format" id="formatY" value="1" <?php echo $y; ?> /><label for="formatY"><?php echo _AT('yes1'); ?></label>
+               <input type="radio" name="format" id="formatN" value="0" <?php echo $n; ?> /><label for="formatN"><?php echo _AT('no'); ?></label> 
+               <input type="radio" name="format" id="formatY" value="1" <?php echo $y; ?> /><label for="formatY"><?php echo _AT('yes'); ?></label>
        </div>
 
        <div class="row">
@@ -215,8 +215,8 @@ $msg->printErrors();
                                $n = 'checked="checked"';
                        }
                ?>
-               <input type="radio" name="anonymous" id="anonN" value="0" <?php echo $n; ?> /><label for="anonN"><?php echo _AT('no1'); ?></label>
-               <input type="radio" name="anonymous" value="1" id="anonY" <?php echo $y; ?> /><label for="anonY"><?php echo _AT('yes1'); ?></label>
+               <input type="radio" name="anonymous" id="anonN" value="0" <?php echo $n; ?> /><label for="anonN"><?php echo _AT('no'); ?></label>
+               <input type="radio" name="anonymous" value="1" id="anonY" <?php echo $y; ?> /><label for="anonY"><?php echo _AT('yes'); ?></label>
        </div>
 
        <div class="row">
@@ -253,7 +253,7 @@ $msg->printErrors();
                                $disabled = 'disabled="disabled" ';
                        }
                ?>
-               <input type="radio" name="random" id="random" value="0" checked="checked" onfocus="document.form.num_questions.disabled=true;" /><label for="random"><?php echo _AT('no1'); ?></label>. <input type="radio" name="random" value="1" id="ry" onfocus="document.form.num_questions.disabled=false;" <?php echo $y; ?> /><label for="ry"><?php echo _AT('yes1'); ?></label>, <input type="text" name="num_questions" id="num_questions" size="2" value="<?php echo $_POST['num_questions']; ?>" <?php echo $disabled . $n; ?> /> <label for="num_questions"><?php echo _AT('num_questions_per_test'); ?></label>
+               <input type="radio" name="random" id="random" value="0" checked="checked" onfocus="document.form.num_questions.disabled=true;" /><label for="random"><?php echo _AT('no'); ?></label>. <input type="radio" name="random" value="1" id="ry" onfocus="document.form.num_questions.disabled=false;" <?php echo $y; ?> /><label for="ry"><?php echo _AT('yes'); ?></label>, <input type="text" name="num_questions" id="num_questions" size="2" value="<?php echo $_POST['num_questions']; ?>" <?php echo $disabled . $n; ?> /> <label for="num_questions"><?php echo _AT('num_questions_per_test'); ?></label>
        </div>
 
        <div class="row">
index 0a324af..3df1ef1 100644 (file)
@@ -20,7 +20,7 @@ require(AT_INCLUDE_PATH.'vitals.inc.php');
 authenticate(AT_PRIV_TESTS);\r
 $_section[0][0] = _AT('tools');\r
 $_section[0][1] = 'tools/';\r
-$_section[1][0] = _AT('test_manager');\r
+$_section[1][0] = _AT('tests');\r
 $_section[1][1] = 'tools/tests';\r
 $_section[2][0] = _AT('results');\r
 \r
index 30f11ea..b6611ca 100644 (file)
@@ -67,10 +67,10 @@ $msg->printAll();
                <?php echo _AT('search_in'); ?></label><br />
 
                <input type="radio" name="field" value="anyField" id="taf" <?php if (!isset($_GET['field']) || ($_GET['field'] == 'anyField')) { echo 'checked="checked"'; } ?> /><label for="taf"><?php echo _AT('tile_any_field'); ?></label><br />
-               <input type="radio" name="field" value="title" id="tt" <?php if ($_GET['field'] == 'title') { echo 'checked="checked"'; } ?> /><label for="tt"><?php echo _AT('tile_title'); ?></label><br />
+               <input type="radio" name="field" value="title" id="tt" <?php if ($_GET['field'] == 'title') { echo 'checked="checked"'; } ?> /><label for="tt"><?php echo _AT('title'); ?></label><br />
                <input type="radio" name="field" value="author" id="ta" <?php if ($_GET['field'] == 'author') { echo 'checked="checked"'; } ?> /><label for="ta"><?php echo _AT('tile_author'); ?></label><br />
                <input type="radio" name="field" value="subject" id="tk" <?php if ($_GET['field'] == 'subject') { echo 'checked="checked"'; } ?> /><label for="tk"><?php echo _AT('tile_keyword'); ?></label><br />
-               <input type="radio" name="field" value="description" id="td" <?php if ($_GET['field'] == 'description') { echo 'checked="checked"'; } ?> /><label for="td"><?php echo _AT('tile_description'); ?></label><br />
+               <input type="radio" name="field" value="description" id="td" <?php if ($_GET['field'] == 'description') { echo 'checked="checked"'; } ?> /><label for="td"><?php echo _AT('description'); ?></label><br />
                <input type="radio" name="field" value="technicalFormat" id="tf" <?php if ($_GET['field'] == 'technicalFormat') { echo 'checked="checked"'; } ?> /><label for="tf"><?php echo _AT('tile_technical_format'); ?></label>
        </div>