0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
Commit Graph

393 Commits

Author SHA1 Message Date
David Goodwin
17ff3ec4eb
Merge pull request #510 from gabrielfin/disable-autocomplete
Disable password autocomplete
2021-06-16 21:02:27 +01:00
David Goodwin
f25e511894
Merge pull request #509 from gabrielfin/navbar-fix
Navbar is supposed to be fixed
2021-06-16 20:41:58 +01:00
Gabriel
d9b30acd72 Disable autocompletion when changing user password 2021-06-16 16:39:24 -03:00
Gabriel
c971e25c49 Disable password autocompletion in edit forms 2021-06-16 16:32:03 -03:00
Gabriel
ac2087d8ee Fix navbar 2021-06-16 16:06:05 -03:00
Gabriel
cae183ab45 Revert "Fix bug in navbar"
This reverts commit ea3bbc727b.
2021-06-16 15:59:54 -03:00
gabrielfin
ea3bbc727b
Fix bug in navbar 2021-06-16 15:55:44 -03:00
gabrielfin
4e40927160
Remove unnecessary <br>'s 2021-06-16 15:37:21 -03:00
David Goodwin
ad342e1d67 remove readonly attribute from user vacation page - see https://sourceforge.net/p/postfixadmin/discussion/676076/thread/5637ae3bc5 2021-05-13 13:07:36 +01:00
Sven Strickroth
bfc7af5c8e Re-add configurable quota levels
The configurable setting seems to be accidentally removed in 68a8caac28.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-07 20:43:52 +02:00
David Goodwin
4f1ef668d9 stop undefined indexes etc - see https://github.com/postfixadmin/postfixadmin/issues/470 2021-03-15 20:26:21 +00:00
David Goodwin
25a5f3526f put a link to setup in the admin top menu bar 2021-01-29 21:15:09 +00:00
David Goodwin
b9b8346533 update templates - use A link for cancel buttons, use button for submit, space buttons 2021-01-26 19:23:48 +00:00
David Goodwin
92493c711e space buttons in toolbar 2021-01-26 19:22:58 +00:00
David Goodwin
c9e66527dc change to use an A link for cancel, change to <button> for submit 2021-01-26 19:21:24 +00:00
David Goodwin
c6f2cf45ef fix labels not showing on password-change and password-recover pages; remove table layout; update bootstrap stuff 2021-01-26 19:20:44 +00:00
David Goodwin
3256187f55 fix users/edit-forward to not include space - see https://github.com/postfixadmin/postfixadmin/issues/442 2021-01-26 19:10:33 +00:00
David Goodwin
60bb833632 make password-recover and password-change look a bit better - see #430 - thanks @NicoloLazzaroni 2021-01-21 20:43:50 +00:00
Gianluca Giacometti
ea560553e9 List of addresses needs a Line Feed
Edit field does display a list of aliases in a single line in the edit form field. Adding a Line Feed character fixes this problem.
2021-01-17 22:21:30 +00:00
David Goodwin
79fd31f013 fix header url for users - see #416 2021-01-13 10:52:09 +00:00
David Goodwin
a20f05ca71 try and fix vacation editing etc - see https://github.com/postfixadmin/postfixadmin/issues/416 2021-01-12 22:08:35 +00:00
David Goodwin
97e2222e6c fixes https://github.com/postfixadmin/postfixadmin/issues/412 (footer links - sf.net does not support https etc) 2021-01-09 19:04:14 +00:00
David Goodwin
c7850b78eb fix bootstrap theme for users/ urls; make some other links use https. 2021-01-07 20:34:06 +00:00
David Goodwin
27ff96f4f7 fix links to look like buttons in list-virtual (mailboxes) 2021-01-07 19:40:24 +00:00
Christian Boltz
2c6968b805
use a local copy of jquery
... instead of loading it from code.jquery.com
2021-01-07 20:18:15 +01:00
David Goodwin
d391847ed9 manual merge of fix from https://github.com/postfixadmin/postfixadmin/issues/404
(try and filter CSV export lists to the current selected domain)
2020-12-24 10:46:07 +00:00
David Goodwin
897e57d403 update bootstrap to v3.4.1 2020-12-09 22:52:21 +00:00
David Goodwin
e35bbb3d90 add width: min-content; min-width: 600px to the main template to try and make it render better for wide list tables 2020-10-03 20:12:43 +01:00
David Goodwin
aab725eaee put a min-width on the main container to cover up it not rendering very well when too many features are turned on etc etc etc 2020-10-01 21:01:31 +01:00
David Goodwin
68a8caac28 move the bootstrap theme to be the default 2020-09-28 20:32:57 +01:00
David Goodwin
36d747832e reindent some html 2020-09-27 20:45:53 +01:00
David Goodwin
0922db8210 change deletion to be a POST request, use btn-danger etc 2020-09-27 20:44:03 +01:00
David Goodwin
a3386ee8f7 change alias/mailbox deletion to be a POST request 2020-09-27 20:41:25 +01:00
gotty
13549cea0f Favicon config and ru_lang:
1. Favicon configuration of the project:
  a. Fixed incorrect link to favicon from the subfolder /users/
  b. Added ability to set favicon via config
