| 1 |
<?php // $Id: mlm.theme.inc,v 1.1 2009/08/09 23:14:43 vauxia Exp $ |
<?php // $Id: mlm.theme.inc,v 1.2 2009/08/10 01:09:32 vauxia Exp $ |
| 2 |
|
|
| 3 |
/** |
/** |
| 4 |
* Implementation of hook_theme(). |
* Implementation of hook_theme(). |
| 10 |
'file' => 'mlm.theme.inc', |
'file' => 'mlm.theme.inc', |
| 11 |
'path' => $path, |
'path' => $path, |
| 12 |
), |
), |
| 13 |
|
'mlm_subscription' => array( |
| 14 |
|
'arguments' => array( 'element' => NULL ), |
| 15 |
|
'file' => 'mlm.theme.inc', |
| 16 |
|
'path' => $path, |
| 17 |
|
), |
| 18 |
'mlm_archive_text' => array( |
'mlm_archive_text' => array( |
| 19 |
'arguments' => array( 'body' => NULL ), |
'arguments' => array( 'body' => NULL ), |
| 20 |
'file' => 'mlm.theme.inc', |
'file' => 'mlm.theme.inc', |
| 45 |
return $output; |
return $output; |
| 46 |
} |
} |
| 47 |
|
|
| 48 |
|
function theme_mlm_subscription($element) { |
| 49 |
|
return theme('form_element', $element, $element['#children']); |
| 50 |
|
} |
| 51 |
|
|
| 52 |
/* |
/* |
| 53 |
* TODO abstract this better! input filter to convert data? add to mimemail? |
* TODO abstract this better! input filter to convert data? add to mimemail? |
| 54 |
*/ |
*/ |