mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
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:
parent
eab617f96c
commit
dfc12289a3
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user