Explorar el Código

[svn r10794] replace static text by language vars

Julian Prud'homme hace 18 años
padre
commit
d7b800d3d5
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 2
      main/exercice/exercice.php
  2. 1 1
      main/forum/newthread.php

+ 2 - 2
main/exercice/exercice.php

@@ -24,7 +24,7 @@
 *	@author Olivier Brouckaert, original author
 *	@author Denes Nagy, HotPotatoes integration
 *	@author Wolfgang Schneider, code/html cleanup
-* 	@version $Id: exercice.php 10793 2007-01-19 09:17:15Z elixir_inter $
+* 	@version $Id: exercice.php 10794 2007-01-19 09:47:04Z elixir_julian $
 */
 
 
@@ -813,7 +813,7 @@ $message = "<p>You attempt for the test #test# has been viewed/commented/correct
 		  <td width="<?php if($is_allowedToEdit) echo '35'; else echo '55'; ?>%"><?php echo get_lang("Exercice"); ?></td>
 		  <td width="30%"><?php echo get_lang("Date"); ?></td>
 		  <td width="15%"><?php echo get_lang("Result"); ?></td>
-		  <td width="15%"><?php echo $is_allowedToEdit?"Correct Test":"View Test"; ?></td>
+		  <td width="15%"><?php echo $is_allowedToEdit?get_lang("CorrectTest"):get_lang("ViewTest"); ?></td>
 
 
 		 </tr>

+ 1 - 1
main/forum/newthread.php

@@ -109,7 +109,7 @@ $current_forum_category=get_forumcategory_information($current_forum['forum_cate
 $interbreadcrumb[]=array("url" => "index.php","name" => $nameTools);
 $interbreadcrumb[]=array("url" => "viewforumcategory.php?forumcategory=".$current_forum_category['cat_id'],"name" => $current_forum_category['cat_title']);
 $interbreadcrumb[]=array("url" => "viewforum.php?forum=".$_GET['forum'],"name" => $current_forum['forum_title']);
-$interbreadcrumb[]=array("url" => "newthread.php?forum=".$_GET['forum'],"name" => get_lang('NewThread'));
+$interbreadcrumb[]=array("url" => "newthread.php?forum=".$_GET['forum'],"name" => get_lang('NewTopic'));
 
 /*
 -----------------------------------------------------------