Minor - Updated langvar to follow coding conventions

skala
ywarnier 14 years ago
parent 7b0394e698
commit f6d8bca0fb
  1. 2
      main/newscorm/learnpath_functions.inc.php
  2. 2
      main/newscorm/resourcelinker.php
  3. 2
      main/resourcelinker/resourcelinker.inc.php

@ -475,7 +475,7 @@ function display_learnpath_chapters($parent_item_id = 0, $tree = array (), $leve
$result_items2 = Database::query($sql_items2);
$number_items2 = Database::num_rows($result_items2);
if ($number_items2 == 0) {
echo get_lang('prereq_deleted_error');
echo get_lang('PrerequisiteDeletedError');
}
$row_items2 = Database::fetch_array($result_items2);
display_addedresource_link_in_learnpath($row_items2['item_type'], $row_items2['ref'], '', $row_items2['id'], 'builder', '', 0);

@ -220,7 +220,7 @@ if ($add) {
case 'Drop':
//$addedresource_item = 'Dropbox';
$addedresource_item = TOOL_DROPBOX;
$title = get_lang('dropbox');
$title = get_lang('Dropbox');
break;
case 'Intro':
$addedresource_item = 'Introduction_text';

@ -654,7 +654,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_
}
if (($builder != 'builder') and ($icon != 'wrap')) { echo "</td><td>"; }
if ($myrow["forum_name"]=='') { $type="Forum"; echo "<span class='messagesmall'>".get_lang('StepDeleted1')." $type ".get_lang('step_deleted2')."</span>"; return(true); }
if ($myrow["forum_name"]=='') { $type="Forum"; echo "<span class='messagesmall'>".get_lang('StepDeleted1')." $type ".get_lang('StepDeleted2')."</span>"; return(true); }
if ($icon == 'nolink') { return(shorten($myrow["forum_name"],$length)); }
if ($icon == 'icon') { echo "<img src='../img/forum.gif' align=\"absmiddle\" alt='forum'>"; }

Loading…
Cancel
Save