Revision 045fb441
Added by Andreas Kohlbecker about 7 years ago
modules/cdm_dataportal/settings.php | ||
---|---|---|
1756 | 1756 |
} |
1757 | 1757 |
|
1758 | 1758 |
|
1759 |
|
|
1760 |
/** |
|
1761 |
* @todo Please document this function. |
|
1762 |
* @see http://drupal.org/node/1354 |
|
1759 |
/** |
|
1760 |
* @param $form_name |
|
1761 |
* @param $form_title |
|
1762 |
* @param $collapsed |
|
1763 |
* @param string $form_description |
|
1764 |
* The description for the fieldset of the gallery setting. |
|
1765 |
* @return mixed |
|
1763 | 1766 |
*/ |
1764 | 1767 |
function cdm_dataportal_create_gallery_settings_form($form_name, $form_title, $collapsed, $form_description = '') { |
1765 | 1768 |
$form[$form_name] = array( |
... | ... | |
1768 | 1771 |
'#collapsible' => TRUE, |
1769 | 1772 |
'#collapsed' => $collapsed, |
1770 | 1773 |
'#tree' => TRUE, |
1771 |
'#description' => t('@$form-description', array('@$form-description' => $form_description)),
|
|
1774 |
'#description' => $form_description,
|
|
1772 | 1775 |
); |
1773 | 1776 |
|
1774 | 1777 |
$default_values = unserialize(CDM_DATAPORTAL_GALLERY_SETTINGS); |
Also available in: Unified diff
fixing missing html support in descriptions of image gallery settings