diff options
-rw-r--r-- | include/widgets.php | 1 | ||||
-rwxr-xr-x | view/tpl/cover_photo_widget.tpl | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php index ad54cb59e..0d31133e7 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -1023,6 +1023,7 @@ function widget_cover_photo($arr) { '$photo_html' => $photo_html, '$title' => $title, '$subtitle' => $subtitle, + '$hovertitle' => t('Click to show more'), )); } return $o; diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl index d6d2517e7..f5790d141 100755 --- a/view/tpl/cover_photo_widget.tpl +++ b/view/tpl/cover_photo_widget.tpl @@ -40,7 +40,7 @@ } </script> -<div id="cover-photo" onclick="slideUpCover();"> +<div id="cover-photo" onclick="slideUpCover();" title="{{$hovertitle}}"> {{$photo_html}} <div id="cover-photo-caption"> <div class="cover-photo-title"> |