? .DS_Store
? php_dom_requirement_00.patch
Index: elf.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/elf/Attic/elf.install,v
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.2 elf.install
--- elf.install	25 Apr 2010 19:43:09 -0000	1.1.2.2
+++ elf.install	23 May 2010 16:27:52 -0000
@@ -12,4 +12,25 @@
 function elf_uninstall() {
   db_query("DELETE FROM {variable} WHERE name LIKE 'elf_%%'");
   cache_clear_all('variables', 'cache');
+}
+
+/**
+ * Implementation of hook_requirements().
+ */
+function elf_requirements() {
+	$requirements['phpdom'] = array(
+		'title' => t('PHP Document Object Model'),
+	);
+
+	if (class_exists('DOMDocument')) {
+		$requirements['phpdom']['value'] = t('Installed');
+		$requirements['phpdom']['severity'] = REQUIREMENT_OK;
+	}
+	else {
+		$requirements['phpdom']['value'] = t('Not installed');
+		$requirements['phpdom']['description'] = t('External links filter requires PHP\'s <a href="http://php.net/manual/en/book.dom.php">Document Object Model</a>.');
+		$requirements['phpdom']['severity'] = REQUIREMENT_ERROR;
+	}
+
+	return $requirements;
 }
\ No newline at end of file
