function df_translation_warning(&$record, $language = null) { import('Dataface/TranslationTool.php'); $tt = new Dataface_TranslationTool(); $tt->printTranslationStatusAlert($record, $language); }