Commit 11db718b authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Some minor styling fixes for blogs

parent 32b2e693
......@@ -27,7 +27,6 @@
define('INTERNAL', 1);
define('MENUITEM', 'myblogs');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('editblogpost','artefact.blog'));
require_once('pieforms/pieform.php');
safe_require('artefact', 'blog');
......@@ -58,6 +57,7 @@ if (!$blogpost) {
$checked = '';
$pagetitle = 'newblogpost';
$focuselement = 'title';
define('TITLE', get_string('newblogpost','artefact.blog'));
}
else {
$blogpostobj = new ArtefactTypeBlogPost($blogpost);
......@@ -70,6 +70,7 @@ else {
$checked = !$blogpostobj->get('published');
$pagetitle = 'editblogpost';
$focuselement = 'description'; // Doesn't seem to work with tinyMCE.
define('TITLE', get_string('editblogpost','artefact.blog'));
}
......
......@@ -756,6 +756,7 @@ p {
.maincontent #userview table,
.maincontent #editpost table,
.maincontent #editblog table,
.maincontent #draftpost table,
.maincontent #editgroup table,
.maincontent #creategroup table,
.maincontent #editviewaccess table,
......
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