]> git.mjollnir.org Git - moodle.git/commitdiff
Some small changes ... made the heading a real heading and removed
authormoodler <moodler>
Fri, 17 Oct 2003 08:42:12 +0000 (08:42 +0000)
committermoodler <moodler>
Fri, 17 Oct 2003 08:42:12 +0000 (08:42 +0000)
includes from the template

mod/glossary/edit.html
mod/glossary/edit.php

index 111e3f13c734e3b1ae83a1592e512c190448d0e0..14258bd8374edb3e5235f7f45a95f893d0221dc7 100644 (file)
@@ -1,9 +1,5 @@
-<?php
-       global $CFG, $THEME;
-       require_once("../../config.php");
-       require_once("lib.php");
-?>
-<FORM name="theform" method="post" <?=$onsubmit ?> action="edit.php" enctype="multipart/form-data">
+<center>
+<form name="theform" method="post" <?=$onsubmit ?> action="edit.php" enctype="multipart/form-data">
 <table  class=generalbox cellpadding=5 bgcolor="<?php p($THEME->cellheading)?>">
 <tr valign=top>
     <td align=right><p><b><?php echo get_string("concept","glossary") ?>:</b></p></td>
 </td>
 </tr>
 </table>
-</p>
+</center>
 
 
 </form>
index cb4b69066378fb139869de428d34c90a069df4eb..f9a45b00b570e63d3a68c553292cc53a7747fb64 100644 (file)
@@ -171,11 +171,7 @@ print_header(strip_tags("$course->shortname: $glossary->name"), "$course->fullna
               <A HREF=\"view.php?id=$cm->id\">$glossary->name</A> -> $stredit", "theform.text",
               "", true, "", navmenu($course, $cm));
 
-echo "<CENTER>\n";
-
-print_simple_box( text_to_html($glossary->name) , "center");
-
-echo "<BR>";
+print_heading($glossary->name);
 
 include("edit.html");