aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/views')
-rw-r--r--mod/blog/views/default/blog/css.php13
-rw-r--r--mod/blog/views/default/blog/forms/edit.php14
-rw-r--r--mod/blog/views/default/blog/sidebar_revisions.php4
3 files changed, 15 insertions, 16 deletions
diff --git a/mod/blog/views/default/blog/css.php b/mod/blog/views/default/blog/css.php
index ec58164ca..6847906c2 100644
--- a/mod/blog/views/default/blog/css.php
+++ b/mod/blog/views/default/blog/css.php
@@ -27,13 +27,10 @@
line-height: 1.4em;
padding-bottom:12px;
}
-
-input.blog_publish_day,
-input.blog_publish_hour,
-input.blog_publish_minute {
- width: 25px;
+form#blog_post_edit .submit_button {
+ margin-right:15px;
}
-
-input.blog_publish_year {
- width: 50px;
+/* force tinymce input height for a more useful editing / blog creation area */
+form#blog_post_edit #description_parent #description_ifr {
+ height:400px !important;
} \ No newline at end of file
diff --git a/mod/blog/views/default/blog/forms/edit.php b/mod/blog/views/default/blog/forms/edit.php
index f8b39d964..48d47730c 100644
--- a/mod/blog/views/default/blog/forms/edit.php
+++ b/mod/blog/views/default/blog/forms/edit.php
@@ -185,10 +185,6 @@ $excerpt_input
$body_input
<br />
-<p id="blog_save_status">
- $save_status <span id="blog_save_status_time">$saved</span>
-</p>
-
<p>
<label for="blog_tags">$tags_label</label>
$tags_input
@@ -211,17 +207,21 @@ $body_input
$categories_input
+<div class="divider"></div>
+<p class="margin_none margin_top entity_subtext">
+ $save_status <span class="blog_save_status_time">$saved</span>
+</p>
+
$guid_input
$container_guid_input
$forward_input
$action_buttons
-<span>
-
___END;
echo elgg_view('input/form', array(
+ 'internalid' => 'blog_post_edit',
'internalname' => 'blog_post',
'action' => "{$vars['url']}action/blog/save",
'body' => $form_body
@@ -286,6 +286,7 @@ elgg_clear_sticky_form('blog');
// get a copy of the body to compare for auto save
oldDescription = $('form[name=blog_post]').find('textarea[name=description]').val();
+/* we don't seems to be using the text counter anymoreÉ
$('#excerpt.excerpt').each(function(){
var allowed = 200;
@@ -313,6 +314,7 @@ elgg_clear_sticky_form('blog');
});
});
+*/
});
</script> \ No newline at end of file
diff --git a/mod/blog/views/default/blog/sidebar_revisions.php b/mod/blog/views/default/blog/sidebar_revisions.php
index 7207d9c95..cb65b4d0c 100644
--- a/mod/blog/views/default/blog/sidebar_revisions.php
+++ b/mod/blog/views/default/blog/sidebar_revisions.php
@@ -44,7 +44,7 @@ if (elgg_instanceof($blog, 'object', 'blog') && $blog->canEdit()) {
'text' => elgg_echo('load')
));
- $time = friendly_time($blog->publish_date);
+ $time = "<span class='entity_subtext'>".friendly_time($blog->publish_date)."</span>";
echo '<li>
' . elgg_echo('blog:status:published') . ": $time $load
@@ -52,7 +52,7 @@ if (elgg_instanceof($blog, 'object', 'blog') && $blog->canEdit()) {
}
foreach ($revisions as $revision) {
- $time = friendly_time($revision->time_created);
+ $time = "<span class='entity_subtext'>".friendly_time($revision->time_created)."</span>";
$load = elgg_view('output/url', array(
'href' => $load_base_url . $revision->id,
'text' => elgg_echo('load')