2. Completed translation of all string constants into Russian language.
2019-10-19 18:33:18 +03:00
Unknown
7583decbcb Use percentage for quota levels in bootstrap theme 2019-07-19 17:51:43 -03:00
Gabriel
c3065bdace Use percentage for quota levels 2019-07-19 17:38:03 -03:00
David Goodwin
ae476950f2 try and avoid smarty complaining about no variable $conf - see https://github.com/postfixadmin/postfixadmin/issues/266 2019-06-10 20:14:50 +01:00
HeavyThumper
16bf5cab7f
list.tpl - fix lowercase typo for $CONF variable reference for quota handling 2019-06-03 07:32:24 -07:00
Sven Strickroth
56395709f3 Make quota levels configurable
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2019-03-16 16:06:58 +01:00
David Goodwin
852a09f138 move version string output to only be shown to logged in users - see #252 2019-03-05 12:56:03 +00:00
David Goodwin
74002bbf57 psalm fixes 2018-12-27 21:43:11 +00:00
Damien Martins
84533224ba Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 16:04:28 +02:00
Damien Martins
b33d79125c Merge branch 'master' of github.com:doktoil-makresh/postfixadmin 2018-08-21 16:02:02 +02:00
Damien Martins
d809e0fbf7 Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 15:57:06 +02:00
Damien Martins
72dddbc93b Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 15:49:40 +02:00
Damien Martins
e786609aa9 Adding support for password expiration. Please read README.password_expiration for more details 2018-08-17 16:07:14 +02:00
root
bd85b3725f Bootstrap TPL for user interface 2018-05-04 14:25:27 +02:00
root
5dcd203d8f Gestion des dates de vacation 2018-05-04 13:52:29 +02:00
root
fb3e968cfc Bootstrap template integration 2018-05-04 13:25:34 +02:00
David Goodwin
d305374568 make the html slightly more html5 like; remove possibility of smarty.session.lang being undefined and erroring 2018-02-05 20:46:27 +00:00
David Goodwin
aad433eceb stop undefined error on CONF[sendmail_all_admins] 2018-01-26 20:03:29 +00:00
HLFH
0972df8243 favicon within images folder 2017-12-16 10:36:35 +00:00
Sylvain Tissot
ffb84283c2
Harden password reset process
The improvements are:

- Die with an explicit message when a user is trying to reset his lost password and the option is disabled in config
- Redirect user to main page after password change using relative URL
- Don't leak info whether user exists or has recovery info defined
- Throttle password reset requests to prevent brute force attacks
- Show phone/alt email fields in mailbox/admin edit form only when the password reset option is enabled
- Make database upgrade code compatible with other databases types
- Use the existing password generator to generate OTP. It is now stored in database, unique to each user, valid only for 1 hour and can only by used once.
2017-10-09 11:45:51 +09:00
David Goodwin
8bb6000072 Merge pull request #60 from Vilican/master
Security fixes
2017-10-06 11:19:26 +01:00
Matyáš Koc
3c95ec4a09 Add CSRF token 2017-09-03 14:55:50 +02:00
Sylvain Tissot
9c9ba64a7f Allows a user or admin to reset his/her forgotten password with a code sent by email/SMS #18 2017-08-21 13:05:25 +02:00
Matyáš Koc
e903484692 Links with target="_blank" should have rel="noopener" 2017-07-17 14:35:34 +02:00
Christian Boltz
4d9a0717d0 Merge pull request #26 from medarion/master
added config option to disable "edit_alias" function for users
2017-07-09 14:32:09 +02:00
Jan-Frederik Rieckers
54532e7cee
Fix issue with checkbox in broadcast 2017-04-17 14:02:37 +02:00
Christian Boltz
8aecf3eae3 Merge branch 'master' into broadcast_improvements 2017-04-17 13:22:16 +02:00
Christian Boltz
67a6d0e27a
use $CONF[page_size] in viewlog.php
This replaces the hardcoded "LIMIT 10" with "LIMIT <page_size>".

Patch by Dan <dannyro @SF>, https://sourceforge.net/p/postfixadmin/patches/133/

Additional change on top of Dan's patch:
- wrap $CONF['page_size'] in intval() to avoid that a broken config
  setting can break or exploit the query
2017-03-04 00:34:45 +01:00
Martin Oemus
9aba43ee48 added config option to disable "edit_alias" function for users 2017-02-14 20:18:31 +01:00
Christian Boltz
04e54508e5 Merge pull request #19 from rmcaninch/rmcaninch-patch-1
add css id #update-check to footer.tpl

This allows to hide the "check for updates" link using a custom CSS with '#update-check { display:none; }'
2017-02-12 23:43:15 +01:00
Jan-Frederik Rieckers
3c360f646f
Switch config item for broadcast.
The new config item is now `sendmail_all_admins`
2017-02-12 20:39:37 +01:00
Jan-Frederik Rieckers
3c3d844130
Improve the broadcast message tool
* Make it possible by config option that non global admins can send
  broadcast messages to their domains.
* Allow the sender to select the domains the broadcast message should be
  delivered to
* Allow the sender to decide if the broadcast message should just be
  delivered to mailboxes
2017-02-11 23:16:43 +01:00
rmcaninch
137c9ac9d1 css id update-check added to footer.tpl
Simplify hiding the software update check from display. Not really for security. More for aesthetics; and keeping the more basic users from questioning it. Add #update-check {display: none;} to your custom css. See related feature patch: https://sourceforge.net/p/postfixadmin/patches/134/
2016-11-05 01:17:45 -04:00
Christian Boltz
74130b478c list-virtual.tpl: add missing "download as CSV" for mailboxes
Reported by Dan <dannyro @SF> in
https://sourceforge.net/p/postfixadmin/patches/135/

Note that I'm using a completely different patch to fix it.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1880 a1433add-5e2c-0410-b055-b7f2511e0802
2016-11-01 19:31:41 +00:00
Christian Boltz
52a7df2b3a Add CSRF protection for POST requests
Add the CSRF token to all forms, and validate it when those forms are
submitted.

https://sourceforge.net/p/postfixadmin/bugs/372/



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1842 a1433add-5e2c-0410-b055-b7f2511e0802
2016-05-20 20:42:04 +00:00
Christian Boltz
530c489ec4 editform.tpl:
- add {if} block for description column to make customization for
  special fields/cases easier


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1829 a1433add-5e2c-0410-b055-b7f2511e0802
2016-03-11 21:19:14 +00:00
Christian Boltz
2102c1baa8 list.tpl:
- 'itemkey' escaping again. I found another corner case that was broken
  with |escape:"html". Therefore switch to the exact htmlentities() call
  that we use in smarty.inc.php.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1827 a1433add-5e2c-0410-b055-b7f2511e0802
