diff options
author | friendica <info@friendica.com> | 2013-11-25 14:54:14 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-25 14:54:14 -0800 |
commit | fe9162395ae703adf91f7ac32833211ca60ac216 (patch) | |
tree | 7071731776564bdc034cf731082c1e2b871b3879 | |
parent | cbe096dd90292613e21725c8468eaf77f934d079 (diff) | |
download | volse-hubzilla-fe9162395ae703adf91f7ac32833211ca60ac216.tar.gz volse-hubzilla-fe9162395ae703adf91f7ac32833211ca60ac216.tar.bz2 volse-hubzilla-fe9162395ae703adf91f7ac32833211ca60ac216.zip |
sort out the preview icons
-rw-r--r-- | mod/item.php | 2 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 8 | ||||
-rwxr-xr-x | view/tpl/comment_item.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/jot.tpl | 2 |
4 files changed, 9 insertions, 5 deletions
diff --git a/mod/item.php b/mod/item.php index 1893bb684..f5df854ee 100644 --- a/mod/item.php +++ b/mod/item.php @@ -823,7 +823,7 @@ function item_post(&$a) { } $datarray['id'] = $post_id; - $datarray['plink'] = $a->get_baseurl() . '/display/' . $channel['channel_address'] . '/' . $post_id; + $datarray['llink'] = $a->get_baseurl() . '/display/' . $channel['channel_address'] . '/' . $post_id; call_hooks('post_local_end', $datarray); diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 3c3851a65..6b670126a 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1133,8 +1133,8 @@ footer { #profile-jot-plugin-wrapper, #profile-jot-submit-wrapper { - margin-top: 15px; - width:90%; + margin-top: 10px; + width:92%; } #profile-upload-wrapper { @@ -3515,6 +3515,10 @@ margin-right: 50px; color: $toolicon_colour; } +.comment-preview-icon { + margin-left: 15px; +} + .comment-icon:hover, .jot-icons:hover { color: $toolicon_activecolour; diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl index b8e2b4730..1ea619774 100755 --- a/view/tpl/comment_item.tpl +++ b/view/tpl/comment_item.tpl @@ -61,7 +61,7 @@ <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" > <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" /> {{if $preview}} - <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span> + <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink"><i class="icon-eye-open comment-icon comment-preview-icon" title="{{$preview}}"></i></span> <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div> {{/if}} </div> diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index b9238f0c0..666fae9cd 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -71,7 +71,7 @@ </div> {{/if}} - {{if $preview}}<span onclick="preview_post();" id="jot-preview-link" class="fakelink">{{$preview}}</span>{{/if}} + {{if $preview}}<span onclick="preview_post();" id="jot-preview-link" class="fakelink"><i class="icon-eye-open jot-icons" title="{{$preview}}"></i></span>{{/if}} <div id="profile-jot-perms-end"></div> |