added package.xml, minor edits to plugin

release-0.6
till 15 years ago
parent 15e00bdf50
commit 78fe4d8979

@ -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'));

@ -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>
Loading…
Cancel
Save