| 1 |
<?php |
<?php |
| 2 |
// $Id: service_links.admin.inc,v 1.1.2.4 2009/08/08 10:05:36 thecrow Exp $ |
// $Id: service_links.admin.inc,v 1.1.2.5 2009/08/14 00:36:27 robloach Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 87 |
'#type' => 'select', |
'#type' => 'select', |
| 88 |
'#title' => t('Service links in nodes'), |
'#title' => t('Service links in nodes'), |
| 89 |
'#default_value' => variable_get('service_links_in_node', 2), |
'#default_value' => variable_get('service_links_in_node', 2), |
| 90 |
'#options' => array(0 => t('Disabled'), 1 => t('Teaser view'), 2 => t('Full-page view'), 3 => t('Teasers and full-page view')), |
'#options' => array( |
| 91 |
|
SERVICE_LINKS_DISABLED => t('Disabled'), |
| 92 |
|
SERVICE_LINKS_IN_TEASER => t('Teaser view'), |
| 93 |
|
SERVICE_LINKS_IN_FULL => t('Full-page view'), |
| 94 |
|
SERVICE_LINKS_IN_BOTH => t('Teasers and full-page view')), |
| 95 |
'#description' => t('When to display the services after the node text.'), |
'#description' => t('When to display the services after the node text.'), |
| 96 |
); |
); |
| 97 |
$form['how_to_show_the_links']['service_links_style'] = array( |
$form['how_to_show_the_links']['service_links_style'] = array( |