Gemeinsame Unterverzeichnisse: simplenews/po und simplenews-new/po.
diff -upN simplenews/simplenews_actions.inc simplenews-new/simplenews_actions.inc
--- simplenews/simplenews_actions.inc	1970-01-01 01:00:00.000000000 +0100
+++ simplenews-new/simplenews_actions.inc	2008-02-09 02:29:41.000000000 +0100
@@ -0,0 +1,28 @@
+<?php
+// $Id: simplenews_actions.inc,v 0.9 2008/01/31 aexl Exp $
+
+/**
+ * @file
+ * Actions module support for simplenews.
+ */
+
+/**
+ * Implementation of send simplenews
+ */
+function action_simplenews_send($op, $edit = array(), &$node) {
+  switch ($op) {
+    case 'metadata':
+      return array(
+        'description' => t('Send newsletter.'),
+        'type' => t('Node'),
+        'batchable' => true,
+        'configurable' => false,
+      );
+      break;
+    case 'do':
+      $node->send = 1;
+      $node->s_status = 1;
+      node_save($node);
+      break;
+  }
+}
\ Kein Zeilenumbruch am Dateiende.
diff -upN simplenews/simplenews.module simplenews-new/simplenews.module
--- simplenews/simplenews.module	2007-12-17 20:28:20.000000000 +0100
+++ simplenews-new/simplenews.module	2008-02-09 02:40:57.000000000 +0100
@@ -1,6 +1,15 @@
 <?php
 // $Id: simplenews.module,v 1.48.2.18 2007/12/17 19:28:20 sutharsan Exp $
 
+// Actions module support.
+if (module_exists('actions')) {
+  include_once drupal_get_path('module', 'simplenews') .'/simplenews_actions.inc';
+}
+// Workflow-NG Actions support.
+if (module_exists('workflow_ng')) {
+  include_once drupal_get_path('module', 'simplenews') .'/workflow_ng_simplenews.inc';
+}
+
 /**
  * Implementation of hook_node_info().
  */
diff -upN simplenews/workflow_ng_simplenews.inc simplenews-new/workflow_ng_simplenews.inc
--- simplenews/workflow_ng_simplenews.inc	1970-01-01 01:00:00.000000000 +0100
+++ simplenews-new/workflow_ng_simplenews.inc	2008-02-09 02:29:41.000000000 +0100
@@ -0,0 +1,30 @@
+<?php
+// $Id: workflow_ng_simplenews.inc,v 0.9 2008/01/31 aexl Exp $
+
+/**
+ * @file
+ * Actions module support for simplenews.
+ */
+
+/*
+* Implementation of hook_action_info()
+*/
+function simplenews_action_info() {
+  return array(
+    'simplenews_action_send' => array(
+      '#label' => t('Send Newsletter.'),
+      '#arguments' => array(
+        'node' => array('#entity' => 'node', '#label' => t('Content')),
+      ),
+      '#module' => t('Simplenews'),
+    ),
+  );
+}
+/**
+ * Implementation of send simplenews
+*/
+function simplenews_action_send($node) {
+  $node->send = 1;
+  $node->s_status = 1;
+  return array('node' => $node);
+}
