From c03ebabebc9c3aed105692ecfe70f9198eaa59b0 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 1 Mar 2007 06:06:16 +0000 Subject: [PATCH] replacing fieldsets with divs in small forms --- lib/weblib.php | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index e53d70ed26..16fbcbe247 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3061,13 +3061,13 @@ function print_single_button($link, $options, $label='OK', $method='get', $targe $output .= '
'; // taking target out, will need to add later target="'.$target.'" $output .= '
'; - $output .= '
'; + $output .= '
'; if ($options) { foreach ($options as $name => $value) { $output .= ''; } } - $output .= '
'; + $output .= ''; if ($return) { return $output; @@ -3920,12 +3920,12 @@ function update_course_icon($courseid) { } return '
frametarget.' method="get" action="'.$CFG->wwwroot.'/course/view.php">'. - '
'. + '
'. ''. ''. ''. ''. - '
'; + ''; } } @@ -3990,9 +3990,9 @@ function update_mymoodle_icon() { } return "
frametarget method=\"get\" action=\"$CFG->wwwroot/my/index.php\">". - "
". + "
". "". - "
"; + ""; } /** @@ -4009,11 +4009,11 @@ function update_module_button($moduleid, $courseid, $string) { $string = get_string('updatethis', '', $string); return "
frametarget method=\"get\" action=\"$CFG->wwwroot/course/mod.php\" onsubmit=\"this.target='{$CFG->framename}'; return true\">".//hack to allow edit on framed resources - "
". + "
". "". "". "". - "
"; + ""; } else { return ''; } @@ -4041,11 +4041,11 @@ function update_category_button($categoryid) { } return "
frametarget method=\"get\" action=\"$CFG->wwwroot/course/category.php\">". - '
'. + '
'. "". "". "sesskey\" />". - "
"; + ""; } } @@ -4069,10 +4069,10 @@ function update_categories_button() { } return "
frametarget method=\"get\" action=\"$CFG->wwwroot/course/index.php\">". - '
'. + '
'. ''. ''. - '
'; + ''; } } @@ -4096,13 +4096,13 @@ function update_categories_search_button($search,$page,$perpage) { } return "
frametarget method=\"get\" action=\"$CFG->wwwroot/course/search.php\">". - '
'. + '
'. "". "sesskey\" />". "". "". "". - "
"; + ""; } } @@ -4122,11 +4122,11 @@ function update_group_button($courseid, $groupid) { $string = get_string('editgroupprofile'); return "
frametarget method=\"get\" action=\"$CFG->wwwroot/course/group.php\">". - '
'. + '
'. ''. ''. ''. - '
'; + ''; } } @@ -4152,10 +4152,10 @@ function update_groups_button($courseid) { } return "
frametarget method=\"get\" action=\"$CFG->wwwroot/course/groups.php\">". - '
'. + '
'. "". "". - "
"; + ""; } } @@ -4324,18 +4324,17 @@ function navmenu($course, $cm=NULL, $targetwindow='self') { } if ($backmod) { $backtext= get_string('activityprev', 'access'); - $backmod = '
  • frametarget.'>
    '. + $backmod = '
  • frametarget.'>
    '. ''. '
  • '; + ''.$backtext.''; } if ($nextmod) { $nexttext= get_string('activitynext', 'access'); - $nextmod = '
  • frametarget.'>
    '. + $nextmod = '
  • frametarget.'>
    '. ''. '
  • '; + ''.$nexttext.''; } return '