2016-02-14 01:02:18 +00:00
Christian Boltz
48dde6468a list.tpl:
- getting the key from $RAW_item.$id_field turned out to be broken in
  corner cases, leading to empty output. The better (and simpler) fix is
  to just let the foreach loop set 'itemkey'.
- the example for special handling of a specific table and field
  contained a superfluous </tr>




git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1826 a1433add-5e2c-0410-b055-b7f2511e0802
2016-02-14 00:46:14 +00:00
Christian Boltz
ba46282f92 use smarty html_options instead of select_options()
list-virtual and viewlog were the last users of select_options()

smarty.inc.php:
- drop (now unused) select_options()



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1822 a1433add-5e2c-0410-b055-b7f2511e0802
2015-12-06 23:27:45 +00:00
Christian Boltz
085e7e4bfb list.tpl:
- base edit, editactive and delete links on $RAW_item to avoid double
  escaping ($items is already html-escaped, and we url-escape it for
  links). This fixes the remaining part of
  http://sourceforge.net/p/postfixadmin/bugs/356/
- simplify displaying "html" fields by using $RAW_item. This also fixes
  problems with funny[tm] item names that differ when html-encoded (like
  the ' char)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1812 a1433add-5e2c-0410-b055-b7f2511e0802
2015-10-03 08:58:21 +00:00
Christian Boltz
680e96b590 list-virtual_alias_domain:
- also assign RAW_items (from $RAW_tAliasDomains)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1811 a1433add-5e2c-0410-b055-b7f2511e0802
2015-10-02 18:52:17 +00:00
Christian Boltz
7cf10f81a7 list*.tpl
- display the "Go" button only if javascript is disabled (the dropdowns
  have an onchange event defined, which makes the "Go" button superfluous)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1780 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-06 22:27:00 +00:00
Christian Boltz
993c0ec2b6 list.tpl:
- improve headline:
  - in search mode, display the search term instead of the last selected
    domain (which isn't useful at all when displaying search results)
  - display number of aliases and mailboxes only in domain mode (they
    are useless/wrong in search mode)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1779 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-06 22:21:41 +00:00
Christian Boltz
d2a80adedc list-virtual.tpl:
- update/fix search part of subnav links (all/mailboxes/aliases/alias domains)
  for $search[_]


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1778 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-06 22:16:52 +00:00
Christian Boltz
37bba15625 Use list.tpl to display the alias list
list-virtual.php:
- use list.tpl for aliases
- move show_gen_status handling for aliases to AliasHandler

AliasHandler:
- initStruct():
  - add 'status' column (hidden by default)
  - hide 'created'
  - move 'active' after 'modified' to match old list-virtual.php layout
- initMsg: add list_header
- webformConfig(): if $CONF[show_status], set display_in_list for
  'status' column. Also set a (whitespace) label to make sure it's
  displayed
- db_read_from_db_postprocess(): if 'status' column is requested, call
  gen_show_status() for each row

list-virtual.tpl
- remove alias table header and create alias button (which should have
  been in list-virtual_alias.tpl)

list-virtual_alias.tpl:
- replace code to generate the alias table with {include 'list.tpl'}
  (and some variable assignments)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1777 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-06 22:09:18 +00:00
Christian Boltz
adc038e218 list.tpl:
- add support for list_header (like ":: Alias" in list-virtual)

PFAHandler:
- add empty default for $msg['list_header']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1776 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-06 21:58:58 +00:00
Christian Boltz
35fad174f7 smarty.inc.php:
- assign(): additionally provide the unsanitized values as RAW_$key

PFAHandler.php:
- document 'html' field type (used for raw html), including a big warning

list.tpl:
- add handling to display raw html fields

This is a preparation to use the status markers with list.tpl without
introducing too big changes.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1775 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-06 21:09:54 +00:00
Christian Boltz
3a72203de4 AliasHandler:
- initStruct(): replace (wrong) 'editable' with '_can_edit' and '_can_delete'
- read_from_db_postprocess(): disable _can_edit and _can_delete for
  default aliases if special_alias_control is off and not superadmin

list.tpl:
- use $item._can_edit instead of $check_alias_owner

list-virtual.php:
- drop $check_alias_owner variable and check_alias_owner() call
  (replaced by the code added in AliasHandler)
- drop unused $sql_domain

functions.inc.php:
- delete no longer used check_alias_owner() function



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1774 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-06 20:35:19 +00:00
Christian Boltz
8043515fdf migrate search input field to use search[_], and use list.tpl for alias domains
User-visible changes:
- alias domain list can be downloaded as CSV
- no more search highlighting for alias domains

list-virtual.php:
- expect $search to be an array
- change alias domain handling to use list.php instead of
  list-virtual_alias_domain.tpl, and move some logic from the template
  to list-virtual.php. (The template file is kept as list.tpl wrapper.)
- adopt mailbox and alias search to $search[_]
- adopt pagebrowser to $search[_]

list-virtual_alias_domain.tpl:
- replace custom output generation with {include 'list.php'} and some
  variable assignments

PFAHandler.php:
- add $this->id_field to $this->msg (avoids another smarty template
  variable)

configs/menu.conf:
- change input name to search[_]

list-virtual_alias.tpl, list-virtual_mailbox.tpl:
- adopt to $search[_] by setting $search in a backwards-compatible way

list.tpl:
- add special handling for aliasdomain.target_domain linking



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1773 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-06 14:17:25 +00:00
Christian Boltz
4ce0a57e83 PFAHandler:
- add protected $searchfields = array(); - list of fields to search by
  default, if just a search term is given. This will be done with
  $search['_'], but that code is not implemented yet.
- add $this->msg['show_simple_search'] (true if $searchfields is non-empty)

list.tpl:
- display search input box and search overview only if $searchfields is
  not empty

AliasdomainHandler:
- add 'alias_domain' and 'target_domain' to $searchfields

MailboxHandler:
- add 'username' to $searchfields

AliasHandler:
- add 'address' and 'goto' to $searchfields

This effectively means that the search input box is no longer displayed
in list.php for admin, domain and fetchmail listings.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1770 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-05 20:23:38 +00:00
Christian Boltz
6e5c8f8054 add 'can_create' flag
PFAHandler:
- add $msg['can_create'] (true by default)

DomainHandler:
- set $msg['can_create'] based on is_superadmin

list.tpl:
- display 'create' button only if $msg['can_create'] is true

Note: This is only an optical improvement, not a permission check.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1769 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-05 19:21:15 +00:00
Christian Boltz
4322486b21 delete fetchmail.php and templates/fetchmail.tpl
(replaced by FetchmailHandler)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1765 a1433add-5e2c-0410-b055-b7f2511e0802
2015-04-04 14:23:46 +00:00
Christian Boltz
dd43f12e9b delete list-admin.php and its template, use list.php instead
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1754 a1433add-5e2c-0410-b055-b7f2511e0802
2015-03-17 22:37:34 +00:00
Christian Boltz
64c6e9f0a0 list.tpl:
- fix displaying list and txtl fields


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1751 a1433add-5e2c-0410-b055-b7f2511e0802
2015-03-17 22:06:48 +00:00
Christian Boltz
eb7e40cf94 PFAHandler, editform.tpl:
- add support for 'b64p' fields (passwords stored base64-encoded)
  as preparation to migrate fetchmail.php to FetchmailHandler


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1750 a1433add-5e2c-0410-b055-b7f2511e0802
2015-03-17 21:19:36 +00:00
Christian Boltz
86dc74fd86 menu.tpl:
- display "view log" menu entry only if logging is enabled
  https://sourceforge.net/p/postfixadmin/patches/127/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1748 a1433add-5e2c-0410-b055-b7f2511e0802
2015-03-15 00:38:23 +00:00
Christian Boltz
6e82a41121 delete list-domain.php and its templates
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1747 a1433add-5e2c-0410-b055-b7f2511e0802
2015-02-28 22:45:58 +00:00
Christian Boltz
1d35ba80ab model/DomainHandler.php:
- initStruct():
  - add optical quota indicators for aliases, mailboxes, domain quota
  - some adjustments to get nice output with list.php (mostly following
    list-domain.php)
- webformConfig(): switch listview to list.php

configs/menu.conf, templates/adminlistadmin.tpl:
- switch list-domain.php to list.php?table=domain



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1745 a1433add-5e2c-0410-b055-b7f2511e0802
2015-02-28 22:42:11 +00:00
Christian Boltz
4bc2d5f691 list.tpl, default.css:
- format unlimited/disabled quota similar to x/y, but no border


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1743 a1433add-5e2c-0410-b055-b7f2511e0802
2015-02-28 22:26:14 +00:00
Christian Boltz
6051729458 list.tpl:
- make "active" a link only if the record is editable


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1741 a1433add-5e2c-0410-b055-b7f2511e0802
2015-02-28 21:55:54 +00:00
Christian Boltz
03b0c869dd list.php:
- add search support:
  - new parameters:
    - search[$field] - value to search for
    - searchmode[$field] - search mode (=, <, > etc.)
    - reset_search - if given, empty $search and $searchmode
  - remember $search and $searchmode via session
  - display errormsg and infomsg from $handler, if any
 
list.tpl:
- display current search parameters and a "[x]" link to remove all
  search parameters

This change doesn't add a search form, but you can use ?search[field]=
and ?searchmode[field]= URL parameters


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1732 a1433add-5e2c-0410-b055-b7f2511e0802
2014-11-02 23:04:15 +00:00
Christian Boltz
d2490f6153 list.tpl:
- add support for $struct[linkto]



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1727 a1433add-5e2c-0410-b055-b7f2511e0802
2014-11-02 21:47:31 +00:00
Christian Boltz
7a23b3cda8 list.tpl:
- add handling for quota fields (visual quota indicator)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1726 a1433add-5e2c-0410-b055-b7f2511e0802
2014-11-02 21:39:13 +00:00
Christian Boltz
a826564962 list.php:
- add CSV export

list.tpl:
- add "export as CSV" link

*.lang:
- new text 'download_csv'


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1725 a1433add-5e2c-0410-b055-b7f2511e0802
2014-11-02 21:32:25 +00:00
Christian Boltz
1e35c579b6 list.php, list.tpl:
- use smarty-style dropdown for admin dropdown instead of select_options()
- only display admin dropdown if more than one admin is available
  (which basically means hiding it for domain admins)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1723 a1433add-5e2c-0410-b055-b7f2511e0802
2014-11-02 21:14:16 +00:00
Christian Boltz
b5a6417a6e add list.php and list.tpl - generic files to display lists
(will replace list-admin, list-domain etc.)

list.php:
- generic list view, select *Handler with ?table=

list.tpl:
- display list view
- columns based on $struct (every column with display_in_list and 
  non-empty label will be displayed)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1722 a1433add-5e2c-0410-b055-b7f2511e0802
2014-11-02 21:05:22 +00:00
Christian Boltz
1ad0d6832b editform.tpl:
- display cleartext value instead of key for readonly enma fields


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1721 a1433add-5e2c-0410-b055-b7f2511e0802
2014-11-01 21:26:27 +00:00