]> git.mjollnir.org Git - moodle.git/commitdiff
adding fieldset MDL-7861
authortoyomoyo <toyomoyo>
Thu, 4 Jan 2007 05:49:29 +0000 (05:49 +0000)
committertoyomoyo <toyomoyo>
Thu, 4 Jan 2007 05:49:29 +0000 (05:49 +0000)
lib/weblib.php
theme/standard/styles_layout.css

index dc0054a1cd82bf83dcf46292ddfc1bf16a702e59..a1cdda38c67fd03ee36044927927eade24732c53 100644 (file)
@@ -4299,17 +4299,17 @@ function navmenu($course, $cm=NULL, $targetwindow='self') {
     }
     if ($backmod) {     
         $backtext= get_string('activityprev', 'access');
-        $backmod = '<form action="'.$CFG->wwwroot.'/mod/'.$backmod->mod.'/view.php"'.$target.'>'.
+        $backmod = '<form action="'.$CFG->wwwroot.'/mod/'.$backmod->mod.'/view.php"'.$target.'><fieldset>'.
                    '<input type="hidden" name="id" value="'.$backmod->cm.'" />'.
                    '<button type="submit" title="'.$backtext.'">'.$THEME->larrow.
-                   '<span class="accesshide">'.$backtext.'</span></button></form>';
+                   '<span class="accesshide">'.$backtext.'</span></button></fieldset></form>';
     }
     if ($nextmod) {    
         $nexttext= get_string('activitynext', 'access');
-        $nextmod = '<form action="'.$CFG->wwwroot.'/mod/'.$nextmod->mod.'/view.php" '.$target.'>'.
+        $nextmod = '<form action="'.$CFG->wwwroot.'/mod/'.$nextmod->mod.'/view.php" '.$target.'><fieldset>'.
                    '<input type="hidden" name="id" value="'.$nextmod->cm.'" />'.
                    '<button type="submit" title="'.$nexttext.'">'.$THEME->rarrow.
-                   '<span class="accesshide">'.$nexttext.'</span></button></form>';
+                   '<span class="accesshide">'.$nexttext.'</span></button></fieldset></form>';
     }
 
     return "<table><tr>\n<td>".$logslink .'</td><td>'. $backmod .'</td><td>' .
index 3d017d59e753c90b2eb63de02a8560af5ee3b17d..6a794fd1ed7f0268a4a5fa0e4500c9f7feff50ac 100644 (file)
@@ -418,6 +418,10 @@ form#adminsettings div.htmlarea {
   text-align:right;
 }
 
+.headermenu fieldset{
+  border: 0;  
+}
+
 .navbar {
   width:auto;
   padding:3px 0.5em;