Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
b09b5ab4
Commit
b09b5ab4
authored
Jul 14, 2012
by
cfoe
Browse files
changed mail_user_list autoresponder filter INPUT to SELECT
parent
da90a74c
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/mail/list/mail_user.list.php
View file @
b09b5ab4
...
...
@@ -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["search_prefix"] = "search_";
$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["delete_file"] = "mail_user_del.php";
$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'
=>
"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'
=>
"autoresponder"
,
'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'
=>
"name"
,
'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>"
));
?>
\ No newline at end of file
interface/web/mail/templates/mail_user_list.htm
View file @
b09b5ab4
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment