Commit 9e236ef1 authored by Dries's avatar Dries

- Patch #764606 by JohnAlbin: node.tpl no longer needs taxonomy variables.

parent c6c572a1
......@@ -24,6 +24,3 @@
td.revision-current {
background: #ffc;
}
.terms-inline {
display: inline;
}
......@@ -16,7 +16,6 @@
* calling format_date() with the desired parameters on the $created variable.
* - $name: Themed username of node author output from theme_username().
* - $node_url: Direct url of the current node.
* - $terms: the themed list of taxonomy term links output from theme_links().
* - $display_submitted: whether submission information should be displayed.
* - $classes: String of classes that can be used to style contextually through
* CSS. It can be manipulated through the variable $classes_array from
......@@ -88,20 +87,12 @@
<?php endif; ?>
<?php print render($title_suffix); ?>
<?php if ($display_submitted || !empty($content['links']['terms'])): ?>
<div class="meta">
<?php if ($display_submitted): ?>
<span class="submitted">
<?php
print t('Submitted by !username on !datetime',
array('!username' => $name, '!datetime' => $date));
?>
</span>
<?php endif; ?>
<?php if (!empty($content['links']['terms'])): ?>
<div class="terms terms-inline"><?php print render($content['links']['terms']); ?></div>
<?php endif; ?>
<?php if ($display_submitted): ?>
<div class="submitted">
<?php
print t('Submitted by !username on !datetime',
array('!username' => $name, '!datetime' => $date));
?>
</div>
<?php endif; ?>
......
......@@ -25,12 +25,6 @@
</div>
<div class="clearfix">
<?php if (!empty($content['links']['terms'])): ?>
<div class="meta">
<div class="terms"><?php print render($content['links']['terms']); ?></div>
</div>
<?php endif; ?>
<?php if (!empty($content['links'])): ?>
<div class="links"><?php print render($content['links']); ?></div>
<?php endif; ?>
......
......@@ -200,12 +200,6 @@ ul.links li, ul.inline li {
text-align: right;
}
.node .links ul.links li, .comment .links ul.links li {}
.terms ul.links li {
padding-right: 1em;
padding-left: 0;
}
.user-picture,
.comment .submitted {
padding-left: 0;
......@@ -218,10 +212,6 @@ ul.links li, ul.inline li {
float: left;
}
.terms {
float: left;
}
.indented {
margin-left: 0;
margin-right: 25px;
......
......@@ -234,7 +234,7 @@ span.form-required {
color: #ffae00;
}
span.submitted, .description, .vertical-tab-button .summary {
.submitted, .description, .vertical-tab-button .summary {
font-size: 0.92em;
color: #898989;
}
......@@ -723,14 +723,6 @@ ul.links li, ul.inline li {
text-align: left; /* LTR */
}
.node .links ul.links li, .comment .links ul.links li {}
.terms ul.links li {
margin-left: 0;
margin-right: 0;
padding-right: 0;
padding-left: 1em;
}
.user-picture,
.comment .submitted {
float: right; /* LTR */
......@@ -745,10 +737,6 @@ ul.links li, ul.inline li {
float: right; /* LTR */
}
.terms {
float: right; /* LTR */
}
.preview .node, .preview .comment, .node-sticky {
margin: 0;
padding: 0.5em 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment