Commit 74c4ac74 authored by sampaioprimo's avatar sampaioprimo

[ENH] rename all feed related preferences to feed_$section_$option (e.g....

[ENH] rename all feed related preferences to feed_$section_$option (e.g. showAuthor_rss_blogs -> feed_blogs_showAuthor)
parent 288eac24
......@@ -1335,6 +1335,7 @@ installer/schema/20100628_payment_user_tiki.sql -text
installer/schema/20100629_remove_feature_blog_comments.sql -text
installer/schema/20100702_discount_tiki.sql -text
installer/schema/20100712_remove_unsupported_feed_formats.sql -text
installer/schema/20100713_rename_feed_prefs.sql -text
installer/schema/99999999_image_plugins_kill_tiki.php -text
installer/schema/index.php -text
installer/shell.php -text
......@@ -2309,7 +2310,6 @@ lib/prefs/cookie.php -text
lib/prefs/count.php -text
lib/prefs/default.php -text
lib/prefs/desactive.php -text
lib/prefs/desc.php -text
lib/prefs/direct.php -text
lib/prefs/directory.php -text
lib/prefs/display.php -text
......@@ -2318,6 +2318,7 @@ lib/prefs/error.php -text
lib/prefs/faq.php -text
lib/prefs/faqs.php -text
lib/prefs/feature.php -text
lib/prefs/feed.php -text
lib/prefs/fgal.php -text
lib/prefs/file.php -text
lib/prefs/footer.php -text
......@@ -2333,7 +2334,6 @@ lib/prefs/home.php -text
lib/prefs/http.php -text
lib/prefs/https.php -text
lib/prefs/iepngfix.php -text
lib/prefs/index.php -text
lib/prefs/javascript.php -text
lib/prefs/jquery.php -text
lib/prefs/keep.php -text
......@@ -2375,8 +2375,6 @@ lib/prefs/rating.php -text
lib/prefs/recaptcha.php -text
lib/prefs/record.php -text
lib/prefs/restrict.php -text
lib/prefs/rss.php -text
lib/prefs/rssfeed.php -text
lib/prefs/search.php -text
lib/prefs/section.php -text
lib/prefs/sender.php -text
......@@ -2386,7 +2384,6 @@ lib/prefs/shib.php -text
lib/prefs/shipping.php -text
lib/prefs/short.php -text
lib/prefs/show.php -text
lib/prefs/showAuthor.php -text
lib/prefs/site.php -text
lib/prefs/sitead.php -text
lib/prefs/sitelogo.php -text
......@@ -2396,7 +2393,6 @@ lib/prefs/smarty.php -text
lib/prefs/socialnetworks.php -text
lib/prefs/style.php -text
lib/prefs/tiki.php -text
lib/prefs/title.php -text
lib/prefs/tracker.php -text
lib/prefs/unsuccessful.php -text
lib/prefs/url.php -text
......
UPDATE `tiki_preferences` SET `name`='feed_default_version' WHERE `name`='rssfeed_default_version';
UPDATE `tiki_preferences` SET `name`='feed_language' WHERE `name`='rssfeed_language';
UPDATE `tiki_preferences` SET `name`='feed_img' WHERE `name`='rssfeed_img';
UPDATE `tiki_preferences` SET `name`='feed_basic_auth' WHERE `name`='rss_basic_auth';
UPDATE `tiki_preferences` SET `name`='feed_cache_time' WHERE `name`='rss_cache_time';
UPDATE `tiki_preferences` SET `name`='feed_articles_homepage' WHERE `name`='index_rss_articles';
UPDATE `tiki_preferences` SET `name`='feed_blogs_homepage' WHERE `name`='index_rss_blogs';
UPDATE `tiki_preferences` SET `name`='feed_blog_homepage' WHERE `name`='index_rss_blog';
UPDATE `tiki_preferences` SET `name`='feed_calendar_homepage' WHERE `name`='index_rss_calendar';
UPDATE `tiki_preferences` SET `name`='feed_directories_homepage' WHERE `name`='index_rss_directories';
UPDATE `tiki_preferences` SET `name`='feed_file_galleries_homepage' WHERE `name`='index_rss_file_galleries';
UPDATE `tiki_preferences` SET `name`='feed_file_gallery_homepage' WHERE `name`='index_rss_file_gallery';
UPDATE `tiki_preferences` SET `name`='feed_forums_homepage' WHERE `name`='index_rss_forums';
UPDATE `tiki_preferences` SET `name`='feed_forum_homepage' WHERE `name`='index_rss_forum';
UPDATE `tiki_preferences` SET `name`='feed_image_galleries_homepage' WHERE `name`='index_rss_image_galleries';
UPDATE `tiki_preferences` SET `name`='feed_image_gallery_homepage' WHERE `name`='index_rss_image_gallery';
UPDATE `tiki_preferences` SET `name`='feed_maps_homepage' WHERE `name`='index_rss_maps';
UPDATE `tiki_preferences` SET `name`='feed_shoutbox_homepage' WHERE `name`='index_rss_shoutbox';
UPDATE `tiki_preferences` SET `name`='feed_trackers_homepage' WHERE `name`='index_rss_trackers';
UPDATE `tiki_preferences` SET `name`='feed_tracker_homepage' WHERE `name`='index_rss_tracker';
UPDATE `tiki_preferences` SET `name`='feed_wiki_homepage' WHERE `name`='index_rss_wiki';
UPDATE `tiki_preferences` SET `name`='feed_articles_max' WHERE `name`='max_rss_articles';
UPDATE `tiki_preferences` SET `name`='feed_blogs_max' WHERE `name`='max_rss_blogs';
UPDATE `tiki_preferences` SET `name`='feed_blog_max' WHERE `name`='max_rss_blog';
UPDATE `tiki_preferences` SET `name`='feed_calendar_max' WHERE `name`='max_rss_calendar';
UPDATE `tiki_preferences` SET `name`='feed_directories_max' WHERE `name`='max_rss_directories';
UPDATE `tiki_preferences` SET `name`='feed_file_galleries_max' WHERE `name`='max_rss_file_galleries';
UPDATE `tiki_preferences` SET `name`='feed_file_gallery_max' WHERE `name`='max_rss_file_gallery';
UPDATE `tiki_preferences` SET `name`='feed_forums_max' WHERE `name`='max_rss_forums';
UPDATE `tiki_preferences` SET `name`='feed_forum_max' WHERE `name`='max_rss_forum';
UPDATE `tiki_preferences` SET `name`='feed_image_galleries_max' WHERE `name`='max_rss_image_galleries';
UPDATE `tiki_preferences` SET `name`='feed_image_gallery_max' WHERE `name`='max_rss_image_gallery';
UPDATE `tiki_preferences` SET `name`='feed_maps_max' WHERE `name`='max_rss_maps';
UPDATE `tiki_preferences` SET `name`='feed_shoutbox_max' WHERE `name`='max_rss_shoutbox';
UPDATE `tiki_preferences` SET `name`='feed_trackers_max' WHERE `name`='max_rss_trackers';
UPDATE `tiki_preferences` SET `name`='feed_tracker_max' WHERE `name`='max_rss_tracker';
UPDATE `tiki_preferences` SET `name`='feed_wiki_max' WHERE `name`='max_rss_wiki';
UPDATE `tiki_preferences` SET `name`='feed_articles_showAuthor' WHERE `name`='showAuthor_rss_articles';
UPDATE `tiki_preferences` SET `name`='feed_blogs_showAuthor' WHERE `name`='showAuthor_rss_blogs';
UPDATE `tiki_preferences` SET `name`='feed_blog_showAuthor' WHERE `name`='showAuthor_rss_blog';
UPDATE `tiki_preferences` SET `name`='feed_calendar_showAuthor' WHERE `name`='showAuthor_rss_calendar';
UPDATE `tiki_preferences` SET `name`='feed_directories_showAuthor' WHERE `name`='showAuthor_rss_directories';
UPDATE `tiki_preferences` SET `name`='feed_file_galleries_showAuthor' WHERE `name`='showAuthor_rss_file_galleries';
UPDATE `tiki_preferences` SET `name`='feed_file_gallery_showAuthor' WHERE `name`='showAuthor_rss_file_gallery';
UPDATE `tiki_preferences` SET `name`='feed_forums_showAuthor' WHERE `name`='showAuthor_rss_forums';
UPDATE `tiki_preferences` SET `name`='feed_forum_showAuthor' WHERE `name`='showAuthor_rss_forum';
UPDATE `tiki_preferences` SET `name`='feed_image_galleries_showAuthor' WHERE `name`='showAuthor_rss_image_galleries';
UPDATE `tiki_preferences` SET `name`='feed_image_gallery_showAuthor' WHERE `name`='showAuthor_rss_image_gallery';
UPDATE `tiki_preferences` SET `name`='feed_maps_showAuthor' WHERE `name`='showAuthor_rss_maps';
UPDATE `tiki_preferences` SET `name`='feed_shoutbox_showAuthor' WHERE `name`='showAuthor_rss_shoutbox';
UPDATE `tiki_preferences` SET `name`='feed_trackers_showAuthor' WHERE `name`='showAuthor_rss_trackers';
UPDATE `tiki_preferences` SET `name`='feed_tracker_showAuthor' WHERE `name`='showAuthor_rss_tracker';
UPDATE `tiki_preferences` SET `name`='feed_wiki_showAuthor' WHERE `name`='showAuthor_rss_wiki';
UPDATE `tiki_preferences` SET `name`='feed_articles_title' WHERE `name`='title_rss_articles';
UPDATE `tiki_preferences` SET `name`='feed_blogs_title' WHERE `name`='title_rss_blogs';
UPDATE `tiki_preferences` SET `name`='feed_blog_title' WHERE `name`='title_rss_blog';
UPDATE `tiki_preferences` SET `name`='feed_calendar_title' WHERE `name`='title_rss_calendar';
UPDATE `tiki_preferences` SET `name`='feed_directories_title' WHERE `name`='title_rss_directories';
UPDATE `tiki_preferences` SET `name`='feed_file_galleries_title' WHERE `name`='title_rss_file_galleries';
UPDATE `tiki_preferences` SET `name`='feed_file_gallery_title' WHERE `name`='title_rss_file_gallery';
UPDATE `tiki_preferences` SET `name`='feed_forums_title' WHERE `name`='title_rss_forums';
UPDATE `tiki_preferences` SET `name`='feed_forum_title' WHERE `name`='title_rss_forum';
UPDATE `tiki_preferences` SET `name`='feed_image_galleries_title' WHERE `name`='title_rss_image_galleries';
UPDATE `tiki_preferences` SET `name`='feed_image_gallery_title' WHERE `name`='title_rss_image_gallery';
UPDATE `tiki_preferences` SET `name`='feed_maps_title' WHERE `name`='title_rss_maps';
UPDATE `tiki_preferences` SET `name`='feed_shoutbox_title' WHERE `name`='title_rss_shoutbox';
UPDATE `tiki_preferences` SET `name`='feed_trackers_title' WHERE `name`='title_rss_trackers';
UPDATE `tiki_preferences` SET `name`='feed_tracker_title' WHERE `name`='title_rss_tracker';
UPDATE `tiki_preferences` SET `name`='feed_wiki_title' WHERE `name`='title_rss_wiki';
UPDATE `tiki_preferences` SET `name`='feed_articles_desc' WHERE `name`='desc_rss_articles';
UPDATE `tiki_preferences` SET `name`='feed_blogs_desc' WHERE `name`='desc_rss_blogs';
UPDATE `tiki_preferences` SET `name`='feed_blog_desc' WHERE `name`='desc_rss_blog';
UPDATE `tiki_preferences` SET `name`='feed_image_galleries_desc' WHERE `name`='desc_rss_image_galleries';
UPDATE `tiki_preferences` SET `name`='feed_image_gallery_desc' WHERE `name`='desc_rss_image_gallery';
UPDATE `tiki_preferences` SET `name`='feed_file_galleries_desc' WHERE `name`='desc_rss_file_galleries';
UPDATE `tiki_preferences` SET `name`='feed_file_gallery_desc' WHERE `name`='desc_rss_file_gallery';
UPDATE `tiki_preferences` SET `name`='feed_wiki_desc' WHERE `name`='desc_rss_wiki';
UPDATE `tiki_preferences` SET `name`='feed_forums_desc' WHERE `name`='desc_rss_forums';
UPDATE `tiki_preferences` SET `name`='feed_forum_desc' WHERE `name`='desc_rss_forum';
UPDATE `tiki_preferences` SET `name`='feed_trackers_desc' WHERE `name`='desc_rss_trackers';
UPDATE `tiki_preferences` SET `name`='feed_tracker_desc' WHERE `name`='desc_rss_tracker';
UPDATE `tiki_preferences` SET `name`='feed_calendar_desc' WHERE `name`='desc_rss_calendar';
UPDATE `tiki_preferences` SET `name`='feed_directories_desc' WHERE `name`='desc_rss_directories';
UPDATE `tiki_preferences` SET `name`='feed_maps_desc' WHERE `name`='desc_rss_maps';
UPDATE `tiki_preferences` SET `name`='feed_shoutbox_desc' WHERE `name`='desc_rss_shoutbox';
UPDATE `tiki_preferences` SET `name`='feed_articles' WHERE `name`='rss_articles';
UPDATE `tiki_preferences` SET `name`='feed_blogs' WHERE `name`='rss_blogs';
UPDATE `tiki_preferences` SET `name`='feed_blog' WHERE `name`='rss_blog';
UPDATE `tiki_preferences` SET `name`='feed_calendar' WHERE `name`='rss_calendar';
UPDATE `tiki_preferences` SET `name`='feed_directories' WHERE `name`='rss_directories';
UPDATE `tiki_preferences` SET `name`='feed_file_galleries' WHERE `name`='rss_file_galleries';
UPDATE `tiki_preferences` SET `name`='feed_file_gallery' WHERE `name`='rss_file_gallery';
UPDATE `tiki_preferences` SET `name`='feed_forums' WHERE `name`='rss_forums';
UPDATE `tiki_preferences` SET `name`='feed_forum' WHERE `name`='rss_forum';
UPDATE `tiki_preferences` SET `name`='feed_image_galleries' WHERE `name`='rss_image_galleries';
UPDATE `tiki_preferences` SET `name`='feed_image_gallery' WHERE `name`='rss_image_gallery';
UPDATE `tiki_preferences` SET `name`='feed_maps' WHERE `name`='rss_maps';
UPDATE `tiki_preferences` SET `name`='feed_shoutbox' WHERE `name`='rss_shoutbox';
UPDATE `tiki_preferences` SET `name`='feed_trackers' WHERE `name`='rss_trackers';
UPDATE `tiki_preferences` SET `name`='feed_tracker' WHERE `name`='rss_tracker';
UPDATE `tiki_preferences` SET `name`='feed_wiki' WHERE `name`='rss_wiki';
<?php
// (c) Copyright 2002-2010 by authors of the Tiki Wiki/CMS/Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
function prefs_desc_list() {
return array(
'desc_rss_articles' => array(
'name' => tra('Article RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for articles.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_blogs' => array(
'name' => tra('Blogs RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for blogs.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_blog' => array(
'name' => tra('Blog RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for individual blogs.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_image_galleries' => array(
'name' => tra('Image galleries RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for image galleries.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_image_gallery' => array(
'name' => tra('Individual image galleries RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for individual image galleries.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_file_galleries' => array(
'name' => tra('File galleries RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for file galleries.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_file_gallery' => array(
'name' => tra('Individual file galleries RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for individual file galleries.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_wiki' => array(
'name' => tra('Wiki pages RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for wiki pages.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_forums' => array(
'name' => tra('Forums RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for forums.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_forum' => array(
'name' => tra('Individual forums RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for individual forums.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_trackers' => array(
'name' => tra('Trackers RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for trackers.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_tracker' => array(
'name' => tra('Individual trackers RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for individual trackers.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_calendar' => array(
'name' => tra('Calendar events RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for calendar events.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_directories' => array(
'name' => tra('Directories RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for directories.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_maps' => array(
'name' => tra('Maps RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for maps.'),
'type' => 'textarea',
'size' => 2,
),
'desc_rss_shoutbox' => array(
'name' => tra('Shoutbox RSS Description'),
'description' => tra('Description to be published as part of the RSS feed for shoutbox messages.'),
'type' => 'textarea',
'size' => 2,
),
);
}
This diff is collapsed.
<?php
// (c) Copyright 2002-2010 by authors of the Tiki Wiki/CMS/Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
function prefs_index_list() {
return array(
'index_rss_articles' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_blogs' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_blog' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_image_galleries' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_image_gallery' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_file_galleries' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_file_gallery' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_wiki' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_forum' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_trackers' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_tracker' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_calendar' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_directories' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_maps' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
'index_rss_shoutbox' => array(
'name' => tra('Homepage URL'),
'type' => 'text',
'size' => '60',
),
);
}
......@@ -13,101 +13,5 @@ function prefs_max_list() {
'size' => 5,
'filter' => 'digits',
),
'max_rss_articles' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_blogs' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_blog' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_image_galleries' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_image_gallery' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_file_galleries' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_file_gallery' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_wiki' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_forums' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_forum' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_trackers' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_tracker' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_calendar' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_directories' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_maps' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
'max_rss_shoutbox' => array(
'name' => tra('Maximum number of items to display'),
'type' => 'text',
'size' => 5,
'filter' => 'digits',
),
);
}
<?php
// (c) Copyright 2002-2010 by authors of the Tiki Wiki/CMS/Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
function prefs_rss_list() {
return array(
'rss_basic_auth' => array(
'name' => tra('RSS basic Authentication'),
'description' => tra('Propose basic http authentication if the user has no permission to see the feed'),
'type' => 'flag',
),
'rss_cache_time' => array(
'name' => tra('Caching time'),
'type' => 'text',
'size' => '5',
'filter' => 'digits',
'shorthint' => tra('seconds'),
'hint' => tra('Use 0 for no caching'),
),
'rss_articles' => array(
'name' => tra('Articles'),
'description' => tra('RSS feeds for articles'),
'type' => 'flag',
'dependencies' => array(
'feature_articles',
),
),
'rss_blogs' => array(
'name' => tra('Blogs'),
'description' => tra('RSS feeds for blogs'),
'type' => 'flag',
'dependencies' => array(
'feature_blogs',
),
),
'rss_blog' => array(
'name' => tra('Individual Blogs'),
'description' => tra('RSS feed for individual blogs'),
'type' => 'flag',
'dependencies' => array(
'feature_blogs',
),
),
'rss_image_galleries' => array(
'name' => tra('Image galleries'),
'description' => tra('RSS feed for image galleries'),
'type' => 'flag',
'dependencies' => array(
'feature_galleries',
),
),
'rss_image_gallery' => array(
'name' => tra('Individual Image galleries'),
'description' => tra('RSS feed for individual image galleries'),
'type' => 'flag',
'dependencies' => array(
'feature_galleries',
),
),
'rss_file_galleries' => array(
'name' => tra('File galleries'),
'description' => tra('RSS feed for file galleries'),
'type' => 'flag',
'dependencies' => array(
'feature_file_galleries',
),
),
'rss_file_gallery' => array(
'name' => tra('Individual file galleries'),
'description' => tra('RSS feed for individual file galleries'),
'type' => 'flag',
'dependencies' => array(
'feature_file_galleries',
),
),
'rss_wiki' => array(
'name' => tra('Wiki'),
'description' => tra('RSS feed for wiki'),
'type' => 'flag',
'dependencies' => array(
'feature_wiki',
),
),
'rss_forums' => array(
'name' => tra('Forums'),
'description' => tra('RSS feed for forums'),
'type' => 'flag',
'dependencies' => array(
'feature_forums',
),
),
'rss_forum' => array(
'name' => tra('Individual Forums'),
'description' => tra('RSS feed for individual forums'),
'type' => 'flag',
'dependencies' => array(
'feature_forums',
),
),
'rss_trackers' => array(
'name' => tra('Trackers'),
'description' => tra('RSS feed for trackers'),
'type' => 'flag',
'dependencies' => array(
'feature_trackers',
),
),
'rss_tracker' => array(
'name' => tra('Individual trackers items'),
'description' => tra('RSS feed for individual trackers items'),
'type' => 'flag',
'dependencies' => array(
'feature_trackers',
),
),
'rss_calendar' => array(
'name' => tra('Calendar events'),
'description' => tra('RSS feed for calendar events'),
'type' => 'flag',
'dependencies' => array(
'feature_calendar',
),
),
'rss_directories' => array(
'name' => tra('Directories'),
'description' => tra('RSS feed for directories'),
'type' => 'flag',
'dependencies' => array(
'feature_directory',
),
),
'rss_maps' => array(
'name' => tra('Maps'),
'description' => tra('RSS feed for maps'),
'type' => 'flag',
'dependencies' => array(
'feature_maps',
),
),
'rss_shoutbox' => array(
'name' => tra('Shoutbox'),
'description' => tra('RSS feed for shoutbox'),
'type' => 'flag',
'dependencies' => array(
'feature_shoutbox',
),
),
);
}
<?php
// (c) Copyright 2002-2010 by authors of the Tiki Wiki/CMS/Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
function prefs_rssfeed_list() {
return array(
'rssfeed_default_version' => array(
'name' => tra('Default feed format'),
'type' => 'list',
'options' => array(
'2' => tra('RSS 2.0'),
'5' => tra('ATOM 1.0'),
),
),
'rssfeed_language' => array(
'name' => tra('Language'),
'type' => 'text',
'size' => '10',
),
'rssfeed_img' => array(
'name' => tra('Image path'),
'type' => 'text',
'size' => '40',
),
);
}
<?php
// (c) Copyright 2002-2010 by authors of the Tiki Wiki/CMS/Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
function prefs_showAuthor_list() {
return array(
'showAuthor_rss_articles' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_blogs' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_blog' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_image_galleries' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_image_gallery' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_file_galleries' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_file_gallery' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_wiki' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_forums' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_forum' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_trackers' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_tracker' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_calendar' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_directories' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_maps' => array(
'name' => tra('Show Author'),
'type' => 'flag',
),
'showAuthor_rss_shoutbox' => array(