More style changes. Will it ever end? (SE)
This commit is contained in:
@@ -4,7 +4,7 @@ function glossary_show_entry_continuous($course, $cm, $glossary, $entry, $mode='
|
||||
|
||||
global $USER;
|
||||
|
||||
echo '<table class="glossarypost continuous">';
|
||||
echo '<table class="glossarypost continuous" cellspacing="0">';
|
||||
echo '<tr valign="top">';
|
||||
echo '<td class="entry">';
|
||||
glossary_print_entry_approval($cm, $entry, $mode);
|
||||
|
||||
@@ -4,7 +4,7 @@ function glossary_show_entry_dictionary($course, $cm, $glossary, $entry, $mode='
|
||||
|
||||
global $CFG, $USER;
|
||||
|
||||
echo '<table class="glossarypost dictionary">';
|
||||
echo '<table class="glossarypost dictionary" cellspacing="0">';
|
||||
echo '<tr valign="top">';
|
||||
echo '<td class="entry">';
|
||||
glossary_print_entry_approval($cm, $entry, $mode);
|
||||
|
||||
@@ -9,7 +9,7 @@ function glossary_show_entry_encyclopedia($course, $cm, $glossary, $entry, $mode
|
||||
|
||||
$return = false;
|
||||
if ($entry) {
|
||||
echo '<table class="glossarypost encyclopedia" align="center">';
|
||||
echo '<table class="glossarypost encyclopedia" cellspacing="0">';
|
||||
echo '<tr valign="top">';
|
||||
echo '<td class="picture">';
|
||||
|
||||
@@ -48,6 +48,7 @@ function glossary_show_entry_encyclopedia($course, $cm, $glossary, $entry, $mode
|
||||
|
||||
if ($printicons or $ratings or $aliases) {
|
||||
echo '</td></tr>';
|
||||
echo '<tr>';
|
||||
echo '<td class="left"> </td>';
|
||||
echo '<td colspan="2" class="entrylowersection">';
|
||||
$return = glossary_print_entry_lower_section($course, $cm, $glossary, $entry,$mode,$hook,$printicons,$ratings, $aliases);
|
||||
|
||||
@@ -5,7 +5,7 @@ function glossary_show_entry_entrylist($course, $cm, $glossary, $entry, $mode=''
|
||||
|
||||
$return = false;
|
||||
|
||||
echo '<table class="glossarypost entrylist">';
|
||||
echo '<table class="glossarypost entrylist" cellspacing="0">';
|
||||
|
||||
echo '<tr valign="top">';
|
||||
echo '<td class="entry">';
|
||||
|
||||
@@ -5,7 +5,7 @@ function glossary_show_entry_faq($course, $cm, $glossary, $entry, $mode="", $hoo
|
||||
$return = false;
|
||||
if ( $entry ) {
|
||||
|
||||
echo '<table class="glossarypost faq">';
|
||||
echo '<table class="glossarypost faq" cellspacing="0">';
|
||||
|
||||
echo '<tr valign="top">';
|
||||
echo '<td class="entryheader">';
|
||||
|
||||
@@ -9,7 +9,7 @@ function glossary_show_entry_fullwithauthor($course, $cm, $glossary, $entry, $mo
|
||||
|
||||
$return = false;
|
||||
if ($entry) {
|
||||
echo '<table class="glossarypost fullwithauthor">';
|
||||
echo '<table class="glossarypost fullwithauthor" cellspacing="0">';
|
||||
echo '<tr valign="top">';
|
||||
|
||||
echo '<td class="picture">';
|
||||
|
||||
@@ -6,7 +6,7 @@ function glossary_show_entry_fullwithoutauthor($course, $cm, $glossary, $entry,
|
||||
|
||||
$return = false;
|
||||
if ($entry) {
|
||||
echo "\n".'<table class="glossarypost fullwithoutauthor" align="center">';
|
||||
echo '<table class="glossarypost fullwithoutauthor" cellspacing="0">';
|
||||
echo '<tr valign="top">';
|
||||
|
||||
echo '<td class="entryheader">';
|
||||
|
||||
@@ -1965,9 +1965,8 @@ function glossary_print_ratings_mean($entryid, $scale) {
|
||||
$strratings = get_string("ratings", "glossary");
|
||||
}
|
||||
|
||||
echo "<font size=\"-1\">$strratings: ";
|
||||
echo "$strratings: ";
|
||||
link_to_popup_window ("/mod/glossary/report.php?id=$entryid", "ratings", $mean, 400, 600);
|
||||
echo "</font>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -378,7 +378,7 @@
|
||||
|
||||
|
||||
if ($ratingsmenuused) {
|
||||
echo "<p><center><input type=\"submit\" value=\"".get_string("sendinratings", "glossary")."\" />";
|
||||
echo "<center><input type=\"submit\" value=\"".get_string("sendinratings", "glossary")."\" />";
|
||||
if ($glossary->scale < 0) {
|
||||
if ($scale = get_record("scale", "id", abs($glossary->scale))) {
|
||||
print_scale_menu_helpbutton($course->id, $scale );
|
||||
|
||||
Reference in New Issue
Block a user