| 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. |
| 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 |
|
|
| 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 |
?> |
?> |