MDL-24316 new lang string, improved visualisation

This commit is contained in:
Petr Skoda 2010-10-14 10:20:30 +00:00
parent 04cc7da3e4
commit 46b2346b57
3 changed files with 4 additions and 9 deletions

View File

@ -264,18 +264,15 @@ if ($PAGE->user_is_editing() && has_capability('moodle/course:update', get_conte
continue;
}
$strstealth = 'Invisible topic'; //TODO: MDL-24316 to be localised after we decide how to call this (skodak)
echo '<li id="section-'.$section.'" class="section main clearfix stealth hidden">'; //'<div class="left side">&nbsp;</div>';
echo '<li id="section-'.$section.'" class="section main clearfix orphaned hidden">'; //'<div class="left side">&nbsp;</div>';
echo '<div class="left side">';
echo $strstealth;
echo '</div>';
// Note, 'right side' is BEFORE content.
echo '<div class="right side">';
echo $strstealth;
echo '</div>';
echo '<div class="content">';
echo $OUTPUT->heading(get_string('orphanedactivities'), 3, 'sectionname');
print_section($course, $thissection, $mods, $modnamesused);
echo '</div>';
echo "</li>\n";

View File

@ -264,18 +264,15 @@ defined('MOODLE_INTERNAL') || die();
continue;
}
$strstealth = 'Invisible week'; //TODO: MDL-24316 to be localised after we decide how to call this (skodak)
echo '<li id="section-'.$section.'" class="section main clearfix stealth hidden">'; //'<div class="left side">&nbsp;</div>';
echo '<div class="left side">';
echo $strstealth;
echo '</div>';
// Note, 'right side' is BEFORE content.
echo '<div class="right side">';
echo $strstealth;
echo '</div>';
echo '<div class="content">';
echo $OUTPUT->heading(get_string('orphanedactivities'), 3, 'sectionname');
print_section($course, $thissection, $mods, $modnamesused);
echo '</div>';
echo "</li>\n";

View File

@ -1212,6 +1212,7 @@ $string['olduserdirectory'] = 'This is the OLD users directory, and is no longer
$string['opentoguests'] = 'Guest access';
$string['optional'] = 'optional';
$string['order'] = 'Order';
$string['orphanedactivities'] = 'Orphaned activities';
$string['other'] = 'Other';
$string['outline'] = 'Outline';
$string['outlinereport'] = 'Outline report';