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

Diff of /contributions/modules/iedestroyer/iedestroyer.module

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

revision 1.6.2.22, Sun Jul 27 19:23:18 2008 UTC revision 1.6.2.23, Sun Jul 27 19:27:40 2008 UTC
# Line 87  function iedestroyer_block($op = 'list', Line 87  function iedestroyer_block($op = 'list',
87    }    }
88  }  }
89    
90    /**
91     * All browsers IE Destroyer can promote
92     *
93     * @return array
94     */
95  function iedestroyer_browsers() {  function iedestroyer_browsers() {
96    return array(    return array(
97      array('url' => 'http://firefox.com/', 'name' => 'Firefox'),      array('url' => 'http://firefox.com/', 'name' => 'Firefox'),
     array('url' => 'http://www.apple.com/safari/', 'name' => 'Safari'),  
98      array('url' => 'http://www.opera.com/products/desktop/', 'name' => 'Opera'),      array('url' => 'http://www.opera.com/products/desktop/', 'name' => 'Opera'),
99        array('url' => 'http://www.apple.com/safari/', 'name' => 'Safari'),
100    );    );
101  }  }
102    
103    /**
104     * Load the settings of the browser that should be promoted
105     */
106  function iedestroyer_browser_load() {  function iedestroyer_browser_load() {
107    $id = variable_get('iedestroyer_browser', 0);    $id = variable_get('iedestroyer_browser', 0);
108    $browsers = iedestroyer_browsers();    $browsers = iedestroyer_browsers();

Legend:
Removed from v.1.6.2.22  
changed lines
  Added in v.1.6.2.23

  ViewVC Help
Powered by ViewVC 1.1.2