mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon
This commit is contained in:
parent
c90edfe168
commit
0f13ec8f9b
19 changed files with 131 additions and 114 deletions
|
@ -104,11 +104,11 @@ class data_field_picture extends data_field_file {
|
|||
$width = $this->field->param4 ? ' width="'.s($this->field->param4).'" ' : ' ';
|
||||
$height = $this->field->param5 ? ' height="'.s($this->field->param5).'" ' : ' ';
|
||||
$str = '<a href="view.php?d='.$this->field->dataid.'&rid='.$recordid.'"><img '.
|
||||
$width.$height.' src="'.$thumbnailsource.'" alt="'.s($alt).'" title="'.s($title).'" border="0" /></a>';
|
||||
$width.$height.' src="'.$thumbnailsource.'" alt="'.s($alt).'" title="'.s($title).'" style="border:0px" /></a>';
|
||||
} else {
|
||||
$width = $this->field->param1 ? ' width="'.s($this->field->param1).'" ':' ';
|
||||
$height = $this->field->param2 ? ' height="'.s($this->field->param2).'" ':' ';
|
||||
$str = '<a href="'.$source.'"><img '.$width.$height.' src="'.$source.'" alt="'.s($alt).'" title="'.s($title).'" border="0"/></a>';
|
||||
$str = '<a href="'.$source.'"><img '.$width.$height.' src="'.$source.'" alt="'.s($alt).'" title="'.s($title).'" style="border:0px" /></a>';
|
||||
}
|
||||
return $str;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue