cfoe
2012-07-14 b09b5ab49690b0509fec109f2a7baf3751e98b71
changed mail_user_list autoresponder filter INPUT to SELECT
2 files modified
81 ■■■■ changed files
interface/web/mail/list/mail_user.list.php 79 ●●●● patch | view | raw | blame | history
interface/web/mail/templates/mail_user_list.htm 2 ●●● patch | view | raw | blame | history
interface/web/mail/list/mail_user.list.php
@@ -13,13 +13,13 @@
// Name of the list
$liste["name"]                 = "mail_user";
$liste["name"]             = "mail_user";
// Database table
$liste["table"]             = "mail_user";
$liste["table"]         = "mail_user";
// Index index field of the database table
$liste["table_idx"]            = "mailuser_id";
$liste["table_idx"]        = "mailuser_id";
// Search Field Prefix
$liste["search_prefix"]     = "search_";
@@ -28,10 +28,10 @@
$liste["records_per_page"]     = "15";
// Script File of the list
$liste["file"]                = "mail_user_list.php";
$liste["file"]            = "mail_user_list.php";
// Script file of the edit form
$liste["edit_file"]            = "mail_user_edit.php";
$liste["edit_file"]        = "mail_user_edit.php";
// Script File of the delete script
$liste["delete_file"]        = "mail_user_del.php";
@@ -40,48 +40,47 @@
$liste["paging_tpl"]        = "templates/paging.tpl.htm";
// Enable auth
$liste["auth"]                = "yes";
$liste["auth"]            = "yes";
/*****************************************************
* Suchfelder
*****************************************************/
$liste["item"][] = array( 'field'   => "email",
              'datatype'  => "VARCHAR",
              'formtype'  => "TEXT",
              'op'    => "like",
              'prefix'  => "%",
              'suffix'  => "%",
              'width'   => "",
              'value'   => "");
$liste["item"][] = array(   'field'     => "email",
                            'datatype'  => "VARCHAR",
                            'formtype'  => "TEXT",
                            'op'        => "like",
                            'prefix'    => "%",
                            'suffix'    => "%",
                            'width'     => "",
                            'value'     => "");
$liste["item"][] = array( 'field'   => "login",
              'datatype'  => "VARCHAR",
              'formtype'  => "TEXT",
              'op'    => "like",
              'prefix'  => "%",
              'suffix'  => "%",
              'width'   => "",
              'value'   => "");
$liste["item"][] = array(   'field'     => "login",
                            'datatype'  => "VARCHAR",
                            'formtype'  => "TEXT",
                            'op'        => "like",
                            'prefix'    => "%",
                            'suffix'    => "%",
                            'width'     => "",
                            'value'     => "");
$liste["item"][] = array(    'field'        => "name",
                            'datatype'    => "VARCHAR",
                            'formtype'    => "TEXT",
                            'op'        => "like",
                            'prefix'    => "%",
                            'suffix'    => "%",
                            'width'        => "",
                            'value'        => "");
$liste["item"][] = array(   'field'     => "name",
                            'datatype'    => "VARCHAR",
                            'formtype'    => "TEXT",
                            'op'    => "like",
                            'prefix'    => "%",
                            'suffix'    => "%",
                            'width'    => "",
                            'value'    => "");
$liste["item"][] = array(    'field'        => "autoresponder",
                            'datatype'    => "VARCHAR",
                            'formtype'    => "TEXT",
                            'op'        => "like",
                            'prefix'    => "%",
                            'suffix'    => "%",
                            'width'        => "",
                            'value'        => "");
$liste["item"][] = array(   'field'     => "autoresponder",
                            'datatype'    => "VARCHAR",
                            'formtype'    => "SELECT",
                            'op'    => "=",
                            'prefix'    => "",
                            'suffix'    => "",
                            'width'    => "",
                            'value'    => array('y' => "<div id=\"ir-Yes\" class=\"swap\"><span>Yes</span></div>", 'n' => "<div class=\"swap\" id=\"ir-No\"><span>No</span></div>"));
?>
interface/web/mail/templates/mail_user_list.htm
@@ -28,7 +28,7 @@
                        <td class="tbl_col_email"><input type="text" name="search_email" value="{tmpl_var name='search_email'}" /></td>
                                    <td class="tbl_col_name"><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
            <tmpl_if name="enable_custom_login"><td class="tbl_col_login"><input type="text" name="search_login" value="{tmpl_var name='search_login'}" /></td></tmpl_if>
                        <td class="tbl_col_autoresponder"><input type="text" name="search_autoresponder" value="{tmpl_var name='search_autoresponder'}" /></td>
                        <td class="tbl_col_autoresponder"><select name="search_autoresponder">{tmpl_var name='search_autoresponder'}</select></td>
                        <td class="tbl_col_buttons"><div class="buttons"><button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','mail/mail_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td>
                    </tr>
                </thead>