summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2010-08-16 22:45:53 +0000
committerNigel Osborne <kiwi3685@me.com>2010-08-16 22:45:53 +0000
commitd77b49dbf363e7b9ec9c8c59a4d08e3b7c3c5b6d (patch)
tree3aff5c1ce0275606391a5a31e8f5fc02087f8abd
parent08060cc821790c2b2723e85c45cca5a178e8b570 (diff)
downloadwebtrees-d77b49dbf363e7b9ec9c8c59a4d08e3b7c3c5b6d.tar.gz
webtrees-d77b49dbf363e7b9ec9c8c59a4d08e3b7c3c5b6d.tar.bz2
webtrees-d77b49dbf363e7b9ec9c8c59a4d08e3b7c3c5b6d.zip
Changes from Wes Groleau related to Bug #614803 - duplicate help text could be merged?
-rw-r--r--modules/charts/help_text.php1
-rw-r--r--modules/charts/module.php7
-rw-r--r--modules/gedcom_favorites/help_text.php46
-rw-r--r--modules/gedcom_favorites/module.php3
-rw-r--r--modules/recent_changes/help_text.php94
-rw-r--r--modules/recent_changes/module.php5
-rw-r--r--modules/review_changes/help_text.php46
-rw-r--r--modules/review_changes/module.php3
-rw-r--r--modules/todays_events/help_text.php46
-rw-r--r--modules/todays_events/module.php5
-rw-r--r--modules/todo/help_text.php1
-rw-r--r--modules/todo/module.php5
-rw-r--r--modules/top10_givnnames/help_text.php46
-rw-r--r--modules/top10_givnnames/module.php5
-rw-r--r--modules/top10_pageviews/help_text.php46
-rw-r--r--modules/top10_pageviews/module.php5
-rw-r--r--modules/top10_surnames/help_text.php46
-rw-r--r--modules/top10_surnames/module.php3
-rw-r--r--modules/upcoming_events/help_text.php106
-rw-r--r--modules/upcoming_events/module.php5
-rw-r--r--modules/user_favorites/help_text.php46
-rw-r--r--modules/user_favorites/module.php3
-rw-r--r--modules/user_messages/help_text.php46
-rw-r--r--modules/user_messages/module.php5
-rw-r--r--modules/yahrzeit/help_text.php4
-rw-r--r--modules/yahrzeit/module.php5
26 files changed, 511 insertions, 122 deletions
diff --git a/modules/charts/help_text.php b/modules/charts/help_text.php
index d71c4af66c..df56904ba2 100644
--- a/modules/charts/help_text.php
+++ b/modules/charts/help_text.php
@@ -36,3 +36,4 @@ case 'index_charts':
$text=i18n::translate('This block allows a pedigree, descendancy, or hourglass chart to appear on My Page or the Home Page. Because of space limitations, the charts should be placed only on the left side of the page.<br /><br />When this block appears on the Home Page, the root person and the type of chart to be displayed are determined by the administrator. When this block appears on the user\'s personalized My Page, these options are determined by the user.<br /><br />The behavior of these charts is identical to their behavior when they are called up from the menus. Click on the box of a person to see more details about them.');
break;
}
+?> \ No newline at end of file
diff --git a/modules/charts/module.php b/modules/charts/module.php
index debb159073..7549075844 100644
--- a/modules/charts/module.php
+++ b/modules/charts/module.php
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * @version $Id: class_media.php 5451 2009-05-05 22:15:34Z fisharebest $
+ * @version $Id$
*/
if (!defined('WT_WEBTREES')) {
@@ -42,7 +42,7 @@ class charts_WT_Module extends WT_Module implements WT_Module_Block {
// Extend class WT_Module
public function getDescription() {
- return i18n::translate('The Charts block allows you to place a chart on the Home or My Page. You can configure the block to show an ancestors, descendants, or hourglass view. You can also choose the root person for the chart.');
+ return i18n::translate('The Charts block allows you to place a chart on the Home or My Page. You can configure the block to show an ancestors, descendants, hourglass view, or an interactive tree. You can also choose the root person for the chart.');
}
// Implement class WT_Module_Block
@@ -235,9 +235,10 @@ class charts_WT_Module extends WT_Module implements WT_Module_Block {
$block=get_block_setting($block_id, 'block', false);
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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
}
}
+?> \ No newline at end of file
diff --git a/modules/gedcom_favorites/help_text.php b/modules/gedcom_favorites/help_text.php
new file mode 100644
index 0000000000..e80e16b8b6
--- /dev/null
+++ b/modules/gedcom_favorites/help_text.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Module help text.
+ *
+ * This file is included from the application help_text.php script.
+ * It simply needs to set $title and $text for the help topic $help_topic
+ *
+ * webtrees: Web based Family History software
+ * Copyright (C) 2010 webtrees development team.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @version $Id$
+ */
+
+if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
+ header('HTTP/1.0 403 Forbidden');
+ exit;
+}
+
+switch ($help) {
+case 'recent_changes':
+ $title=i18n::translate('GEDCOM Favorites block');
+ $text=i18n::translate('The GEDCOM Favorites block gives the administrator the ability to designate individuals from the database so that their information is easily accessible to all. This is a way to highlight people who are important in your family history.');
+ $text.='<ul><li>';
+
+ // TODO: Other options of this block
+
+ $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;
+}
+?> \ No newline at end of file
diff --git a/modules/gedcom_favorites/module.php b/modules/gedcom_favorites/module.php
index c61afb649b..aa919768bb 100644
--- a/modules/gedcom_favorites/module.php
+++ b/modules/gedcom_favorites/module.php
@@ -304,7 +304,7 @@ class gedcom_favorites_WT_Module extends WT_Module implements WT_Module_Block {
$block=get_block_setting($block_id, 'block', false);
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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
@@ -382,3 +382,4 @@ class gedcom_favorites_WT_Module extends WT_Module implements WT_Module_Block {
return $favorites;
}
}
+?> \ No newline at end of file
diff --git a/modules/recent_changes/help_text.php b/modules/recent_changes/help_text.php
index a9cd2d19c6..c711a0adf1 100644
--- a/modules/recent_changes/help_text.php
+++ b/modules/recent_changes/help_text.php
@@ -1,46 +1,48 @@
-<?php
-/**
- * Module help text.
- *
- * This file is included from the application help_text.php script.
- * It simply needs to set $title and $text for the help topic $help_topic
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * @version $Id: help_text.php 8554 2010-05-31 16:51:39Z greg $
- */
-
-if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
- header('HTTP/1.0 403 Forbidden');
- exit;
-}
-
-switch ($help) {
-case 'recent_changes':
- $title=i18n::translate('Recent changes block');
- $text=i18n::translate('This block shows you the most recent changes to the GEDCOM as recorded by the CHAN GEDCOM tag.');
- $text.='<ul><li>';
- $text.=i18n::translate('Number of days to show: This is the number of days that <b>webtrees</b> should use when searching for events');
- $text.=' (<i>'.i18n::plural('maximum %d day', 'maximum %d days', 30, 30).'</i>).';
- $text.='</li><li>';
- $text.=i18n::translate('Should this block be hidden when it is empty?: Provides the option to hide the block if there are no changes to display.');
- $text.='</li><li>';
- $text.=i18n::translate('Add a scrollbar when block contents grow: 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;
-}
+<?php
+/**
+ * Module help text.
+ *
+ * This file is included from the application help_text.php script.
+ * It simply needs to set $title and $text for the help topic $help_topic
+ *
+ * webtrees: Web based Family History software
+ * Copyright (C) 2010 webtrees development team.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @version $Id$
+ */
+
+if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
+ header('HTTP/1.0 403 Forbidden');
+ exit;
+}
+
+switch ($help) {
+case 'recent_changes':
+ $title=i18n::translate('Recent changes block');
+ $text=i18n::translate('This block shows you the most recent changes to the GEDCOM as recorded by the CHAN GEDCOM tag.');
+ $text.='<ul><li>';
+ $text.=i18n::translate('Number of days to show: This is the number of days that <b>webtrees</b> should use when searching for events');
+ $text.=' (<i>'.i18n::plural('maximum %d day', 'maximum %d days', 30, 30).'</i>).';
+ $text.='</li><li>';
+ $text.=i18n::translate('Should this block be hidden when it is empty?: Provides the option to hide the block if there are no changes to display.');
+ $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;
+}
+?> \ No newline at end of file
diff --git a/modules/recent_changes/module.php b/modules/recent_changes/module.php
index 52a126874f..1107ea87dd 100644
--- a/modules/recent_changes/module.php
+++ b/modules/recent_changes/module.php
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * @version $Id: class_media.php 5451 2009-05-05 22:15:34Z fisharebest $
+ * @version $Id$
*/
if (!defined('WT_WEBTREES')) {
@@ -140,9 +140,10 @@ class recent_changes_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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
}
}
+?> \ No newline at end of file
diff --git a/modules/review_changes/help_text.php b/modules/review_changes/help_text.php
new file mode 100644
index 0000000000..d0e92ebace
--- /dev/null
+++ b/modules/review_changes/help_text.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Module help text.
+ *
+ * This file is included from the application help_text.php script.
+ * It simply needs to set $title and $text for the help topic $help_topic
+ *
+ * webtrees: Web based Family History software
+ * Copyright (C) 2010 webtrees development team.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @version $Id$
+ */
+
+if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
+ header('HTTP/1.0 403 Forbidden');
+ exit;
+}
+
+switch ($help) {
+case 'recent_changes':
+ $title=i18n::translate('Pending Changes block');
+ $text=i18n::translate('The Pending Changes block will give users with Edit rights a list of the records that have been changed online and that still need to be reviewed and accepted. These changes are pending acceptance or rejection.<br /><br />If this block is enabled, users with Accept rights will receive an email once a day notifying them that changes need to be reviewed.');
+ $text.='<ul><li>';
+
+ // TODO: Other options of this block
+
+ $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;
+}
+?> \ No newline at end of file
diff --git a/modules/review_changes/module.php b/modules/review_changes/module.php
index 5b85b3943d..608ac39c1f 100644
--- a/modules/review_changes/module.php
+++ b/modules/review_changes/module.php
@@ -186,9 +186,10 @@ class review_changes_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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
}
}
+?> \ No newline at end of file
diff --git a/modules/todays_events/help_text.php b/modules/todays_events/help_text.php
new file mode 100644
index 0000000000..c2e448cf88
--- /dev/null
+++ b/modules/todays_events/help_text.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Module help text.
+ *
+ * This file is included from the application help_text.php script.
+ * It simply needs to set $title and $text for the help topic $help_topic
+ *
+ * webtrees: Web based Family History software
+ * Copyright (C) 2010 webtrees development team.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @version $Id$
+ */
+
+if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
+ header('HTTP/1.0 403 Forbidden');
+ exit;
+}
+
+switch ($help) {
+case 'recent_changes':
+ $title=i18n::translate('On This Day');
+ $text=i18n::translate('The On This Day, in Your History... block shows anniversaries of events for today. You can configure the amount of detail shown.');
+ $text.='<ul><li>';
+
+ // TODO: Other options of this block
+
+ $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;
+}
+?> \ No newline at end of file
diff --git a/modules/todays_events/module.php b/modules/todays_events/module.php
index 3c4b1cdff0..a7e718a6b5 100644
--- a/modules/todays_events/module.php
+++ b/modules/todays_events/module.php
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * @version $Id: class_media.php 5451 2009-05-05 22:15:34Z fisharebest $
+ * @version $Id$
*/
if (!defined('WT_WEBTREES')) {
@@ -151,9 +151,10 @@ class todays_events_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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
}
}
+?> \ No newline at end of file
diff --git a/modules/todo/help_text.php b/modules/todo/help_text.php
index 77221bade2..01e2f7a932 100644
--- a/modules/todo/help_text.php
+++ b/modules/todo/help_text.php
@@ -51,3 +51,4 @@ case 'todo_show_unassigned':
$text=i18n::translate('Show &quot;To Do&quot; tasks that are not assigned to any user');
break;
}
+?> \ No newline at end of file
diff --git a/modules/todo/module.php b/modules/todo/module.php
index 9d8752568e..74c1acc3b3 100644
--- a/modules/todo/module.php
+++ b/modules/todo/module.php
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * @version $Id: class_media.php 5451 2009-05-05 22:15:34Z fisharebest $
+ * @version $Id$
*/
if (!defined('WT_WEBTREES')) {
@@ -168,9 +168,10 @@ class todo_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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
}
}
+?> \ No newline at end of file
diff --git a/modules/top10_givnnames/help_text.php b/modules/top10_givnnames/help_text.php
new file mode 100644
index 0000000000..ccc877f111
--- /dev/null
+++ b/modules/top10_givnnames/help_text.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Module help text.
+ *
+ * This file is included from the application help_text.php script.
+ * It simply needs to set $title and $text for the help topic $help_topic
+ *
+ * webtrees: Web based Family History software
+ * Copyright (C) 2010 webtrees development team.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @version $Id$
+ */
+
+if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
+ header('HTTP/1.0 403 Forbidden');
+ exit;
+}
+
+switch ($help) {
+case 'recent_changes':
+ $title=i18n::translate('Top 10 Given Names');
+ $text=i18n::translate('This block shows a table of the 10 most frequently occurring given names in the database. The actual number of given names shown in this block is configurable.');
+ $text.='<ul><li>';
+
+ // TODO: Other options of this block
+
+ $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;
+}
+?> \ No newline at end of file
diff --git a/modules/top10_givnnames/module.php b/modules/top10_givnnames/module.php
index 1aa6ee6338..f285ef8b3f 100644
--- a/modules/top10_givnnames/module.php
+++ b/modules/top10_givnnames/module.php
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * @version $Id: class_media.php 5451 2009-05-05 22:15:34Z fisharebest $
+ * @version $Id$
*/
if (!defined('WT_WEBTREES')) {
@@ -162,9 +162,10 @@ class top10_givnnames_WT_Module extends WT_Module implements WT_Module_Block {
$block=get_block_setting($block_id, 'block', false);
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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
}
}
+?> \ No newline at end of file
diff --git a/modules/top10_pageviews/help_text.php b/modules/top10_pageviews/help_text.php
new file mode 100644
index 0000000000..d42ad68542
--- /dev/null
+++ b/modules/top10_pageviews/help_text.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Module help text.
+ *
+ * This file is included from the application help_text.php script.
+ * It simply needs to set $title and $text for the help topic $help_topic
+ *
+ * webtrees: Web based Family History software
+ * Copyright (C) 2010 webtrees development team.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @version $Id$
+ */
+
+if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
+ header('HTTP/1.0 403 Forbidden');
+ exit;
+}
+
+switch ($help) {
+case 'recent_changes':
+ $title=i18n::translate('Most Viewed Items');
+ $text=i18n::translate('This block will show the 10 records that have been viewed the most. This block requires that Hit Counters be enabled in the GEDCOM configuration settings.');
+ $text.='<ul><li>';
+
+ // TODO: Other options of this block
+
+ $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;
+}
+?> \ No newline at end of file
diff --git a/modules/top10_pageviews/module.php b/modules/top10_pageviews/module.php
index d6cf2a1e74..2e8765f0f4 100644
--- a/modules/top10_pageviews/module.php
+++ b/modules/top10_pageviews/module.php
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * @version $Id: class_media.php 5451 2009-05-05 22:15:34Z fisharebest $
+ * @version $Id$
*/
if (!defined('WT_WEBTREES')) {
@@ -156,9 +156,10 @@ class top10_pageviews_WT_Module extends WT_Module implements WT_Module_Block {
$block=get_block_setting($block_id, 'block', false);
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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
}
}
+?> \ No newline at end of file
diff --git a/modules/top10_surnames/help_text.php b/modules/top10_surnames/help_text.php
new file mode 100644
index 0000000000..1832779f20
--- /dev/null
+++ b/modules/top10_surnames/help_text.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Module help text.
+ *
+ * This file is included from the application help_text.php script.
+ * It simply needs to set $title and $text for the help topic $help_topic
+ *
+ * webtrees: Web based Family History software
+ * Copyright (C) 2010 webtrees development team.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @version $Id$
+ */
+
+if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
+ header('HTTP/1.0 403 Forbidden');
+ exit;
+}
+
+switch ($help) {
+case 'recent_changes':
+ $title=i18n::translate('Top 10 Surnames');
+ $text=i18n::translate('This block shows a table of the 10 most frequently occurring surnames in the database. The actual number of surnames shown in this block is configurable. You can configure the GEDCOM to remove names from this list.');
+ $text.='<ul><li>';
+
+ // TODO: Other options of this block
+
+ $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;
+}
+?> \ No newline at end of file
diff --git a/modules/top10_surnames/module.php b/modules/top10_surnames/module.php
index 64f63d0673..d3796bc210 100644
--- a/modules/top10_surnames/module.php
+++ b/modules/top10_surnames/module.php
@@ -178,7 +178,7 @@ class top10_surnames_WT_Module extends WT_Module implements WT_Module_Block {
$block=get_block_setting($block_id, 'block', false);
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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
@@ -196,3 +196,4 @@ class top10_surnames_WT_Module extends WT_Module implements WT_Module_Block {
return $countb - $counta;
}
}
+?> \ No newline at end of file
diff --git a/modules/upcoming_events/help_text.php b/modules/upcoming_events/help_text.php
index 610b286968..fd64c04be2 100644
--- a/modules/upcoming_events/help_text.php
+++ b/modules/upcoming_events/help_text.php
@@ -1,52 +1,54 @@
-<?php
-/**
- * Module help text.
- *
- * This file is included from the application help_text.php script.
- * It simply needs to set $title and $text for the help topic $help_topic
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * @version $Id: help_text.php 8554 2010-05-31 16:51:39Z greg $
- */
-
-if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
- header('HTTP/1.0 403 Forbidden');
- exit;
-}
-
-switch ($help) {
-case 'upcoming_events':
- $title=i18n::translate('Upcoming events block');
- $text=i18n::translate('This block shows you anniversaries of events that are coming up in the near future.<br /><br />The administrator determines how far ahead the block will look. You can further refine the block\'s display of upcoming events through several configuration options.');
- $text.='<ul><li>';
- $text.=i18n::translate('Number of days to show: This is the number of days that <b>webtrees</b> should use when searching for events');
- $text.=' (<i>'.i18n::plural('maximum %d day', 'maximum %d days', 30, 30).'</i>).';
- $text.='</li><li>';
- $text.=i18n::translate('Show only events of living people?: Choose to show events of all people, or just those still living.');
- $text.='</li><li>';
- $text.=i18n::translate('Show only births, deaths and marriages?: This option lets you eliminate some dated events. For example, Divorce, Cremation, Graduation, Bar Mitzvah, First Communion, etc. should all be dated. When you select "Yes", only Births, Deaths, and Marriages will be shown. When you select "No", all dated events will be shown.');
- $text.='</li><li>';
- $text.=i18n::translate('Presentation style: Either a simple text "List"or a "Table" format.');
- $text.='</li><li>';
- $text.=i18n::translate('Sort style: "Alphabetically", or "By Anniversary" showing results in date order with the most recent first.');
- $text.='</li><li>';
- $text.=i18n::translate('Add a scrollbar when block contents grow: 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;
-}
+<?php
+/**
+ * Module help text.
+ *
+ * This file is included from the application help_text.php script.
+ * It simply needs to set $title and $text for the help topic $help_topic
+ *
+ * webtrees: Web based Family History software
+ * Copyright (C) 2010 webtrees development team.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @version $Id$
+ */
+
+if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
+ header('HTTP/1.0 403 Forbidden');
+ exit;
+}
+
+switch ($help) {
+case 'upcoming_events':
+ $title=i18n::translate('Upcoming events block');
+ $text=i18n::translate('This block shows you anniversaries of events that are coming up in the near future.<br /><br />The administrator determines how far ahead the block will look. You can further refine the block\'s display of upcoming events through several configuration options.');
+ $text.='<ul><li>';
+ $text.=i18n::translate('Number of days to show: This is the number of days that <b>webtrees</b> should use when searching for events');
+ $text.=' (<i>'.i18n::plural('maximum %d day', 'maximum %d days', 30, 30).'</i>).';
+ $text.='</li><li>';
+ $text.=i18n::translate('Show only events of living people?: Choose to show events of all people, or just those still living.');
+ $text.='</li><li>';
+ $text.=i18n::translate('Show only births, deaths and marriages?: This option lets you eliminate some dated events. For example, Divorce, Cremation, Graduation, Bar Mitzvah, First Communion, etc. should all be dated. When you select "Yes", only Births, Deaths, and Marriages will be shown. When you select "No", all dated events will be shown.');
+ $text.='</li><li>';
+ $text.=i18n::translate('Presentation style: Either a simple text "List"or a "Table" format.');
+ $text.='</li><li>';
+ $text.=i18n::translate('Sort style: "Alphabetically", or "By Anniversary" showing results in date order with the most recent first.');
+ $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;
+}
+?> \ No newline at end of file
diff --git a/modules/upcoming_events/module.php b/modules/upcoming_events/module.php
index 4e95cc4c55..4bf48b2d23 100644
--- a/modules/upcoming_events/module.php
+++ b/modules/upcoming_events/module.php
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * @version $Id: class_media.php 5451 2009-05-05 22:15:34Z fisharebest $
+ * @version $Id$
*/
if (!defined('WT_WEBTREES')) {
@@ -159,9 +159,10 @@ class upcoming_events_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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
}
}
+?> \ No newline at end of file
diff --git a/modules/user_favorites/help_text.php b/modules/user_favorites/help_text.php
new file mode 100644
index 0000000000..1eaf13f516
--- /dev/null
+++ b/modules/user_favorites/help_text.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Module help text.
+ *
+ * This file is included from the application help_text.php script.
+ * It simply needs to set $title and $text for the help topic $help_topic
+ *
+ * webtrees: Web based Family History software
+ * Copyright (C) 2010 webtrees development team.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @version $Id$
+ */
+
+if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
+ header('HTTP/1.0 403 Forbidden');
+ exit;
+}
+
+switch ($help) {
+case 'recent_changes':
+ $title=i18n::translate('User Favorites');
+ $text=i18n::translate('The User Favorites block shows the user a list of his favorite people in the database so that he can easily link to them.');
+ $text.='<ul><li>';
+
+ // TODO: Other options of this block
+
+ $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;
+}
+?> \ No newline at end of file
diff --git a/modules/user_favorites/module.php b/modules/user_favorites/module.php
index 34670b92cc..fcbeec798a 100644
--- a/modules/user_favorites/module.php
+++ b/modules/user_favorites/module.php
@@ -298,7 +298,7 @@ class user_favorites_WT_Module extends WT_Module implements WT_Module_Block {
$block=get_block_setting($block_id, 'block', false);
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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
@@ -376,3 +376,4 @@ class user_favorites_WT_Module extends WT_Module implements WT_Module_Block {
return $favorites;
}
}
+?> \ No newline at end of file
diff --git a/modules/user_messages/help_text.php b/modules/user_messages/help_text.php
new file mode 100644
index 0000000000..06679efa0a
--- /dev/null
+++ b/modules/user_messages/help_text.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Module help text.
+ *
+ * This file is included from the application help_text.php script.
+ * It simply needs to set $title and $text for the help topic $help_topic
+ *
+ * webtrees: Web based Family History software
+ * Copyright (C) 2010 webtrees development team.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * @version $Id$
+ */
+
+if (!defined('WT_WEBTREES') || !defined('WT_SCRIPT_NAME') || WT_SCRIPT_NAME!='help_text.php') {
+ header('HTTP/1.0 403 Forbidden');
+ exit;
+}
+
+switch ($help) {
+case 'recent_changes':
+ $title=i18n::translate('User Messages');
+ $text=i18n::translate('The User Messages block shows a list of the messages that have been sent to the active user.');
+ $text.='<ul><li>';
+
+ // TODO: Other options of this block
+
+ $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;
+}
+?> \ No newline at end of file
diff --git a/modules/user_messages/module.php b/modules/user_messages/module.php
index 2b6373d656..e89ceb6a95 100644
--- a/modules/user_messages/module.php
+++ b/modules/user_messages/module.php
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * @version $Id: class_media.php 5451 2009-05-05 22:15:34Z fisharebest $
+ * @version $Id$
*/
if (!defined('WT_WEBTREES')) {
@@ -201,9 +201,10 @@ class user_messages_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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
}
}
+?> \ No newline at end of file
diff --git a/modules/yahrzeit/help_text.php b/modules/yahrzeit/help_text.php
index 498e51aac8..6412e7862f 100644
--- a/modules/yahrzeit/help_text.php
+++ b/modules/yahrzeit/help_text.php
@@ -40,7 +40,9 @@ case 'yahrzeit':
$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: If set to "no" the block will expand vertically to display the full list. If set to "yes" the block will be the height in set your theme\'s style sheet, with scroll bars to view long lists ');
+ $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;
}
+?> \ No newline at end of file
diff --git a/modules/yahrzeit/module.php b/modules/yahrzeit/module.php
index 186ff88aef..f784ea2939 100644
--- a/modules/yahrzeit/module.php
+++ b/modules/yahrzeit/module.php
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * @version $Id: class_media.php 5451 2009-05-05 22:15:34Z fisharebest $
+ * @version $Id$
*/
if (!defined('WT_WEBTREES')) {
@@ -247,9 +247,10 @@ 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: ');
echo '</td><td class="optionbox">';
echo edit_field_yes_no('block', $block);
echo '</td></tr>';
}
}
+?> \ No newline at end of file