summaryrefslogtreecommitdiff
path: root/plugins/additional_message_headers
diff options
context:
space:
mode:
authortill <till@php.net>2010-03-18 18:28:01 +0000
committertill <till@php.net>2010-03-18 18:28:01 +0000
commit78fe4d8979e373e6f2ae2b81f1ad0f9b89a06f05 (patch)
tree44821279591610d4855cfc67b3bf327f96e816f4 /plugins/additional_message_headers
parent15e00bdf5002844841cc76e4d699157a475b0211 (diff)
added package.xml, minor edits to plugin
Diffstat (limited to 'plugins/additional_message_headers')
-rw-r--r--plugins/additional_message_headers/additional_message_headers.php6
-rw-r--r--plugins/additional_message_headers/package.xml49
2 files changed, 52 insertions, 3 deletions
diff --git a/plugins/additional_message_headers/additional_message_headers.php b/plugins/additional_message_headers/additional_message_headers.php
index 757296a84..1a78831b9 100644
--- a/plugins/additional_message_headers/additional_message_headers.php
+++ b/plugins/additional_message_headers/additional_message_headers.php
@@ -5,16 +5,16 @@
*
* Very simple plugin which will add additional headers to or remove them from outgoing messages.
*
- * @version 1.1
+ * @version @package_version@
* @author Ziba Scott
* @website http://roundcube.net
*
- * See config.inc.php.disc
+ * See config.inc.php.dist
*/
class additional_message_headers extends rcube_plugin
{
public $task = 'mail';
-
+
function init()
{
$this->add_hook('outgoing_message_headers', array($this, 'message_headers'));
diff --git a/plugins/additional_message_headers/package.xml b/plugins/additional_message_headers/package.xml
new file mode 100644
index 000000000..04c072a42
--- /dev/null
+++ b/plugins/additional_message_headers/package.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package packagerversion="1.9.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
+ http://pear.php.net/dtd/tasks-1.0.xsd
+ http://pear.php.net/dtd/package-2.0
+ http://pear.php.net/dtd/package-2.0.xsd">
+ <name>additional_message_headers</name>
+ <channel>pear.roundcube.net</channel>
+ <summary>Additional message headers for RoundCube</summary>
+ <description>Very simple plugin which will add additional headers to or remove them from outgoing messages.</description>
+ <lead>
+ <name>Ziba Scott</name>
+ <user>ziba</user>
+ <email>email@example.org</email>
+ <active>yes</active>
+ </lead>
+ <date>2010-01-16</date>
+ <time>18:19:33</time>
+ <version>
+ <release>1.1.0</release>
+ <api>1.1.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
+ <notes>
+This is an alpha release, see README.md for examples.
+ </notes>
+ <contents>
+ <dir baseinstalldir="/" name="/">
+ <file name="additional_message_headers.php" role="php">
+ <tasks:replace from="@name@" to="name" type="package-info" />
+ <tasks:replace from="@package_version@" to="version" type="package-info" />
+ </file>
+ </dir> <!-- / -->
+ </contents>
+ <dependencies>
+ <required>
+ <php>
+ <min>5.2.1</min>
+ </php>
+ <pearinstaller>
+ <min>1.7.0</min>
+ </pearinstaller>
+ </required>
+ </dependencies>
+ <phprelease />
+</package>