function messaging_template_admin_template in Messaging 6.4
1 string reference to 'messaging_template_admin_template'
- messaging_template_menu in messaging_template/
messaging_template.module - Implementation of hook_menu()
File
- messaging_template/
messaging_template.admin.inc, line 37 - Messaging Framework - Admin UI
Code
function messaging_template_admin_template() {
$output = '';
// Now build table which will have some indentation
$output .= messaging_template_format_table(messaging_template_get_tree());
// List sending methods
$rows = array();
messaging_method_list();
foreach (messaging_method_info() as $method => $info) {
$rows[] = array(
'<strong>' . $info['title'] . '</strong>',
!empty($info['description']) ? check_plain($info['description']) : '',
);
}
$output .= theme('box', t('Sending methods'), theme('table', NULL, $rows));
return $output;
}