/[drupal]/contributions/modules/feedbuttons/feedbuttons.module
ViewVC logotype

Diff of /contributions/modules/feedbuttons/feedbuttons.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.5.4.1, Mon May 28 22:23:51 2007 UTC revision 1.5.4.2, Sat Oct 6 23:54:09 2007 UTC
# Line 24  function feedbuttons_perm() { Line 24  function feedbuttons_perm() {
24   * @returns block HTML   * @returns block HTML
25   */   */
26  function feedbuttons_block($op='list', $delta=0) {  function feedbuttons_block($op='list', $delta=0) {
27      global $base_url;
28    // listing of blocks, such as on the admin/block page    // listing of blocks, such as on the admin/block page
29    if ($op == "list") {    if ($op == "list") {
30      $block[0]["info"] = t("Subscribe Buttons");      $block[0]["info"] = t("Subscribe Buttons");
# Line 43  function feedbuttons_block($op='list', $ Line 44  function feedbuttons_block($op='list', $
44      $feedurl = variable_get('feedbuttons_feed_url', url('node/feed', NULL, NULL, TRUE));      $feedurl = variable_get('feedbuttons_feed_url', url('node/feed', NULL, NULL, TRUE));
45      if ($buttons = variable_get('feedbuttons_show_items', '')) {      if ($buttons = variable_get('feedbuttons_show_items', '')) {
46        foreach ($buttons as $button) {        foreach ($buttons as $button) {
47          if ($button === 'feediconlg') { $block_content .= '<a href="'. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/feed-icon32x32.png" alt="Feed Icon" /></a><br />'; }          if ($button === 'feediconlg') { $block_content .= '<a href="'. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/feed-icon32x32.png" alt="Feed Icon" /></a><br />'; }
48          if ($button === 'feedicon') { $block_content .= '<a href="'. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/feed-icon.gif" alt="Feed Icon" /></a><br />'; }          if ($button === 'feedicon') { $block_content .= '<a href="'. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/feed-icon.gif" alt="Feed Icon" /></a><br />'; }
49          if ($button === 'xml') { $block_content .= '<a href="'. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/xml.gif" alt="XML Icon" /></a><br />'; }          if ($button === 'xml') { $block_content .= '<a href="'. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/xml.gif" alt="XML Icon" /></a><br />'; }
50          if ($button === 'google') { $block_content .= '<a href="http://fusion.google.com/add?feedurl='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/google-all.gif" alt="Google" /></a><br />'; }          if ($button === 'google') { $block_content .= '<a href="http://fusion.google.com/add?feedurl='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/google-all.gif" alt="Google" /></a><br />'; }
51          if ($button === 'delicious') { $block_content .= '<a href="http://del.icio.us/post?url='. $currentpage .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/delicious.gif" alt="Delicious" /></a><br />'; }          if ($button === 'delicious') { $block_content .= '<a href="http://del.icio.us/post?url='. $currentpage .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/delicious.gif" alt="Delicious" /></a><br />'; }
52          if ($button === 'yahoo') { $block_content .= '<a href="http://add.my.yahoo.com/rss?url='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/yahoo.gif" alt="Yahoo!" /></a><br />'; }          if ($button === 'yahoo') { $block_content .= '<a href="http://add.my.yahoo.com/rss?url='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/yahoo.gif" alt="Yahoo!" /></a><br />'; }
53          if ($button === 'bloglines') { $block_content .= '<a href="http://www.bloglines.com/sub/'. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/bloglines.gif" alt="Bloglines" /></a><br />'; }          if ($button === 'bloglines') { $block_content .= '<a href="http://www.bloglines.com/sub/'. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/bloglines.gif" alt="Bloglines" /></a><br />'; }
54          if ($button === 'newsgator') { $block_content .= '<a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/newsgator.gif" alt="Newsgator" /></a><br />'; }          if ($button === 'newsgator') { $block_content .= '<a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/newsgator.gif" alt="Newsgator" /></a><br />'; }
55          if ($button === 'msn') { $block_content .= '<a href="http://my.msn.com/addtomymsn.armx?id=rss&ut='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/msn.gif" alt="MSN" /></a><br />'; }          if ($button === 'msn') { $block_content .= '<a href="http://my.msn.com/addtomymsn.armx?id=rss&ut='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/msn.gif" alt="MSN" /></a><br />'; }
56          if ($button === 'feedster') { $block_content .= '<a href="http://www.feedster.com/myfeedster.php?action=addrss&rssurl='. $feedurl .'&confirm=no"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addmyfeedster.gif" alt="Feedster" /></a><br />'; }          if ($button === 'feedster') { $block_content .= '<a href="http://www.feedster.com/myfeedster.php?action=addrss&rssurl='. $feedurl .'&confirm=no"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addmyfeedster.gif" alt="Feedster" /></a><br />'; }
57          if ($button === 'aol') { $block_content .= '<a href="http://feeds.my.aol.com/add.jsp?url='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/aol.gif" alt="AOL" /></a><br />'; }          if ($button === 'aol') { $block_content .= '<a href="http://feeds.my.aol.com/add.jsp?url='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/aol.gif" alt="AOL" /></a><br />'; }
58          if ($button === 'furl') { $block_content .= '<a href="http://www.furl.net/storeIt.jsp?u='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/furl.gif" alt="Furl" /></a><br />'; }          if ($button === 'furl') { $block_content .= '<a href="http://www.furl.net/storeIt.jsp?u='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/furl.gif" alt="Furl" /></a><br />'; }
59          if ($button === 'rojo') { $block_content .= '<a href="http://www.rojo.com/add-subscription?resource='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rojo.gif" alt="Rojo" /></a><br />'; }          if ($button === 'rojo') { $block_content .= '<a href="http://www.rojo.com/add-subscription?resource='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rojo.gif" alt="Rojo" /></a><br />'; }
60          if ($button === 'newsburst') { $block_content .= '<a href="http://www.newsburst.com/Source/?add='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/newsburst.gif" alt="Newsburst" /></a><br />'; }          if ($button === 'newsburst') { $block_content .= '<a href="http://www.newsburst.com/Source/?add='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/newsburst.gif" alt="Newsburst" /></a><br />'; }
61          if ($button === 'pluck') { $block_content .= '<a href="http://client.pluck.com/pluckit/prompt.aspx?GCID=C12286x053&a='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/pluck.png" alt="Pluck" /></a><br />'; }          if ($button === 'pluck') { $block_content .= '<a href="http://client.pluck.com/pluckit/prompt.aspx?GCID=C12286x053&a='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/pluck.png" alt="Pluck" /></a><br />'; }
62          if ($button === 'feedfeeds') { $block_content .= '<a href="http://www.feedfeeds.com/add?feed='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addfeedfeeds.gif" alt="FeedFeeds" /></a><br />'; }          if ($button === 'feedfeeds') { $block_content .= '<a href="http://www.feedfeeds.com/add?feed='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addfeedfeeds.gif" alt="FeedFeeds" /></a><br />'; }
63          if ($button === 'addkinja') { $block_content .= '<a href="http://www.kinja.com/checksiteform.knj?pop=y&add='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addkinja.gif" alt="Add Kinja" /></a><br />'; }          if ($button === 'addkinja') { $block_content .= '<a href="http://www.kinja.com/checksiteform.knj?pop=y&add='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addkinja.gif" alt="Add Kinja" /></a><br />'; }
64          if ($button === 'solosub') { $block_content .= '<a href="http://solosub.com/sub/'. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/solosub.gif" alt="SoloSub" /></a><br />'; }          if ($button === 'solosub') { $block_content .= '<a href="http://solosub.com/sub/'. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/solosub.gif" alt="SoloSub" /></a><br />'; }
65          if ($button === 'multirss') { $block_content .= '<a href="http://www.multirss.com/rss/'. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/multirss.gif" alt="MultiRSS" /></a><br />'; }          if ($button === 'multirss') { $block_content .= '<a href="http://www.multirss.com/rss/'. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/multirss.gif" alt="MultiRSS" /></a><br />'; }
66          if ($button === 'rmail') { $block_content .= '<a href="http://www.r-mail.org/bm.aspx?rss='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rmail.jpg" alt="rMail" /></a><br />'; }          if ($button === 'rmail') { $block_content .= '<a href="http://www.r-mail.org/bm.aspx?rss='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rmail.jpg" alt="rMail" /></a><br />'; }
67          if ($button === 'rssfwd') { $block_content .= '<a href="http://www.rssfwd.com/rssfwd/preview?url='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rssfwd.png" alt="RSSFwd" /></a><br />'; }          if ($button === 'rssfwd') { $block_content .= '<a href="http://www.rssfwd.com/rssfwd/preview?url='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rssfwd.png" alt="RSSFwd" /></a><br />'; }
68          if ($button === 'blogarithm') { $block_content .= '<a href="http://www.blogarithm.com/subrequest.php?BlogURL='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/blogarithm.gif" alt="Blogarithm" /></a><br />'; }          if ($button === 'blogarithm') { $block_content .= '<a href="http://www.blogarithm.com/subrequest.php?BlogURL='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/blogarithm.gif" alt="Blogarithm" /></a><br />'; }
69          if ($button === 'eskobo') { $block_content .= '<a href="http://www.eskobo.com/?AddToMyPage='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/eskobo.gif" alt="Eskobo" /></a><br />'; }          if ($button === 'eskobo') { $block_content .= '<a href="http://www.eskobo.com/?AddToMyPage='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/eskobo.gif" alt="Eskobo" /></a><br />'; }
70          if ($button === 'gritwire') { $block_content .= '<a href="http://my.gritwire.com/feeds/addExternalFeed.aspx?FeedUrl='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addToMyGritwire.gif" alt="GritWire" /></a><br />'; }          if ($button === 'gritwire') { $block_content .= '<a href="http://my.gritwire.com/feeds/addExternalFeed.aspx?FeedUrl='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addToMyGritwire.gif" alt="GritWire" /></a><br />'; }
71          if ($button === 'botablog') { $block_content .= '<a href="http://www.botablog.com/botthisblog.php?blog='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/botablog.gif" alt="BotABlog" /></a><br />'; }          if ($button === 'botablog') { $block_content .= '<a href="http://www.botablog.com/botthisblog.php?blog='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/botablog.gif" alt="BotABlog" /></a><br />'; }
72          if ($button === 'monitorthis') { $block_content .= '<a href="http://immedi.at/accounts/discover?feed_url='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/monitor_this.png" alt="Monitor This" /></a><br />'; }          if ($button === 'monitorthis') { $block_content .= '<a href="http://immedi.at/accounts/discover?feed_url='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/monitor_this.png" alt="Monitor This" /></a><br />'; }
73          if ($button === 'simplify') { $block_content .= '<a href="http://www.simpy.com/simpy/LinkAdd.do?href='. $feedurl .'"><img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/simpify-white-56x24.png" alt="Simplify" /></a><br />'; }          if ($button === 'simplify') { $block_content .= '<a href="http://www.simpy.com/simpy/LinkAdd.do?href='. $feedurl .'"><img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/simpify-white-56x24.png" alt="Simplify" /></a><br />'; }
74        }        }
75      }      }
76    
# Line 121  function feedbuttons_settings() { Line 122  function feedbuttons_settings() {
122      '#title' => t('Show the following buttons in my block'),      '#title' => t('Show the following buttons in my block'),
123      '#default_value' => variable_get('feedbuttons_show_items', array('status', 'promote')),      '#default_value' => variable_get('feedbuttons_show_items', array('status', 'promote')),
124      '#options' => array(      '#options' => array(
125        'feediconlg' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/feed-icon32x32.png" alt="Feed Icon" />'),        'feediconlg' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/feed-icon32x32.png" alt="Feed Icon" />'),
126        'feedicon' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/feed-icon.gif" alt="Feed Icon" />'),        'feedicon' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/feed-icon.gif" alt="Feed Icon" />'),
127        'xml' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/xml.gif" alt="XML Icon" />'),        'xml' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/xml.gif" alt="XML Icon" />'),
128        'google' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/google-all.gif" alt="Google" />'),        'google' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/google-all.gif" alt="Google" />'),
129        'delicious' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/delicious.gif" alt="Delicious" />'),        'delicious' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/delicious.gif" alt="Delicious" />'),
130        'yahoo' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/yahoo.gif" alt="Yahoo!" />'),        'yahoo' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/yahoo.gif" alt="Yahoo!" />'),
131        'bloglines' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/bloglines.gif" alt="Bloglines" />'),        'bloglines' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/bloglines.gif" alt="Bloglines" />'),
132        'newsgator' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/newsgator.gif" alt="Newsgator" />'),        'newsgator' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/newsgator.gif" alt="Newsgator" />'),
133        'msn' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/msn.gif" alt="MSN" />'),        'msn' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/msn.gif" alt="MSN" />'),
134        'feedster' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addmyfeedster.gif" alt="Feedster" />'),        'feedster' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addmyfeedster.gif" alt="Feedster" />'),
135        'aol' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/aol.gif" alt="AOL" />'),        'aol' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/aol.gif" alt="AOL" />'),
136        'furl' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/furl.gif" alt="Furl" />'),        'furl' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/furl.gif" alt="Furl" />'),
137        'rojo' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rojo.gif" alt="Rojo" />'),        'rojo' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rojo.gif" alt="Rojo" />'),
138        'newsburst' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/newsburst.gif" alt="Newsburst" />'),        'newsburst' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/newsburst.gif" alt="Newsburst" />'),
139        'pluck' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/pluck.png" alt="Pluck" />'),        'pluck' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/pluck.png" alt="Pluck" />'),
140        'feedfeeds' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addfeedfeeds.gif" alt="FeedFeeds" />'),        'feedfeeds' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addfeedfeeds.gif" alt="FeedFeeds" />'),
141        'addkinja' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addkinja.gif" alt="Add Kinja" />'),        'addkinja' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addkinja.gif" alt="Add Kinja" />'),
142        'solosub' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/solosub.gif" alt="SoloSub" />'),        'solosub' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/solosub.gif" alt="SoloSub" />'),
143        'multirss' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/multirss.gif" alt="MultiRSS" />'),        'multirss' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/multirss.gif" alt="MultiRSS" />'),
144        'rmail' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rmail.jpg" alt="rMail" />'),        'rmail' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rmail.jpg" alt="rMail" />'),
145        'rssfwd' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rssfwd.png" alt="RSSFwd" />'),        'rssfwd' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/rssfwd.png" alt="RSSFwd" />'),
146        'blogarithm' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/blogarithm.gif" alt="Blogarithm" />'),        'blogarithm' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/blogarithm.gif" alt="Blogarithm" />'),
147        'eskobo' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/eskobo.gif" alt="Eskobo" />'),        'eskobo' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/eskobo.gif" alt="Eskobo" />'),
148        'gritwire' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addToMyGritwire.gif" alt="GritWire" />'),        'gritwire' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/addToMyGritwire.gif" alt="GritWire" />'),
149        'botablog' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/botablog.gif" alt="BotABlog" />'),        'botablog' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/botablog.gif" alt="BotABlog" />'),
150        'monitorthis' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/monitor_this.png" alt="Monitor This" />'),        'monitorthis' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/monitor_this.png" alt="Monitor This" />'),
151        'simplify' => t('<img src="/'. drupal_get_path('module', 'feedbuttons') .'/buttons/simpify-white-56x24.png" alt="Simplify" />'),        'simplify' => t('<img src="'.$base_url.'/'. drupal_get_path('module', 'feedbuttons') .'/buttons/simpify-white-56x24.png" alt="Simplify" />'),
152       ),       ),
153    );    );
154    return system_settings_form($form);    return system_settings_form($form);

Legend:
Removed from v.1.5.4.1  
changed lines
  Added in v.1.5.4.2

  ViewVC Help
Powered by ViewVC 1.1.2