1
0
mirror of https://github.com/moodle/moodle.git synced 2025-06-11 02:21:20 +02:00

changing access resolution for buttons labels

This commit is contained in:
diml
2007-10-07 19:44:59 +00:00
parent f651fb3980
commit 84257f3fe1

@ -46,8 +46,8 @@
//lazy check for the moment //lazy check for the moment
if (check_php_version("5.0.0")) { if (check_php_version("5.0.0")) {
//fetch values if defined in admin, otherwise use defaults //fetch values if defined in admin, otherwise use defaults
$label = (isset($CFG->block_search_text)) ? $CFG->block_search_text : get_string('searchmoodle', 'block_search'); $label = (!empty($CFG->block_search_text)) ? $CFG->block_search_text : get_string('searchmoodle', 'block_search');
$button = (isset($CFG->block_search_button)) ? $CFG->block_search_button : get_string('go', 'block_search'); $button = (!empty($CFG->block_search_button)) ? $CFG->block_search_button : get_string('go', 'block_search');
//basic search form //basic search form
$this->content->text = $this->content->text =