version 1.46, 2009/02/26 16:17:29
|
version 1.48, 2009/07/27 12:12:47
|
Line 258 sub blocking_blogdisplay {
|
Line 258 sub blocking_blogdisplay {
|
if ($blockcause eq 'user') { |
if ($blockcause eq 'user') { |
$output .= &mt('This is because you are a student in one or more courses in which communication is being blocked.'); |
$output .= &mt('This is because you are a student in one or more courses in which communication is being blocked.'); |
if ($html) { |
if ($html) { |
$output .= '<br />'. |
#$output .= '<br />'. |
&Apache::loncommon::build_block_table($startblock, |
#&Apache::loncommon::build_block_table($startblock, |
$endblock,\%setters); |
# $endblock,\%setters); |
|
my ($blocked, $blocktext) = Apache::loncommon::blocking_status('blogs'); |
|
$output .= '<br /><br />'.$blocktext; |
} |
} |
} else { |
} else { |
$output .= &mt('This is because the blog owner is a student in one or more courses in which communication is being blocked.'); |
$output .= &mt('This is because the blog owner is a student in one or more courses in which communication is being blocked.'); |
Line 390 sub handler {
|
Line 392 sub handler {
|
} |
} |
# Add a new feed |
# Add a new feed |
if (($html) && ($edit)) { |
if (($html) && ($edit)) { |
|
$r->print('<h4>' . &mt('New RSS Feed or Blog'). '</h4>'); |
$r->print('<form method="post" name="makenewfeed">'); |
$r->print('<form method="post" name="makenewfeed">'); |
$r->print(&mt('Name').": <input type='text' size='40' name='namenewblog' />"); |
$r->print(&mt('Name').": <input type='text' size='40' name='namenewblog' />"); |
$r->print('<input type="submit" value="'.&mt('New Feed').'" />'); |
$r->print('<input type="submit" value="'.&mt('New Feed').'" />'); |