diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-04-14 17:18:37 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-04-14 17:18:37 +0000 |
| commit | 0d9032dfb30f43846b657f42578b893a76da34eb (patch) | |
| tree | 8f4dba1094de4bb08fcc977d6cbde073ab0b9aed /admin | |
| parent | 3a187db72e188ac5b82f53be8d21482de40104e2 (diff) | |
| download | articles-0d9032dfb30f43846b657f42578b893a76da34eb.tar.gz articles-0d9032dfb30f43846b657f42578b893a76da34eb.tar.bz2 articles-0d9032dfb30f43846b657f42578b893a76da34eb.zip | |
change article config setting names to <pkg>_setting
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_articles_inc.php | 28 | ||||
| -rw-r--r-- | admin/schema_inc.php | 28 |
2 files changed, 28 insertions, 28 deletions
diff --git a/admin/admin_articles_inc.php b/admin/admin_articles_inc.php index 6cdf968..91eb16e 100644 --- a/admin/admin_articles_inc.php +++ b/admin/admin_articles_inc.php @@ -1,10 +1,10 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_articles/admin/admin_articles_inc.php,v 1.14 2006/04/13 09:09:50 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_articles/admin/admin_articles_inc.php,v 1.15 2006/04/14 17:18:37 squareing Exp $ // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // 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. $formCmsSettings = array( - 'cms_rankings' => array( + 'articles_rankings' => array( 'label' => 'Rankings', 'note' => 'Activates statistics for article ranking features.', ), @@ -27,39 +27,39 @@ $articleDateThreshold = array( $gBitSmarty->assign( 'articleDateThreshold', $articleDateThreshold ); $formArticleListing = array( - "art_list_title" => array( + "articles_list_title" => array( 'label' => 'Title', 'note' => 'List the title of the article.', ), - "art_list_type" => array( + "articles_list_type" => array( 'label' => 'Type', 'note' => 'Display what type of article it is.', ), - "art_list_topic" => array( + "articles_list_topic" => array( 'label' => 'Topic', 'note' => 'Display the article topic.', ), - "art_list_date" => array( + "articles_list_date" => array( 'label' => 'Creation Date', 'note' => 'Display when the article was submitted first.', ), - "art_list_expire" => array( + "articles_list_expire" => array( 'label' => 'Expiration Date', 'note' => 'Display when the article will expire.', ), - "art_list_author" => array( + "articles_list_author" => array( 'label' => 'Author', 'note' => 'Display the name of the author of an article.', ), - "art_list_reads" => array( + "articles_list_reads" => array( 'label' => 'Hits', 'note' => 'Display the number of times a given article has been accessed.', ), - "art_list_size" => array( + "articles_list_size" => array( 'label' => 'Size', 'note' => 'Display the size of any given article.', ), - "art_list_img" => array( + "articles_list_img" => array( 'label' => 'Image', 'note' => 'Display the image that is associated with a given article.', ), @@ -77,9 +77,9 @@ if( $processForm ) { foreach( $featureToggles as $item => $data ) { simple_set_toggle( $item, ARTICLES_PKG_NAME ); } - simple_set_value( "article_date_threshold", ARTICLES_PKG_NAME ); - simple_set_int( "max_articles", ARTICLES_PKG_NAME ); - simple_set_int( "article_description_length", ARTICLES_PKG_NAME ); + simple_set_value( "articles_date_threshold", ARTICLES_PKG_NAME ); + simple_set_int( "articles_max_list", ARTICLES_PKG_NAME ); + simple_set_int( "articles_description_length", ARTICLES_PKG_NAME ); simple_set_int( "article_topic_thumbnail_size", ARTICLES_PKG_NAME ); } ?> diff --git a/admin/schema_inc.php b/admin/schema_inc.php index d0d962a..d4cc591 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -118,20 +118,20 @@ $gBitInstaller->registerUserPermissions( ARTICLES_PKG_NAME, array( // ### Default Preferences $gBitInstaller->registerPreferences( ARTICLES_PKG_NAME, array( - array( ARTICLES_PKG_NAME, 'art_list_author','y'), - array( ARTICLES_PKG_NAME, 'art_list_date','y'), - array( ARTICLES_PKG_NAME, 'art_list_img','y'), - array( ARTICLES_PKG_NAME, 'art_list_reads','y'), - array( ARTICLES_PKG_NAME, 'art_list_size','y'), - array( ARTICLES_PKG_NAME, 'art_list_title','y'), - array( ARTICLES_PKG_NAME, 'art_list_topic','y'), - array( ARTICLES_PKG_NAME, 'art_list_type','y'), - array( ARTICLES_PKG_NAME, 'art_list_expire','y'), - array( ARTICLES_PKG_NAME, 'max_articles','10'), - array( ARTICLES_PKG_NAME, 'cms_rankings','y'), - array( ARTICLES_PKG_NAME, 'article_submissions', 'y'), - array( ARTICLES_PKG_NAME, 'article_description_length', '500'), - array( ARTICLES_PKG_NAME, 'article_date_threshold', 'week'), + array( ARTICLES_PKG_NAME, 'articles_list_author','y'), + array( ARTICLES_PKG_NAME, 'articles_list_date','y'), + array( ARTICLES_PKG_NAME, 'articles_list_img','y'), + array( ARTICLES_PKG_NAME, 'articles_list_reads','y'), + array( ARTICLES_PKG_NAME, 'articles_list_size','y'), + array( ARTICLES_PKG_NAME, 'articles_list_title','y'), + array( ARTICLES_PKG_NAME, 'articles_list_topic','y'), + array( ARTICLES_PKG_NAME, 'articles_list_type','y'), + array( ARTICLES_PKG_NAME, 'articles_list_expire','y'), + array( ARTICLES_PKG_NAME, 'articles_max_list','10'), + array( ARTICLES_PKG_NAME, 'articles_rankings','y'), + array( ARTICLES_PKG_NAME, 'articles_submissions', 'y'), + array( ARTICLES_PKG_NAME, 'articles_description_length', '500'), + array( ARTICLES_PKG_NAME, 'articles_date_threshold', 'week'), ) ); if( defined( 'RSS_PKG_NAME' ) ) { |
