diff -urN service_links.old/service_links.module service_links/service_links.module --- service_links.old/service_links.module Wed May 30 02:40:39 2007 +++ service_links/service_links.module Mon Oct 8 15:05:53 2007 @@ -133,6 +133,17 @@ '#default_value' => variable_get('service_links_show_icerocket', 0), ); + $form['what_links3_to_show'] = array( + '#type' => 'fieldset', + '#title' => t('What voting links to show'), + ); + $form['what_links3_to_show']['service_links_show_technoratifave'] = array( + '#type' => 'checkbox', + '#title' => t('Show Technorati favorite link'), + '#return_value' => 1, + '#default_value' => variable_get('service_links_show_technoratifave', 0), + ); + $form['how_to_show_the_links'] = array( '#type' => 'fieldset', '#title' => t('When and how to show the links'), @@ -340,6 +351,9 @@ } if (variable_get('service_links_show_yahoo', 0)) { $links['service_links_yahoo'] = theme('service_links_build_link', t('Yahoo'), "http://myweb2.search.yahoo.com/myresults/bookmarklet?u=$url&t=$title", t('Bookmark this post on Yahoo.'), 'yahoo.png', $nodelink); + } + if (variable_get('service_links_show_technoratifave', 0)) { + $links['service_links_technoratifave'] = theme('service_links_build_link', t('Technorati Favorite'), "http://technorati.com/faves?sub=addfavbtn&add=$url", t('Add this post as a favorite on Technorati.'), 'technorati.png', $nodelink); } if (variable_get('service_links_show_technorati', 0)) { $links['service_links_technorati'] = theme('service_links_build_link', t('Technorati'), "http://technorati.com/cosmos/search.html?url=$url", t('Search Technorati for links to this post.'), 'technorati.png', $nodelink);