Index: flag_content.module =================================================================== --- flag_content.module (revision 2225) +++ flag_content.module (working copy) @@ -252,10 +252,9 @@ return confirm_form( $form, - t('
Are you sure you want to report this @type(@title) as inappropriate?' - . '
A site administrator will review it and take the appropriate action
', array('@type' => $type_label, '@title' => $title)), + theme('flag_content_confirm_title', $title, $type_label), $_GET['destination'] ? $_GET['destination'] : $path, - t(''), + theme('flag_content_confirm', t('A site administrator will review it and take the appropriate action')), t('Flag'), t('Cancel')); } @@ -481,3 +480,12 @@ 'body' => $body, ); } + +function theme_flag_content_confirm($entry) { + return ''.$entry.'
'; +} + +function theme_flag_content_confirm_title($title, $type_label) { + return t('Are you sure you want to report @title as inappropriate?', array('@type' => $type_label, '@title' => $title)); +} +?> \ No newline at end of file