mirror of https://github.com/BOINC/boinc.git
Drupal: Changed subscription links to use <ul> and <li> tags, and thus CSS classes which set the border between links.
This commit is contained in:
parent
4ee2840a2b
commit
80f2aa2471
|
@ -332,8 +332,6 @@ ul.links li a {
|
|||
text-align: right;
|
||||
}
|
||||
.subscribe .flag-subscriptions {
|
||||
border-left: 1px solid #808080;
|
||||
margin-left: .1em;
|
||||
padding-left: .5em;
|
||||
}
|
||||
|
||||
|
|
|
@ -99,12 +99,18 @@
|
|||
<h2 class="title"><?php print $subtitle; ?></h2>
|
||||
</div>
|
||||
<div class="subscribe">
|
||||
<?php if (user_access('post comments')): ?>
|
||||
<a href="#block-comment_form_block-comment_form">Post new comment</a>
|
||||
<?php endif; ?>
|
||||
<?php if ($subscribe_link): ?>
|
||||
<?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,12 +115,18 @@
|
|||
<h2 class="title"><?php print $subtitle; ?></h2>
|
||||
</div>
|
||||
<div class="subscribe">
|
||||
<?php if (user_access('post comments')): ?>
|
||||
<a href="#block-comment_form_block-comment_form">Post new comment</a>
|
||||
<?php endif; ?>
|
||||
<?php if ($subscribe_link): ?>
|
||||
<?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>
|
||||
|
|
|
@ -75,12 +75,18 @@
|
|||
?>
|
||||
|
||||
<div class="subscribe">
|
||||
<?php if (user_access('post comments')): ?>
|
||||
<a href="#block-comment_form_block-comment_form">Post new comment</a>
|
||||
<?php endif; ?>
|
||||
<?php if ($subscribe_link): ?>
|
||||
<?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 id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix">
|
||||
|
|
Loading…
Reference in New Issue