0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/templates
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
..
backupwarning.tpl backup.php: 2013-10-19 18:58:59 +00:00
broadcast-message.tpl *.lang: 2013-07-29 22:08:07 +00:00
editform.tpl PFAHandler, editform.tpl: 2015-03-17 21:19:36 +00:00
flash_error.tpl flash_error.tpl: 2012-01-11 21:46:41 +00:00
footer.tpl footer.tpl: 2014-01-04 19:02:01 +00:00
header.php - accidentially deleted header.php. Needed for setup 2009-11-06 19:16:14 +00:00
header.tpl header.tpl: 2014-03-16 19:33:52 +00:00
index.tpl templates/index.tpl: 2013-11-01 13:35:09 +00:00
list-virtual_alias_domain.tpl editactive.php: 2013-11-10 22:22:22 +00:00
list-virtual_alias.tpl editactive.php: 2013-11-10 22:22:22 +00:00
list-virtual_mailbox.tpl list-virtual_mailbox.tpl: 2014-05-18 22:30:21 +00:00
list-virtual.tpl *.lang: 2013-07-29 22:08:07 +00:00
list.tpl add 'can_create' flag 2015-04-05 19:21:15 +00:00
login.tpl *.lang: 2013-07-28 19:46:50 +00:00
main.tpl *.lang: 2013-07-28 22:51:28 +00:00
menu.tpl menu.tpl: 2015-03-15 00:38:23 +00:00
message.tpl message.tpl: 2011-07-25 22:19:50 +00:00
password.tpl *.lang: 2013-07-28 22:51:28 +00:00
sendmail.tpl *.lang: 2013-07-29 22:08:07 +00:00
users_edit-alias.tpl *.lang: 2013-07-29 22:08:07 +00:00
users_main.tpl As a side effect of the previous commit (r1568), we can use login.php 2013-11-11 00:13:31 +00:00
users_menu.tpl *.lang: 2013-07-28 22:51:28 +00:00
vacation.tpl vacation: 2013-12-22 16:50:55 +00:00
viewlog.tpl *.lang: 2013-07-29 22:08:07 +00:00