| Línea 66... |
Línea 66... |
| 66 |
*
|
66 |
*
|
| 67 |
* @param MoodleQuickForm $mform The form to add configuration to.
|
67 |
* @param MoodleQuickForm $mform The form to add configuration to.
|
| 68 |
* @return $this
|
68 |
* @return $this
|
| 69 |
*/
|
69 |
*/
|
| 70 |
public static function add_config_to_form(\MoodleQuickForm $mform) {
|
70 |
public static function add_config_to_form(\MoodleQuickForm $mform) {
|
| 71 |
$mform->addElement('text', 'targetvalue_selector', get_string('cssselector', 'tool_usertours'));
|
71 |
$mform->addElement('text', 'targetvalue_selector', get_string('cssselector', 'tool_usertours'), ['size' => '80']);
|
| 72 |
$mform->setType('targetvalue_selector', PARAM_RAW);
|
72 |
$mform->setType('targetvalue_selector', PARAM_RAW);
|
| 73 |
$mform->addHelpButton('targetvalue_selector', 'target_selector_targetvalue', 'tool_usertours');
|
73 |
$mform->addHelpButton('targetvalue_selector', 'target_selector_targetvalue', 'tool_usertours');
|
| 74 |
}
|
74 |
}
|
| Línea 75... |
Línea 75... |
| 75 |
|
75 |
|