mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 11:56:40 +02:00
Merge branch 'MDL-26244_url' of https://github.com/andyjdavis/moodle
This commit is contained in:
commit
2d0316d60d
3 changed files with 15 additions and 15 deletions
|
@ -62,7 +62,9 @@ class data_field_url extends data_field_base {
|
|||
// Just the URL field
|
||||
$str .= '<label class="accesshide" for="' . $fieldid . '">'. $this->field->name .'</label>';
|
||||
$str .= '<input type="text" name="field_'.$this->field->id.'_0" id="'.$fieldid.'" value="'.s($url).'" size="60" />';
|
||||
$str .= '<button id="filepicker-button-'.$options->client_id.'" style="display:none">'.$straddlink.'</button>';
|
||||
if (count($options->repositories) > 0) {
|
||||
$str .= '<button id="filepicker-button-'.$options->client_id.'" style="display:none">'.$straddlink.'</button>';
|
||||
}
|
||||
}
|
||||
|
||||
// print out file picker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue