diff --git a/templates/backOffice/default/includes/inner-form-toolbar.html b/templates/backOffice/default/includes/inner-form-toolbar.html index ed0cf3b3c..59d8acde7 100644 --- a/templates/backOffice/default/includes/inner-form-toolbar.html +++ b/templates/backOffice/default/includes/inner-form-toolbar.html @@ -4,7 +4,9 @@ A toolbar displayed in forms, to display language change flags, submit and close Parameters: - hide_flags: true / false. If true, the flags will not be visible - - hide_submit_buttons: true / false. If true, only the close button will be deplayed. + - hide_submit_buttons: true / false. If true, only the close button will be displayed. + - hide_save_buttons: true / false. If true, the "Save" button will be hidden + - hide_save_and_close_button: true / false. If true, the "Save and close" button will be hidden - show_currencies: true/false. If true, show the currency selection bar - page_url: the current page URL. Default is $current_url. Used to switchedition anguage. - close_url: no default. URL displayed when close button is clicked. If empty, the close button is not displayed. @@ -48,8 +50,12 @@ Parameters:
{if $hide_submit_buttons != true} - - + {if $hide_save_buttons != true} + + {/if} + {if $hide_save_and_close_button != true} + + {/if} {/if} {if ! empty($close_url)} {intl l='Close'}