Skip to content

Commit

Permalink
add links to widget header in horizontal mode
Browse files Browse the repository at this point in the history
  • Loading branch information
scc committed Jan 11, 2007
1 parent 3590b2d commit 1fe8cfb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions themes/slashcode/htdocs/comments.css
Expand Up @@ -217,6 +217,9 @@ html > body .commentwrap table {
.horizontal #d2act div.block div.title h4 {background: #cc; !important}
.horizontal #d2act .commentControlFooter { display: none; }

.ccw-header-links { display: none; }
.horizontal .ccw-header-links { display: block; position: relative; right: 1em; }

/* new draggable guts for the D2 Widget */

/* Overall Size and Position */
Expand Down
20 changes: 20 additions & 0 deletions themes/slashcode/templates/printCommentsMain;misc;default
Expand Up @@ -161,6 +161,26 @@ __template__
subject_only => 1,
}) %]
[% END %]
<div class="ccw-header-links">
[% IF cid || pid %]
[% Slash.linkComment({
sid => sid,
subject => 'Top',
subject_only => 1,
}) %]
[% ELSE %]
<a href="#topcomment">Top</a>
[% END %]
|
[% Slash.linkComment({
sid => sid,
cid => cid,
op => 'reply',
subject => 'Reply',
subject_only => 1
});
%]
</div>
<span title="Close this window" onclick="toggleDisplayOptions()" class="close">x</span>
</h4>
</div>
Expand Down

0 comments on commit 1fe8cfb

Please sign in to comment.