summaryrefslogtreecommitdiff
path: root/blocks/recent_changes.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-04-14 17:10:47 +0000
committerfisharebest <fisharebest@gmail.com>2010-04-14 17:10:47 +0000
commitd6bd81d4b18b3a97a26e06e7f54f1f5602b9cbef (patch)
tree3414719d8adcd1f924e68fc1e30cc3f0c179bbd4 /blocks/recent_changes.php
parentfbeac796c9d96deb89bfccf12be80641bf5b6288 (diff)
downloadwebtrees-d6bd81d4b18b3a97a26e06e7f54f1f5602b9cbef.tar.gz
webtrees-d6bd81d4b18b3a97a26e06e7f54f1f5602b9cbef.tar.bz2
webtrees-d6bd81d4b18b3a97a26e06e7f54f1f5602b9cbef.zip
Make block initialisation consistent
Diffstat (limited to 'blocks/recent_changes.php')
-rw-r--r--blocks/recent_changes.php19
1 files changed, 11 insertions, 8 deletions
diff --git a/blocks/recent_changes.php b/blocks/recent_changes.php
index 606ddb2e7c..c350a28438 100644
--- a/blocks/recent_changes.php
+++ b/blocks/recent_changes.php
@@ -36,14 +36,17 @@ if (!defined('WT_WEBTREES')) {
define('WT_RECENT_CHANGES_PHP', '');
-$WT_BLOCKS["print_recent_changes"]["name"] = i18n::translate('Recent Changes');
-$WT_BLOCKS["print_recent_changes"]["descr"] = i18n::translate('The Recent Changes block will list all of the changes that have been made to the database in the last month. This block can help you stay current with the changes that have been made. Changes are detected automatically, using the CHAN tag defined in the GEDCOM Standard.');
-$WT_BLOCKS["print_recent_changes"]["canconfig"]= true;
-$WT_BLOCKS["print_recent_changes"]["config"] = array(
- "cache"=>1,
- "days"=>30,
- "hide_empty"=>"no"
- );
+$WT_BLOCKS['print_recent_changes']=array(
+ 'name'=>i18n::translate('Recent Changes'),
+ 'type'=>'both',
+ 'descr'=>i18n::translate('The Recent Changes block will list all of the changes that have been made to the database in the last month. This block can help you stay current with the changes that have been made. Changes are detected automatically, using the CHAN tag defined in the GEDCOM Standard.'),
+ 'canconfig'=>true,
+ 'config'=>array(
+ 'cache'=>1,
+ 'days'=>30,
+ 'hide_empty'=>'no'
+ )
+);
//-- Recent Changes block
//-- this block prints a list of changes that have occurred recently in your gedcom