Changeset 103
- Timestamp:
- 21/04/07 03:42:35 (5 years ago)
- File:
-
- 1 edited
-
openweather/openweather.module (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
openweather/openweather.module
r102 r103 117 117 } 118 118 119 function openweather_link($type, $node=0, $main=0){ 120 if ($type == 'node' && $node->type == 'openweather'){ 121 $links = module_invoke_all('openweather', 'node', $node, 1); 122 $links[] = array('title'=>t('export readings'), 'href'=>'node/'.$node->nid.'/csv_readings','attributes'=>array('title'=>'Export the openweather readings as CSV')); 123 } 124 return $links; 125 } 126 127 119 128 /** 120 129 * Implementation of hook_node_info(). … … 166 175 '#default_value'=>variable_get('openweather_radar', '')); 167 176 168 return $form;177 return system_settings_form($form); 169 178 } 170 179
Note: See TracChangeset
for help on using the changeset viewer.
