mirror of https://github.com/BOINC/boinc.git
Merge pull request #2080 from drshawnkwang/drupal_fix-forum-top-links
Drupal: Modified how subscribe link layout.
This commit is contained in:
commit
efe7064f6e
|
@ -331,6 +331,9 @@ ul.links li a {
|
|||
right: 0;
|
||||
text-align: right;
|
||||
}
|
||||
.subscribe .flag-subscriptions {
|
||||
padding-left: .5em;
|
||||
}
|
||||
|
||||
.toc {
|
||||
background-color: transparent;
|
||||
|
|
|
@ -99,10 +99,18 @@
|
|||
<h2 class="title"><?php print $subtitle; ?></h2>
|
||||
</div>
|
||||
<div class="subscribe">
|
||||
<?php if ($subscribe_link): ?>
|
||||
<a href="#block-comment_form_block-comment_form">Post new comment</a> |
|
||||
<?php print $subscribe_link; ?>
|
||||
<?php endif; ?>
|
||||
<ul class="links">
|
||||
<?php if (user_access('post comments') AND ($comment==COMMENT_NODE_READ_WRITE)): ?>
|
||||
<li class="first"><a href="#block-comment_form_block-comment_form">Post new comment</a></li>
|
||||
<?php if ($subscribe_link): ?>
|
||||
<li class="last"><?php print $subscribe_link; ?></li>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php if ($subscribe_link): ?>
|
||||
<li class="first"><?php print $subscribe_link; ?></li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
|
|
@ -115,10 +115,18 @@
|
|||
<h2 class="title"><?php print $subtitle; ?></h2>
|
||||
</div>
|
||||
<div class="subscribe">
|
||||
<?php if ($subscribe_link): ?>
|
||||
<a href="#block-comment_form_block-comment_form">Post new comment</a> |
|
||||
<?php print $subscribe_link; ?>
|
||||
<?php endif; ?>
|
||||
<ul class="links">
|
||||
<?php if (user_access('post comments') AND ($comment==COMMENT_NODE_READ_WRITE)): ?>
|
||||
<li class="first"><a href="#block-comment_form_block-comment_form">Post new comment</a></li>
|
||||
<?php if ($subscribe_link): ?>
|
||||
<li class="last"><?php print $subscribe_link; ?></li>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php if ($subscribe_link): ?>
|
||||
<li class="first"><?php print $subscribe_link; ?></li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
|
|
@ -74,11 +74,20 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php if ($subscribe_link): ?>
|
||||
<div class="subscribe">
|
||||
<?php print $subscribe_link; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="subscribe">
|
||||
<ul class="links">
|
||||
<?php if (user_access('post comments') AND ($comment==COMMENT_NODE_READ_WRITE)): ?>
|
||||
<li class="first"><a href="#block-comment_form_block-comment_form">Post new comment</a></li>
|
||||
<?php if ($subscribe_link): ?>
|
||||
<li class="last"><?php print $subscribe_link; ?></li>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php if ($subscribe_link): ?>
|
||||
<li class="first"><?php print $subscribe_link; ?></li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix">
|
||||
<?php print $user_picture; ?>
|
||||
|
|
Loading…
Reference in New Issue