summaryrefslogtreecommitdiff
path: root/help_text.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-03-02 08:02:00 +0000
committerGreg Roach <fisharebest@gmail.com>2015-03-02 15:55:40 +0000
commit8c2e82270a639a3acf607b432e54721116dae723 (patch)
tree6e9829818d82ad365229bbcad744b9b4999bb0fb /help_text.php
parent7126668f8fb92b0cac155adc02efde34bbd890ce (diff)
downloadwebtrees-8c2e82270a639a3acf607b432e54721116dae723.tar.gz
webtrees-8c2e82270a639a3acf607b432e54721116dae723.tar.bz2
webtrees-8c2e82270a639a3acf607b432e54721116dae723.zip
Module API
Diffstat (limited to 'help_text.php')
-rw-r--r--help_text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/help_text.php b/help_text.php
index 7ce6ddfae5..47cb4489f3 100644
--- a/help_text.php
+++ b/help_text.php
@@ -499,7 +499,7 @@ case 'edit_add_NOTE':
case 'edit_add_SHARED_NOTE':
$title = I18N::translate('Add a new shared note');
$text = I18N::translate('Shared notes, like regular notes, are free-form text. Unlike regular notes, each shared note can be linked to more than one individual, family, source, or fact.<br><br>By clicking the appropriate icon, you can establish a link to an existing shared note or create a new shared note and at the same time link to it. If a link to an existing shared note has already been established, you can also edit that note’s contents.<br><ul><li><b>Link to an existing shared note</b><div style="padding-left:20px;">If you already know the ID number of the desired shared note, you can enter that number directly into the field.<br><br>When you click the <b>Find shared note</b> icon, you will be able to search the text of all existing shared notes and then choose one of them. The ID number of the chosen note will be entered into the field automatically.<br><br>You must click the <b>Add</b> button to update the original record.</div><br></li><li><b>Create a new shared note</b><div style="padding-left:20px;">When you click the <b>Create a new shared note</b> icon, a new window will open. You can enter the text of the new note as you wish. As with regular notes, you can enter URLs.<br><br>When you click the <b>Save</b> button, you will see a message with the ID number of the newly created shared note. You should click on this message to close the editing window and also copy that new ID number directly into the ID number field. If you just close the window, the newly created ID number will not be copied automatically.<br><br>You must click the <b>Add</b> button to update the original record.</div><br></li><li><b>Edit an existing shared note</b><div style="padding-left:20px;">When you click the <b>Edit shared note</b> icon, a new window will open. You can change the text of the existing shared note as you wish. As with regular notes, you can enter URLs.<br><br>When you click the <b>Save</b> button, the text of the shared note will be updated. You can close the window and then click the <b>Save</b> button again.<br><br>When you change the text of a shared note, your change will be reflected in all places to which that shared note is currently linked. New links that you establish after having made your change will also use the updated text.</div></li></ul>');
- if (array_key_exists('GEDFact_assistant', Module::getActiveModules())) {
+ if (Module::getModuleByName('GEDFact_assistant')) {
$text .= '<p class="warning">' . I18N::translate('You should avoid using the vertical line character “|” in your notes. It is used internally by webtrees and may cause your note to display incorrectly.') . '</p>';
}
break;