From b0542a1e20fd508929709120dfeb1990ded46f18 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 30 Sep 2004 10:52:48 +0000 Subject: [PATCH] Jump -> go on popup menus --- lib/weblib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index fe641d9b4d..12578d8d06 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -633,14 +633,14 @@ function choose_from_menu ($options, $name, $selected='', $nothing='choose', $sc function popup_form($common, $options, $formname, $selected='', $nothing='choose', $help='', $helptext='', $return=false, $targetwindow='self') { global $CFG; - static $jump, $choose; /// Locally cached, in case there's lots on a page + static $go, $choose; /// Locally cached, in case there's lots on a page if (empty($options)) { return ''; } - if (!isset($jump)) { - $jump = get_string('jump'); + if (!isset($go)) { + $go = get_string('go'); } if ($nothing == 'choose') { @@ -690,7 +690,7 @@ function popup_form($common, $options, $formname, $selected='', $nothing='choose } $output .= ''; $output .= ''; + $output .= ''; $output .= '