Added shortcut link to footer for creating content

(DBOINCP-201)
This commit is contained in:
Tristan Olive 2015-07-07 22:40:26 -04:00
parent f7fdbee893
commit dd0190243c
2 changed files with 12 additions and 0 deletions

View File

@ -513,6 +513,9 @@ ul.links li a {
#footer-info {
margin: 15px 0;
}
#content-management-links {
float: left;
}
#language {
font-size: 12px;
float: right;

View File

@ -353,11 +353,20 @@
</div>
<div id="footer-info">
<?php if (user_access('create page content') OR user_access('create news content')): ?>
<div id="content-management-links">
<?php print l(bts('Create content'), 'node/add'); ?>
</div>
<?php endif; ?>
<div id="language"
style="background: url(<?php print base_path() . path_to_theme() . '/images/flags/' . $language->language . '.png'; ?>) no-repeat right;">
<?php print bts('Language'); ?>
</div>
<div class="clearfix"></div>
<?php if ($footer_message): ?>
<div id="footer-message"><?php print $footer_message; ?></div>
<?php endif; ?>