On Sat, Jun 6, 2009 at 16:45, Andre Rodier<[email protected]> wrote:
> Hello everybody
>
> Here my first plugin based on the Mark As Junk one.
>
> The goal is to archive selected message by moving them to an "Archive"
> folder. The name of the archive folder is configurable using the same
> scheme as the Mark as Junk plugin:

This exactly what I often use and it perfectly fits into my environment.
>
>> $rcmail_config['archive_mbox'] = 'Archive';

I've extended your plugin by adding a config option to the user prefs
page where a user can select/change the archive folder. Also the
toolbar button only shows up if such a folder is configured.

Please note that you need to update RoundCube to the latest SVN
version in order to make the plugin work. It now uses a new feature
where a plugin can define several tasks to be activated in by setting
  public $task = 'mail|settings';
Only SVN r2628 and higher support this.

>
> The localisations are in english and french.

I've added German (de_CH and de_DE).

If you can host it somewhere you're kindly requested to add a link to
it at http://trac.roundcube.net/wiki/Plugin_Repository
Once we have our plugin repository ready you can upload it there.

Many thanks for your work!

Thomas



 --- 8< --- detachments --- 8< ---
 The following attachments have been detached and are available for viewing.
  http://detached.gigo.com/rc/6U/vJqCMYAq/archive_1.1.tgz
 Only click these links if you trust the sender, as well as this message.
 --- 8< --- detachments --- 8< ---

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to