after removing empty line at top of section the editing icon was now a bit cramped in, so added an empty line below it but only if editing is on.

This commit is contained in:
gustav_delius 2004-09-30 18:56:08 +00:00
parent eab617f96c
commit dfc12289a3
3 changed files with 5 additions and 5 deletions

View File

@ -108,7 +108,7 @@
if (isediting($course->id)) {
echo "<a title=\"$streditsummary\" ".
" href=\"editsection.php?id=$thissection->id\"><img src=\"$CFG->pixpath/t/edit.gif\" ".
" height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" /></a><br />";
" height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" /></a><br /><br />";
}
print_section($course, $thissection, $mods, $modnamesused);
@ -197,7 +197,7 @@
if (isediting($course->id)) {
echo " <a title=\"$streditsummary\" href=\"editsection.php?id=$thissection->id\">".
"<img src=\"$CFG->pixpath/t/edit.gif\" border=\"0\" height=\"11\" width=\"11\" alt=\"\" /></a><br />";
"<img src=\"$CFG->pixpath/t/edit.gif\" border=\"0\" height=\"11\" width=\"11\" alt=\"\" /></a><br /><br />";
}
print_section($course, $thissection, $mods, $modnamesused);

View File

@ -97,7 +97,7 @@
if (isediting($course->id)) {
echo " <a title=\"$streditsummary\" ".
" href=\"editsection.php?id=$thissection->id\"><img height=\"11\" width=\"11\" src=\"$CFG->pixpath/t/edit.gif\" ".
" border=\"0\" alt=\"$streditsummary\" /></a><br />";
" border=\"0\" alt=\"$streditsummary\" /></a><br /><br />";
}
print_section($course, $thissection, $mods, $modnamesused);
@ -190,7 +190,7 @@
if (isediting($course->id)) {
echo " <a title=\"$streditsummary\" href=\"editsection.php?id=$thissection->id\">".
"<img src=\"$CFG->pixpath/t/edit.gif\" height=\"11\" width=\"11\" border=\"0\" /></a><br />";
"<img src=\"$CFG->pixpath/t/edit.gif\" height=\"11\" width=\"11\" border=\"0\" /></a><br /><br />";
}
print_section($course, $thissection, $mods, $modnamesused);

View File

@ -192,7 +192,7 @@
$streditsummary = get_string('editsummary');
echo "<a title=\"$streditsummary\" ".
" href=\"course/editsection.php?id=$section->id\"><img src=\"$CFG->pixpath/t/edit.gif\" ".
" height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" /></a><br />";
" height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" /></a><br /><br />";
}
get_all_mods($site->id, $mods, $modnames, $modnamesplural, $modnamesused);