| 1 |
<?php |
<?php |
| 2 |
// $Id:$ |
// $Id: termblocks.module,v 1.1 2008/08/06 06:26:52 brenda003 Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* Implementation of hook_help(). |
* Implementation of hook_help(). |
| 7 |
function termblocks_help($section) { |
function termblocks_help($section) { |
| 8 |
switch ($section) { |
switch ($section) { |
| 9 |
case 'admin/help#termblocks': |
case 'admin/help#termblocks': |
| 10 |
return t('Termblocks offers the creation of blocks which list taxonomy terms by: most recent, random, most popular.'); |
return t('Termblocks offers the creation of a finite number of blocks that list taxonomy terms by: most recent, random, most popular, or tag cloud.'); |
| 11 |
} |
} |
| 12 |
} |
} |
| 13 |
|
|
| 62 |
$form['termblocks'] = array( |
$form['termblocks'] = array( |
| 63 |
'#type' => 'fieldset', |
'#type' => 'fieldset', |
| 64 |
'#title' => t('Term Blocks settings'), |
'#title' => t('Term Blocks settings'), |
| 65 |
'#description' => t('Here you can change the way you want your terms to display, as well as how many you want displayed.'), |
'#description' => t('Here you can change the way you want your terms to display, as well as how many you want displayed. If you want your terms displayed in a tag cloud, install !tagadelic.', array('!tagadelic' => url('http://drupal.org/project/tagadelic', NULL, NULL, TRUE))), |
| 66 |
); |
); |
| 67 |
$options = array('random' => 'Random', 'new' => 'Newest', 'popular' => 'Popular'); |
$options = array('random' => 'Random', 'new' => 'Newest', 'popular' => 'Popular'); |
| 68 |
if (module_exists('tagadelic')) { |
if (module_exists('tagadelic')) { |