Permalink
Browse files

Fixing Bug #1765 (mystery fix)

  • Loading branch information...
1 parent ed1354d commit 66991ecaf41380caea672e00db1974ef13ca2a91 julmis committed Aug 22, 2004
Showing with 11 additions and 17 deletions.
  1. +11 −17 mod/glossary/edit.html
View
@@ -46,7 +46,7 @@
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td valign="top" align=right><p><b>
- <?php
+ <?php
echo get_string("aliases","glossary");
echo ':<br />';
helpbutton("aliases", strip_tags(get_string("aliases", "glossary")), "glossary");
@@ -58,7 +58,7 @@
</tr>
<tr>
<td colspan="2">
-<?php
+<?php
if ( !$glossary->usedynalink ) {
echo '<input type="hidden" name=usedynalink value="0">';
echo '<input type="hidden" name=casesensitive value="0">';
@@ -75,7 +75,7 @@
echo '<font size="-1">';
print_string("entryusedynalink","glossary");
echo '</font>';
- echo helpbutton("usedynalink", strip_tags(get_string("usedynalink", "glossary")), "glossary");
+ echo helpbutton("usedynalink", strip_tags(get_string("usedynalink", "glossary")), "glossary");
echo '<br />';
if (!empty($newentry->casesensitive)) {
@@ -103,7 +103,7 @@
echo helpbutton("fullmatch", strip_tags(get_string("fullmatch", "glossary")), "glossary");
echo '<br />';
}
-?>
+?>
</td>
</tr>
</table></td>
@@ -122,23 +122,23 @@
helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
} else {
emoticonhelpbutton("form", "description");
- }
+ }
?>
<br />
</font>
</td>
<td>
<?php
print_textarea($usehtmleditor, 20, 60, 680, 400, "text", $newentry->definition);
-
+
echo "<p align=right>";
helpbutton("textformat", get_string("helpformatting"));
print_string("formattexttype");
echo ":&nbsp;";
if (!isset($newentry->format)) {
$newentry->format = $defaultformat;
}
- choose_from_menu(format_text_menu(), "format", $newentry->format, "");
+ choose_from_menu(format_text_menu(), "format", $newentry->format, "");
echo "</p>";
?>
</td>
@@ -147,10 +147,10 @@
<td align=right><p><b><?php print_string("attachment", "glossary") ?>:<br />(<?php print_string("optional") ?>)&nbsp;</b></p></td>
<td>
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo get_max_upload_file_size($CFG->maxbytes, $course->maxbytes) ?>">
- <input type="file" name="attachment" size=40>
- <?php
- helpbutton("attachment", get_string("attachment", "glossary"), "glossary");
- print_string("maxsize", "", display_size(get_max_upload_file_size($CFG->maxbytes, $course->maxbytes)));
+ <input type="file" name="attachment" size=40>
+ <?php
+ helpbutton("attachment", get_string("attachment", "glossary"), "glossary");
+ print_string("maxsize", "", display_size(get_max_upload_file_size($CFG->maxbytes, $course->maxbytes)));
?>
</td>
</tr>
@@ -182,9 +182,3 @@
</form>
-<?php
- if ($usehtmleditor) {
- print_richedit_javascript("form", "text", "yes");
- }
-?>
-

0 comments on commit 66991ec

Please sign in to comment.