--- service_links.module.orig 2009-01-27 21:18:11.283104400 -0500 +++ service_links.module 2009-01-27 21:51:29.624104400 -0500 @@ -11,6 +11,10 @@ /** * Implementation of hook_help(). */ + + +Define(Service_Links_Default_Label, 'Bookmark/Search this post with:'); + function service_links_help($path, $arg) { switch ($path) { case 'admin/help#service_links': @@ -138,11 +142,15 @@ function service_links_admin_settings() '#return_value' => 1, '#default_value' => variable_get('service_links_show_icerocket', 0), ); - $form['how_to_show_the_links'] = array( '#type' => 'fieldset', '#title' => t('When and how to show the links'), ); + $form['how_to_show_the_links']['service_links_which_label_to_display'] = array( + '#type' => 'textfield', + '#title' => t('Label to display above the links (leave blank for none)'), + '#default_value' => variable_get('service_links_which_label_to_display', t(Service_Links_Default_Label)), + ); $form['how_to_show_the_links']['service_links_in_links'] = array( '#type' => 'select', '#title' => t('Service links in links'), @@ -434,7 +442,10 @@ function theme_service_links_build_link( } function theme_service_links_node_format($links) { - return ''; + $output = ''; } function theme_service_links_block_format($items) {