Skip to content

Conversation

@Jan-Kruis
Copy link
Contributor

.../public/users/edit-alias.php renamed to .../public/edit-forward.php and modified so admins can use it too.
As was done at .../public/user/vacation.php and .../public/vacation.php

.../public/users/edit-forward.php added.
This provides a reference to .../public/edit-forward.php.
.../public/edit-forward.php uses .../templates/edit-forward.tpl as template this was .../templates/edit-alias.tpl

This allows .../public/user/edit-alias.php and .../templates/edit-alias.tpl to be dropped

Made changes in .../templates/list-virtual_mailbos.tpl , .../templates/user_menu.tpl and .../config/menu.conf so that they now cause .../public/edit-forward .php is called for both users and admins.

TODO
.../public/edit-forward.php to use templates/editform.tpl at David Goodwin's request to reduce the number of templates.

…p and modified so admins can use it too.

As was done at .../public/user/vacation.php and .../public/vacation.php

.../public/users/edit-forward.php added.
This provides a reference to .../public/edit-forward.php.
.../public/edit-forward.php uses .../templates/edit-forward.tpl as template this was .../templates/edit-alias.tpl

This allows .../public/user/edit-alias.php and .../templates/edit-alias.tpl to be dropped

Made changes in .../templates/list-virtual_mailbos.tpl , .../templates/user_menu.tpl and .../config/menu.conf so that they now cause .../public/edit-forward .php is called for both users and admins.

TODO
        .../public/edit-forward.php to use templates/editform.tpl at David Goodwin's request to reduce the number of templates.
…p and modified so admins can use it too.

As was done at .../public/user/vacation.php and .../public/vacation.php

.../public/users/edit-forward.php added.
This provides a reference to .../public/edit-forward.php.
.../public/edit-forward.php uses .../templates/edit-forward.tpl as template this was .../templates/edit-alias.tpl

This allows .../public/user/edit-alias.php and .../templates/edit-alias.tpl to be dropped

Made changes in .../templates/list-virtual_mailbos.tpl , .../templates/user_menu.tpl and .../config/menu.conf so that they now cause .../public/edit-forward .php is called for both users and admins.

TODO
        .../public/edit-forward.php to use templates/editform.tpl at David Goodwin's request to reduce the number of templates.
Copy link
Member

@DavidGoodwin DavidGoodwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments...

@Jan-Kruis
Copy link
Contributor Author

david ,

there is more wrong, the correct template is not called
need to find out where and what went wrong

modification made in /templates/user_main.tpl ...
replace edit-alias with edit-forward and replace PALANG.pUsersMenu_edit_alias with PALANG.pUsersMenu_edit_forward

and removed or renamed
/templates/users_edit-alias.tpl
/public/users/edit-alias.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants