]> git.mjollnir.org Git - moodle.git/commitdiff
Help buttons fixed
authormoodler <moodler>
Sun, 17 Aug 2003 02:32:24 +0000 (02:32 +0000)
committermoodler <moodler>
Sun, 17 Aug 2003 02:32:24 +0000 (02:32 +0000)
course/scales.php

index ec34c429ef3a5b780e9ebc7d9850f638d9010bbb..05ef4fcfe8175facf4959dfe9a0ef8cfedc2288e 100644 (file)
                  "<a href=\"view.php?id=$course->id\">$course->shortname</A> 
                   -> $strscales", $focus);
 
-    print_heading($strcustomscales);
+    print_heading_with_help($strcustomscales, "scales");
 
     if (!empty($notify)) {
         notify($notify);
         }
         echo "<td align=\"right\"><p>$strname:</p></td>";
         echo "<td $class><input type=\"text\" name=\"name\" size=\"50\" value=\"".s($scale->name)."\">";
-        helpbutton("scalename", $strname);
         echo "</td>";
         echo "</tr>";
         echo "<tr valign=top>";
         }
         echo "<td align=\"right\"><p>$strscale:</p></td>";
         echo "<td $class><textarea name=\"scale\" cols=50 rows=1 wrap=virtual>".s($scale->scale)."</textarea>";
-        helpbutton("scale", $strscale);
         echo "</td>";
         echo "</tr>";
         echo "<tr valign=top>";
         echo "<td align=\"right\"><p>$strdescription:</p></td>";
         echo "<td><textarea name=\"description\" cols=50 rows=8 wrap=virtual>".s($scale->description)."</textarea>";
-        helpbutton("scaledescription", get_string("scaledescription"));
+        helpbutton("text", get_string("text"));
         echo "</td>";
         echo "</tr>";
         echo "<tr>";