mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
BUGFIX Added HTML title attribute to the anchor for images in CMS right hand pane
MINOR Added title attribute to anchor for flash objects in CMS right hand pane git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65953 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
987edc9522
commit
ae38956c29
@ -80,8 +80,8 @@ class ThumbnailStripField extends FormField {
|
||||
|
||||
$result .=
|
||||
'<li>' .
|
||||
'<a href=" ' . $image->Filename . '?r=' . rand(1,100000) . '">' .
|
||||
'<img class="destwidth=' . round($width) . ',destheight=' . round($height) . '" src="'. $thumbnail->URL . '?r=' . rand(1,100000) . '" alt="' . $image->Title . '" title="' . $image->Title . '" />' .
|
||||
'<a href="' . $image->Filename . '?r=' . rand(1,100000) . '" title="' . $image->Title . '">' .
|
||||
'<img class="destwidth=' . round($width) . ',destheight=' . round($height) . '" src="'. $thumbnail->URL . '?r=' . rand(1,100000) . '" alt="' . $image->Title . '" />' .
|
||||
'</a>' .
|
||||
'</li>';
|
||||
}
|
||||
@ -128,7 +128,7 @@ class ThumbnailStripField extends FormField {
|
||||
foreach($flashObjects as $flashObject) {
|
||||
$result .= <<<HTML
|
||||
<li>
|
||||
<a href="$flashObject->URL">
|
||||
<a href="$flashObject->URL" title="$flashObject->Title">
|
||||
<img src="cms/images/flash_small.jpg" alt="spacer" />
|
||||
<br />
|
||||
$flashObject->Name
|
||||
|
Loading…
x
Reference in New Issue
Block a user