MDL-21695 Replaced help/blog

AMOS BEGIN
 HLP blog/deleteblogassociations.html,[deleteblogassociations_help,core_blog]
 HLP blog/description.html,[description_help,core_blog]
 HLP blog/filtertags.html,[filtertags_help,core_blog]
 HLP blog/name.html,[name_help,core_blog]
 HLP blog/publish_state.html,[publishto_help,core_blog]
 HLP blog/tags.html,[autotags_help,core_blog]
 HLP blog/url.html,[url_help,core_blog]
AMOS END
This commit is contained in:
David Mudrak 2010-07-19 18:31:13 +00:00
parent 061e00a4ea
commit 2650f44d2a
11 changed files with 15 additions and 45 deletions

View File

@ -59,7 +59,7 @@ class blog_edit_form extends moodleform {
}
$mform->addElement('select', 'publishstate', get_string('publishto', 'blog'), $publishstates);
$mform->setHelpButton('publishstate', array('publish_state', get_string('publishto', 'blog'), 'blog'));
$mform->addHelpButton('publishstate', 'publishto', 'blog');
$mform->setDefault('publishstate', 0);
if (!empty($CFG->usetags)) {

View File

@ -37,21 +37,21 @@ class blog_edit_external_form extends moodleform {
$mform =& $this->_form;
$mform->addElement('text', 'url', get_string('url'), array('size' => 50));
$mform->addElement('text', 'url', get_string('url', 'blog'), array('size' => 50));
$mform->addRule('url', get_string('emptyurl', 'blog'), 'required', null, 'client');
$mform->setHelpButton('url', array('url', get_string('url', 'blog'), 'blog'));
$mform->addHelpButton('url', 'url', 'blog');
$mform->addElement('text', 'name', get_string('name'));
$mform->setHelpButton('name', array('name', get_string('name', 'blog'), 'blog'));
$mform->addElement('text', 'name', get_string('name', 'blog'));
$mform->addHelpButton('name', 'name', 'blog');
$mform->addElement('textarea', 'description', get_string('description'), array('cols' => 50, 'rows' => 7));
$mform->setHelpButton('description', array('description', get_string('description', 'blog'), 'blog'));
$mform->addElement('textarea', 'description', get_string('description', 'blog'), array('cols' => 50, 'rows' => 7));
$mform->addHelpButton('description', 'description', 'blog');
if (!empty($CFG->usetags)) {
$mform->addElement('text', 'filtertags', get_string('filtertags', 'blog'), array('size' => 50));
$mform->setHelpButton('filtertags', array('filtertags', get_string('filtertags', 'blog'), 'blog'));
$mform->addHelpButton('filtertags', 'filtertags', 'blog');
$mform->addElement('text', 'autotags', get_string('autotags', 'blog'), array('size' => 50));
$mform->setHelpButton('autotags', array('autotags', get_string('autotags', 'blog'), 'blog'));
$mform->addHelpButton('autotags', 'autotags', 'blog');
}
$this->add_action_buttons();

View File

@ -19,7 +19,7 @@ class course_reset_form extends moodleform {
$mform->addElement('checkbox', 'reset_logs', get_string('deletelogs'));
$mform->addElement('checkbox', 'reset_notes', get_string('deletenotes', 'notes'));
$mform->addElement('checkbox', 'delete_blog_associations', get_string('deleteblogassociations', 'blog'));
$mform->setHelpButton('delete_blog_associations', array('deleteblogassociations', get_string('deleteblogassociations', 'blog'), 'blog'));
$mform->addHelpButton('delete_blog_associations', 'deleteblogassociations', 'blog');
$mform->addElement('header', 'rolesheader', get_string('roles'));

View File

@ -16,11 +16,12 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Strings for component 'blog', language 'en', branch 'MOODLE_20_STABLE'
* Strings for core subsystem 'blog'
*
* @package blog
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package core
* @subpackage blog
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['addnewentry'] = 'Add a new entry';

View File

@ -1,2 +0,0 @@
<h1>Delete blog associations</h1>
<p>The blog entries will not be deleted, but they will no longer be associated with this course or its activities and resources.</p>

View File

@ -1,4 +0,0 @@
<h1>Description</h1>
<p>A description of the overall contents of your external blog. If left empty, this will default to the
description recorded in your external blog (if any).</p>

View File

@ -1,3 +0,0 @@
<h1>External tags</h1>
<p>A comma-separated list of Tags defined in the external blog, and used by the synchronisation process to filter which entries are copied into the Moodle blog.</p>

View File

@ -1,3 +0,0 @@
<h1>Name</h1>
<p>A descriptive name for your external blog. If empty, will default to the title of your external blog.</p>

View File

@ -1,9 +0,0 @@
<h1>Publish to</h1>
<p>There are 3 possible settings here</p>
<p><b>Yourself (Draft)</b> - Only you and the administrators can see this entry.</p>
<p><b>Anyone on this site</b> - Anyone who is registered on this site can read this entry.</p>
<p><b>Anyone in the world</b> - Anyone, including guests could read this entry.</p>

View File

@ -1,5 +0,0 @@
<h1>Tags</h1>
<p>A comma-separated list of Tags that can will be automatically attached to every blog entry copied from your
external blog into this site. These tags can be used to filter blog entries and find the ones that are associated
with this external blog.</p>

View File

@ -1,5 +0,0 @@
<h1>URL</h1>
<p>Almost every blog has the ability to publish its contents to the world in the form of an RSS URL. Consult your external blog's configuration
and documentation if you are unsure of what this URL should look like. When you have it, enter it in this field. Once you submit the form,
your link will be checked to see if it is a valid URL.</p>