summaryrefslogtreecommitdiff
path: root/modules/yahrzeit
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2010-09-01 03:07:10 +0000
committerNigel Osborne <kiwi3685@me.com>2010-09-01 03:07:10 +0000
commitbfd94a16f6d0ae7e2e30c61ed2c406f6f12756cf (patch)
tree834c662d0fa42cc7e83cecb70ab194e1b6444c6e /modules/yahrzeit
parent968765f04a5a53eb70a4b186a330357bb6f4e171 (diff)
downloadwebtrees-bfd94a16f6d0ae7e2e30c61ed2c406f6f12756cf.tar.gz
webtrees-bfd94a16f6d0ae7e2e30c61ed2c406f6f12756cf.tar.bz2
webtrees-bfd94a16f6d0ae7e2e30c61ed2c406f6f12756cf.zip
Move common help text to main help text file (scrollbars)
Diffstat (limited to 'modules/yahrzeit')
-rw-r--r--modules/yahrzeit/help_text.php5
-rw-r--r--modules/yahrzeit/module.php2
2 files changed, 2 insertions, 5 deletions
diff --git a/modules/yahrzeit/help_text.php b/modules/yahrzeit/help_text.php
index 6412e7862f..2bc100d648 100644
--- a/modules/yahrzeit/help_text.php
+++ b/modules/yahrzeit/help_text.php
@@ -1,4 +1,4 @@
-<?php
+<?php
/**
* Module help text.
*
@@ -39,9 +39,6 @@ case 'yahrzeit':
$text.=' (<i>'.i18n::plural('maximum %d day', 'maximum %d days', 30, 30).'</i>).';
$text.='</li><li>';
$text.=i18n::translate('Presentation style: Either a simple text "List"or a "Table" format.');
- $text.='</li><li>';
- $text.=i18n::translate('Add a scrollbar when block contents grow: ');
- $text.=i18n::translate('If set to "no" the block will expand vertically to display the full list. If set to "yes" the block will be the height set in your theme\'s style sheet, with scroll bars to view long lists.');
$text.='</li></ul>';
break;
}
diff --git a/modules/yahrzeit/module.php b/modules/yahrzeit/module.php
index cd17d3d4ac..e689cb589d 100644
--- a/modules/yahrzeit/module.php
+++ b/modules/yahrzeit/module.php
@@ -247,7 +247,7 @@ class yahrzeit_WT_Module extends WT_Module implements WT_Module_Block {
$block=get_block_setting($block_id, 'block', true);
echo '<tr><td class="descriptionbox wrap width33">';
- echo i18n::translate('Add a scrollbar when block contents grow');
+ echo i18n::translate('Add a scrollbar when block contents grow'), help_link('scrollbars');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';