diff --git a/web/ajax/modal.php b/web/ajax/modal.php index 6ccefd9bd..3b204495c 100644 --- a/web/ajax/modal.php +++ b/web/ajax/modal.php @@ -8,6 +8,7 @@ if ( empty($_REQUEST['modal']) ) ajaxError('Modal Name Not Provided'); +global $OLANG; $modal = validJsStr($_REQUEST['modal']); $data = array(); @@ -22,7 +23,7 @@ if ( ZM_OPT_USE_AUTH && (ZM_AUTH_RELAY == 'hashed') ) { switch ( $modal ) { case 'optionhelp' : if ( empty($_REQUEST['ohndx']) ) ajaxError('Option Help Index Not Provided'); - $data['html'] = getOptionHelpHTML($_REQUEST['ohndx']); + $data['html'] = getOptionHelpHTML($_REQUEST['ohndx'], $OLANG); break; default : // Maybe don't need both diff --git a/web/includes/functions.php b/web/includes/functions.php index 5858e7fba..923f0cad4 100644 --- a/web/includes/functions.php +++ b/web/includes/functions.php @@ -438,7 +438,7 @@ function makeLink($url, $label, $condition=1, $options='') { //Make it slightly easier to create a link to help text modal function makeHelpLink($ohndx) { - $string = '?'; + $string = ' (?)'; return $string; }