Thomas Bruederli
2014-06-04 3412e50b54e3daac8745234e21ab6e72be0ed165
plugins/password/password.php
@@ -69,11 +69,22 @@
            }
        }
        // add Tab label
        $rcmail->output->add_label('password');
        $this->add_hook('settings_actions', array($this, 'settings_actions'));
        $this->register_action('plugin.password', array($this, 'password_init'));
        $this->register_action('plugin.password-save', array($this, 'password_save'));
        $this->include_script('password.js');
        if (strpos($rcmail->action, 'plugin.password') === 0) {
            $this->include_script('password.js');
        }
    }
    function settings_actions($args)
    {
        // register as settings action
        $args['actions'][] = array('action' => 'plugin.password', 'class' => 'password', 'label' => 'password', 'domain' => 'password');
        return $args;
    }
    function password_init()