Commit 562580a9 authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

removing unhelpful blogs help

parent df2a0fcb
<h3>Body</h3>
<p>Enter the content of your blog posting here. You can format the text you enter using the HTML editor (unless disabled in your Account Preferences). </p>
<h3>Title</h3>
<p>The Title or name of your Blog posting will be displayed to users when viewed.</p>
<h3>Description</h3>
<p>Blog Description is an optional field you may use to describe the purpose or intended content of your Blog.</p>
<h3>Title</h3>
<p>The Title or name of your Blog will be displayed to users when viewed.</p>
<h3>My Blogs</h3>
<p>A web log or Blog is journal-like tool that allows you to record your thoughts and experiences. You can allow other users to post comments on your Blog allowing you to create a dialogue with your readers.</p>
<p>While a Blog itself is considered an Artefact, so are any individual Blog postings you create. This means both Blogs and Blog posts may be added to a View.</p><p>
Your Blogs area lists of all of your current Blogs. Click on the name of a Blog to add a new posting or edit the Blog settings. To create a new Blog select Add Blog.
</p>
<p>A blog is journal-like tool that allows you to record your thoughts and experiences.</p>
<p>By adding it to a view you can allow people to view a blog and post comments.</p>
<p>You need to create a blog before you can post entries, and you can have as many different blogs as you want.</p>
<h3>View Blog</h3>
<p>When viewing a Blog you will see your postings with Drafts listed first followed by Published posts, both in descending date order. 10 postings are listed per page and a list of any files that are attached to a post are displayed. </p>
<p>You can Publish Draft postings from this screen as well as Edit or Delete both Draft and Published postings. Deleting a Blog post with an attached file will not remove the file from your Files area.</p>
<p>This page displays both draft and published posts. The draft posts appear above the published posts.</p>
<p>A draft post cannot be added to a view for others to see.</p>
<h3>Add Blog</h3>
<p>Use Add Blog to create a new Blog. Once you&#8217;ve created a Blog you can start submitting individual postings.</p>
<h3>Add Post</h3>
<p>Use Add Post to create a new Blog posting. Once you&#8217;ve entered in content, you can either save the post as a Draft or Publish your posting.</p>
<h3>Settings</h3>
<p>You may change any of your Blog settings at any stage.</p>
<h3>Cancel</h3>
<p>If you would like to discard your posting or changes to a draft posting you can Cancel and return to the previous page. Please note that your content <em>will not be saved</em>.</p>
<h3>Delete</h3>
<p>Delete Blog post will permanently delete a posting and remove it from a Blog.</p>
<h3>Edit</h3>
<p>Edit Blog allowsyou to modify the content of your Blog post and change any post settings. You can Edit a posting while in Draft or Published format.</p>
<h3>Remove</h3>
<p>You may Remove any files currently attached to a Blog posting at any time. Note that if you delete a file from a saved Blog posting the file <em>will not</em> be removed from your Files area.</p>
<h3>Save Post </h3>
<p>When you have completed your posting and you are happy to make it available to those people with access, Save and Publish your posting.</p>
......@@ -45,7 +45,6 @@ $form = pieform(array(
'rules' => array(
'required' => true
),
'help' => true,
),
'description' => array(
'type' => 'wysiwyg',
......@@ -56,7 +55,6 @@ $form = pieform(array(
'rules' => array(
'required' => false
),
'help' => true,
),
'tags' => array(
'type' => 'tags',
......
......@@ -110,7 +110,6 @@ $textinputform = pieform(array(
'required' => true
),
'defaultvalue' => $title,
'help' => true
),
'description' => array(
'type' => 'wysiwyg',
......@@ -122,7 +121,6 @@ $textinputform = pieform(array(
'required' => true
),
'defaultvalue' => $description,
'help' => true,
),
'tags' => array(
'defaultvalue' => $tags,
......@@ -177,8 +175,6 @@ $getstring = quotestrings(array(
// automatically when file.js is included.
$copyright = get_field('site_content', 'content', 'name', 'uploadcopyright');
$wwwroot = get_config('wwwroot');
$uploadfilehelp = json_encode(get_help_icon('artefact', 'blog', null, null, null, 'uploadfile'));
$removehelp = json_encode(get_help_icon('artefact', 'blog', null, null, null, 'remove'));
......@@ -200,15 +196,6 @@ uploader.createid = {$createid};
// Change the contextual help from the myfiles upload help to the
// blogpost upload help
addLoadEvent(function () {
var h = getElement('uploadfilehelp');
h.innerHTML = {$uploadfilehelp};
});
// File browser instance allows users to attach files from the my files area
var browser = null;
......@@ -235,11 +222,6 @@ addLoadEvent(function () {connect('browsebutton', 'onclick', browsemyfiles);});
// List of attachments to the blog post
function removehelp () {
var h = SPAN(null);
h.innerHTML = {$removehelp};
return h;
}
var attached = new TableRenderer(
'attachedfiles',
'attachedfiles.json.php',
......@@ -252,8 +234,7 @@ var attached = new TableRenderer(
function (r) {
return TD(null, INPUT({'type':'button', 'class':'button',
'value':{$getstring['remove']},
'onclick':"removefrompost('artefact:"+r.id+"')"}),
removehelp());
'onclick':"removefrompost('artefact:"+r.id+"')"}));
}
]
);
......@@ -310,9 +291,7 @@ function attachtopost(data) {
[SPAN({'style':'display: none;'}, ext),
INPUT(
{'type':'button', 'class':'button', 'value':{$getstring['remove']},
'onclick':"removefrompost('"+rowid+"')"}
),
removehelp()]
'onclick':"removefrompost('"+rowid+"')"})]
]
)
)
......
......@@ -15,7 +15,6 @@
<div id='uploader'></div>
<div id='browsebuttonstuff'>
<input id='browsebutton' type='button' class='button' value='{str tag=browsemyfiles section=artefact.blog}'>
{contextualhelp plugintype='artefact' pluginname='blog' section='browsemyfiles'}
</div>
<div id='browsemyfiles' style='display: none;'>
<h3>{str tag=myfiles section='artefact.file'}</h3>
......@@ -45,9 +44,7 @@
{$draftform}
<div id='savecancel'>
<input type='button' class='button' value='{str tag=savepost section=artefact.blog}' onclick="saveblogpost()">
{contextualhelp plugintype='artefact' pluginname='blog' section='saveblogpost'}
<input type='button' class='button' value='{str tag=cancel}' onclick="canceledit()">
{contextualhelp plugintype='artefact' pluginname='blog' section='canceledit'}
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -15,7 +15,6 @@
<span class="addicon">
<a href="{$WWWROOT}artefact/blog/new/">{str section="artefact.blog" tag="addblog"}</a>
</span>
{contextualhelp plugintype='artefact' pluginname='blog' section='addblogbutton'}
</div>
<table id="bloglist" class="hidden tablerenderer">
<thead>
......
......@@ -15,12 +15,10 @@
<span class="addicon">
<a href="{$WWWROOT}artefact/blog/post.php?blog={$blog->get('id')}">{str section="artefact.blog" tag="addpost"}</a>
</span>
{contextualhelp plugintype='artefact' pluginname='blog' section='blogaddpostbutton'}
</div>
<span class="settingsicon">
<a href="{$WWWROOT}artefact/blog/settings/?id={$blog->get('id')}">{str section="artefact.blog" tag="settings"}</a>
</span>
{contextualhelp plugintype='artefact' pluginname='blog' section='blogsettingsbutton'}
</div>
......
......@@ -45,8 +45,6 @@ $enc_cannotdeleteblogpost = json_encode(get_string('cannotdeleteblogpost', 'arte
$enc_publish_help = json_encode(get_help_icon('artefact', 'blog', null, null, null, 'publish'));
$enc_edit_help = json_encode(get_help_icon('artefact', 'blog', null, null, null, 'edit'));
$enc_delete_help = json_encode(get_help_icon('artefact', 'blog', null, null, null, 'delete'));
return <<<EOJAVASCRIPT
......@@ -108,12 +106,9 @@ postlist.rowfunction = function(d, n, gd) {
}
)
);
var edithelp = SPAN(null); edithelp.innerHTML = {$enc_edit_help};
var del = INPUT(
{ 'type' : 'button', 'class' : 'button', 'value': {$enc_delete} }
);
var delhelp = SPAN(null); delhelp.innerHTML = {$enc_delete_help};
var desctd = TD({'colSpan':3});
desctd.innerHTML = d.description;
......@@ -123,7 +118,7 @@ postlist.rowfunction = function(d, n, gd) {
null,
TH(null, d.title),
status,
TH(null, [pub, pubhelp, ' ', edit, edithelp, ' ', del, delhelp])
TH(null, [pub, pubhelp, ' ', edit, ' ', del])
),
TR(null, desctd)
];
......
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