/[drupal]/contributions/modules/article/article.module
ViewVC logotype

Diff of /contributions/modules/article/article.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.23.2.5.2.1.2.12, Wed Sep 26 20:53:26 2007 UTC revision 1.23.2.5.2.1.2.13, Sun Jan 6 01:55:09 2008 UTC
# Line 1  Line 1 
1  <?php // -*-php-*-  <?php // -*-php-*-
2  // $Id: article.module,v 1.23.2.5.2.1.2.11 2007/09/26 20:41:57 msameer Exp $  // $Id: article.module,v 1.23.2.5.2.1.2.12 2007/09/26 20:53:26 msameer Exp $
3    
4  /**  /**
5    Article Module - an easy to use integrated article management module.    Article Module - an easy to use integrated article management module.
# Line 145  function article_admin_settings() { Line 145  function article_admin_settings() {
145                                                            '#title' => t('Articles to Display'),                                                            '#title' => t('Articles to Display'),
146                                                            '#description' => t('Sets the number of recent articles that will be displayed in the Recent Articles box. (0 = not displayed).'),                                                            '#description' => t('Sets the number of recent articles that will be displayed in the Recent Articles box. (0 = not displayed).'),
147                                                            );                                                            );
148      $form['article_pathauto'] = array(
149                                        '#type' => 'checkbox',
150                                        '#title' => t('Enable pathauto integration'),
151                                        '#default_value' => variable_get('article_pathauto', false),
152                                        '#description' => t('Use the pathauto module to create links to article categories.')
153    );
154    
155    return system_settings_form($form);    return system_settings_form($form);
156  }  }
157    
# Line 494  function _article_block_configure() { Line 501  function _article_block_configure() {
501   * @} End of addtogroup helper_functions   * @} End of addtogroup helper_functions
502   */   */
503    
504    // pathauto integration.
505    if (module_exists("pathauto")) {
506      if (variable_get('article_pathauto', false)) {
507        require("pathauto.inc");
508      }
509    }
510    
511  ?>  ?>

Legend:
Removed from v.1.23.2.5.2.1.2.12  
changed lines
  Added in v.1.23.2.5.2.1.2.13

  ViewVC Help
Powered by ViewVC 1.1.2