[svn r9973] Language cleanup according to coding standards

skala
Patrick Cool 19 years ago
parent 4a5921b862
commit abc5c38da9
  1. 4
      main/auth/lost_password.lib.php
  2. 6
      main/blog/blog_admin.php
  3. 4
      main/calendar/agenda.php
  4. 4
      main/exercice/answer_admin.inc.php
  5. 16
      main/inc/lib/blog.lib.php

@ -1,5 +1,5 @@
<?php
// $Id: lost_password.lib.php 9246 2006-09-25 13:24:53Z bmol $
// $Id: lost_password.lib.php 9973 2006-11-14 14:53:22Z pcool $
/*
==============================================================================
Dokeos - elearning and course management software
@ -85,7 +85,7 @@ function handle_encrypted_password($user)
$secretword = get_secret_word($emailTo);
$emailBody = get_lang("password_request")."\n\n\n".get_lang("YourAccountParam")." $rootWeb\n\n".$userAccountList;
if (@ api_send_mail($emailTo, $emailSubject, $emailBody, $emailHeaders))
return get_lang("lang_your_password_has_been_emailed_to_you");
return get_lang('YourPasswordHasBeenEmailed');
else
echo "<p>", "The system is unable to send you an e-mail.<br/>", "Please contact the ", Display::encrypted_mailto_link(get_setting('emailAdministrator'),"platform administrator"), ".<p>";
return "";

@ -95,9 +95,9 @@ api_display_tool_title($nameTools);
"<img src='../img/blog.gif' border=\"0\" align=\"absmiddle\" alt='scormbuilder'>&nbsp;&nbsp;".get_lang('AddBlog')."</a>";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"2\" class='data_table'>";
echo "<tr bgcolor=\"$color2\" align=\"center\" valign=\"top\">",
"<td width='290'><b>",get_lang("langTitle"),"</b></td>\n",
"<td><b>",get_lang("langSubtitle"),"</b></td>\n",
"<td width='200'><b>",get_lang("Modify"),"</b></td>\n",
"<td width='290'><b>",get_lang('Title'),"</b></td>\n",
"<td><b>",get_lang('Subtitle'),"</b></td>\n",
"<td width='200'><b>",get_lang('Modify'),"</b></td>\n",
"</tr>\n";
Blog::display_blog_list();
echo "</table>";

@ -1,4 +1,4 @@
<?php //$Id: agenda.php 9246 2006-09-25 13:24:53Z bmol $
<?php //$Id: agenda.php 9973 2006-11-14 14:53:22Z pcool $
/*
==============================================================================
Dokeos - elearning and course management software
@ -168,7 +168,7 @@ $htmlHeadXtra[] = user_group_filter_javascript();
$htmlHeadXtra[] = "<script src=\"tbl_change.js\" type=\"text/javascript\" language=\"javascript\"></script>";
// setting the name of the tool
$nameTools = get_lang("langcalendar_event"); // language variable in trad4all.inc.php
$nameTools = get_lang('Agenda'); // language variable in trad4all.inc.php
// showing the header if we are not in the learning path, if we are in
// the learning path, we do not include the banner so we have to explicitly

@ -1,4 +1,4 @@
<?php // $Id: answer_admin.inc.php 9972 2006-11-14 14:44:37Z pcool $
<?php // $Id: answer_admin.inc.php 9973 2006-11-14 14:53:22Z pcool $
/*
==============================================================================
Dokeos - elearning and course management software
@ -1313,7 +1313,7 @@ if($modifyAnswers)
<tr>
<td><?php echo $val; ?></td>
<td colspan="3"><input type="text" name="option[<?php echo $key; ?>]" size="80" value="<?php if(!$formSent && !isset($option[$key])) echo get_lang("langDefaultMatchingOpt$val"); else echo htmlentities($option[$key]); ?>"></td>
<td colspan="3"><input type="text" name="option[<?php echo $key; ?>]" size="80" value="<?php if(!$formSent && !isset($option[$key])) echo get_lang("DefaultMatchingOpt$val"); else echo htmlentities($option[$key]); ?>"></td>
</tr>
<?php

@ -1200,10 +1200,10 @@ class Blog
echo '<span class="blogpost_title">' . get_lang('TaskList') . '</span><br />';
echo "<table class=\"data_table\">";
echo "<tr bgcolor=\"$color2\" align=\"center\" valign=\"top\">",
"<th width='240'><b>",get_lang("langTitle"),"</b></th>\n",
"<th><b>",get_lang("langDescription"),"</b></th>\n",
"<th><b>",get_lang("langColor"),"</b></th>\n",
"<th width='50'><b>",get_lang("Modify"),"</b></th>\n",
"<th width='240'><b>",get_lang('Title'),"</b></th>\n",
"<th><b>",get_lang('Description'),"</b></th>\n",
"<th><b>",get_lang('Color'),"</b></th>\n",
"<th width='50'><b>",get_lang('Modify'),"</b></th>\n",
"</tr>\n";
@ -1270,10 +1270,10 @@ class Blog
echo '<span class="blogpost_title">' . get_lang('AssignedTasks') . '</span><br />';
echo "<table class=\"data_table\">";
echo "<tr bgcolor=\"$color2\" align=\"center\" valign=\"top\">",
"<th width='240'><b>",get_lang("langMember"),"</b></th>\n",
"<th><b>",get_lang("langTask"),"</b></th>\n",
"<th><b>",get_lang("langTargetDate"),"</b></th>\n",
"<th width='50'><b>",get_lang("Modify"),"</b></th>\n",
"<th width='240'><b>",get_lang('Member'),"</b></th>\n",
"<th><b>",get_lang('Task'),"</b></th>\n",
"<th><b>",get_lang('TargetDate'),"</b></th>\n",
"<th width='50'><b>",get_lang('Modify'),"</b></th>\n",
"</tr>\n";

Loading…
Cancel
Save