diff options
author | friendica <info@friendica.com> | 2013-01-25 03:58:36 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-25 03:58:36 -0800 |
commit | 50915c46927e761a46578f8edc1499dcce19e5fc (patch) | |
tree | 7369867d082d0fc7afa3b1706744baaaa4628eab | |
parent | 9a4667c77c5d55edef3241b8927ec57a41b82f91 (diff) | |
download | volse-hubzilla-50915c46927e761a46578f8edc1499dcce19e5fc.tar.gz volse-hubzilla-50915c46927e761a46578f8edc1499dcce19e5fc.tar.bz2 volse-hubzilla-50915c46927e761a46578f8edc1499dcce19e5fc.zip |
add tooltip to toggle full screen mode
-rw-r--r-- | mod/chanview.php | 3 | ||||
-rw-r--r-- | view/tpl/chanview.tpl | 2 | ||||
-rw-r--r-- | view/tpl/smarty3/chanview.tpl | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/mod/chanview.php b/mod/chanview.php index b01eab869..8de59b92e 100644 --- a/mod/chanview.php +++ b/mod/chanview.php @@ -86,7 +86,8 @@ function chanview_content(&$a) { $o = replace_macros(get_markup_template('chanview.tpl'),array( - '$url' => $url + '$url' => $url, + '$full' => t('toggle full screen mode') )); return $o; diff --git a/view/tpl/chanview.tpl b/view/tpl/chanview.tpl index fcc968a19..da96c9c0c 100644 --- a/view/tpl/chanview.tpl +++ b/view/tpl/chanview.tpl @@ -1,2 +1,2 @@ -<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" >☐</div> +<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="$full" >☐</div> <iframe id="remote-channel" width="100%" src="$url" onload="resize_iframe()"></iframe> diff --git a/view/tpl/smarty3/chanview.tpl b/view/tpl/smarty3/chanview.tpl index 502e33667..4df327bf9 100644 --- a/view/tpl/smarty3/chanview.tpl +++ b/view/tpl/smarty3/chanview.tpl @@ -1,2 +1,2 @@ -<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" style="z-index: 100001;" >☐</div> -<iframe id="remote-channel" width="100%" style="z-index: 75000;" src="{{$url}}" onload="resize_iframe()"></iframe> +<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="{{$full}}" >☐</div> +<iframe id="remote-channel" width="100%" src="{{$url}}" onload="resize_iframe()"></iframe> |