roundcubemail/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
function filters_list($attrib)
    {
        // add id to message list table if not specified
        if (!strlen($attrib['id']))
            $attrib['id'] = 'rcmfilterslist';

        // define list of cols to be displayed
        $a_show_cols = array('name');

        $result = $this->list_rules();

        // create XHTML table
        $out = $this->rc->table_output($attrib, $result, $a_show_cols, 'id');

        // set client env
        $this->rc->output->add_gui_object('filterslist', $attrib['id']);
        $this->rc->output->include_script('list.js');

        // add some labels to client
        $this->rc->output->add_label('managesieve.filterdeleteconfirm');

        return $out;
    }
function filters_list($attrib)
    {
        // add id to message list table if not specified
        if (!strlen($attrib['id']))
            $attrib['id'] = 'rcmfilterslist';

        // define list of cols to be displayed
        $a_show_cols = array('name');

        $result = $this->list_rules();

        // create XHTML table
        $out = $this->rc->table_output($attrib, $result, $a_show_cols, 'id');

        // set client env
        $this->rc->output->add_gui_object('filterslist', $attrib['id']);
        $this->rc->output->include_script('list.js');

        // add some labels to client
        $this->rc->output->add_label('managesieve.filterdeleteconfirm');

        return $out;
    }
function filters_list ( $ attrib ) { // add id to message list table if not specified if ( ! strlen ( $ attrib [ 'id' ] ) ) $ attrib [ 'id' ] = 'rcmfilterslist' ; // define list of cols to be displayed $ a_show_cols = array ( 'name' ) ; $ result = $ this -> list_rules ( ) ; // create XHTML table $ out = $ this -> rc -> table_output ( $ attrib , $ result , $ a_show_cols , 'id' ) ; // set client env $ this -> rc -> output -> add_gui_object ( 'filterslist' , $ attrib [ 'id' ] ) ; $ this -> rc -> output -> include_script ( 'list.js' ) ; // add some labels to client $ this -> rc -> output -> add_label ( 'managesieve.filterdeleteconfirm' ) ; return $ out ; }
return the filters list as HTML table
return the filters list as HTML table