ENHANCEMENT:added a clearfix to blogEntry.ss for the editpost links. added css requirements to php to detect subthemes css

This commit is contained in:
Jeremy Bridson 2012-07-09 12:05:53 +12:00
parent fae45f3826
commit 248fef4424
4 changed files with 8 additions and 3 deletions

View File

@ -236,7 +236,7 @@ class BlogEntry_Controller extends Page_Controller {
function init() {
parent::init();
Requirements::themedCSS('blog');
Requirements::themedCSS("blog","blog");
}
/**

View File

@ -234,7 +234,7 @@ class BlogTree_Controller extends Page_Controller {
$this->IncludeBlogRSS();
Requirements::themedCSS("blog");
Requirements::themedCSS("blog","blog");
}
function BlogEntries($limit = null) {

View File

@ -8,4 +8,9 @@
background-color: #f77;
padding: 7px;
font-weight:bold;
}
.edit-post {
clear:both;
padding-top:10px;
}

View File

@ -18,7 +18,7 @@
</div>
<% if IsOwner %><p><a href="$EditURL" id="editpost" title="<% _t('EDITTHIS', 'Edit this post') %>"><% _t('EDITTHIS', 'Edit this post') %></a> | <a href="$Link(unpublishPost)" id="unpublishpost"><% _t('UNPUBLISHTHIS', 'Unpublish this post') %></a></p><% end_if %>
<% if IsOwner %><p class="edit-post"><a href="$EditURL" id="editpost" title="<% _t('EDITTHIS', 'Edit this post') %>"><% _t('EDITTHIS', 'Edit this post') %></a> | <a href="$Link(unpublishPost)" id="unpublishpost"><% _t('UNPUBLISHTHIS', 'Unpublish this post') %></a></p><% end_if %>
<% if TrackBacksEnabled %>
<% include TrackBacks %>