mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-09-06 09:41:12 +02: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 .=
|
$result .=
|
||||||
'<li>' .
|
'<li>' .
|
||||||
'<a href=" ' . $image->Filename . '?r=' . rand(1,100000) . '">' .
|
'<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 . '" title="' . $image->Title . '" />' .
|
'<img class="destwidth=' . round($width) . ',destheight=' . round($height) . '" src="'. $thumbnail->URL . '?r=' . rand(1,100000) . '" alt="' . $image->Title . '" />' .
|
||||||
'</a>' .
|
'</a>' .
|
||||||
'</li>';
|
'</li>';
|
||||||
}
|
}
|
||||||
@ -128,7 +128,7 @@ class ThumbnailStripField extends FormField {
|
|||||||
foreach($flashObjects as $flashObject) {
|
foreach($flashObjects as $flashObject) {
|
||||||
$result .= <<<HTML
|
$result .= <<<HTML
|
||||||
<li>
|
<li>
|
||||||
<a href="$flashObject->URL">
|
<a href="$flashObject->URL" title="$flashObject->Title">
|
||||||
<img src="cms/images/flash_small.jpg" alt="spacer" />
|
<img src="cms/images/flash_small.jpg" alt="spacer" />
|
||||||
<br />
|
<br />
|
||||||
$flashObject->Name
|
$flashObject->Name
|
||||||
|
Loading…
Reference in New Issue
Block a user