diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2015-01-25 14:09:55 +0100 |
---|---|---|
committer | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2015-01-25 19:15:21 +0100 |
commit | e6185fb9a55ee47b3497c0150762e07d3538bdc2 (patch) | |
tree | 9efcf8c1d3782770c58bb74da7d765bc6a572fcd /Kernel/Output | |
parent | f9f961a91ced51c1f816761c70c08fdf499331fd (diff) | |
download | DefaultRecipient-e6185fb9a55ee47b3497c0150762e07d3538bdc2.tar.gz DefaultRecipient-e6185fb9a55ee47b3497c0150762e07d3538bdc2.tar.bz2 DefaultRecipient-e6185fb9a55ee47b3497c0150762e07d3538bdc2.zip |
Remove AddNew.
If you do not want to add a new recipient, simply leave the NewAddress
field empty.
Diffstat (limited to 'Kernel/Output')
-rw-r--r-- | Kernel/Output/HTML/DefaultRecipient.pm | 2 | ||||
-rw-r--r-- | Kernel/Output/HTML/Standard/AdminDefaultRecipient.tt | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/Kernel/Output/HTML/DefaultRecipient.pm b/Kernel/Output/HTML/DefaultRecipient.pm index 9ad424f..9b12f3b 100644 --- a/Kernel/Output/HTML/DefaultRecipient.pm +++ b/Kernel/Output/HTML/DefaultRecipient.pm @@ -71,7 +71,7 @@ sub Run { ); $RemoveTo = 1 if $DefaultRecipient{RemoveTo}; - if ( $DefaultRecipient{AddNew} ) { + if ( $DefaultRecipient{NewAddress} ne '' ) { push @Addresses, $DefaultRecipient{NewAddress}; } } diff --git a/Kernel/Output/HTML/Standard/AdminDefaultRecipient.tt b/Kernel/Output/HTML/Standard/AdminDefaultRecipient.tt index a207701..88091d7 100644 --- a/Kernel/Output/HTML/Standard/AdminDefaultRecipient.tt +++ b/Kernel/Output/HTML/Standard/AdminDefaultRecipient.tt @@ -71,7 +71,6 @@ <tr> <th>[% Translate("Title") | html %]</th> <th>[% Translate("Remove 'To'") | html %]</th> - <th>[% Translate("Add new") | html %]</th> <th>[% Translate("New address") | html %]</th> <th>[% Translate("Comment") | html %]</th> <th>[% Translate("Changed") | html %]</th> @@ -96,7 +95,6 @@ <a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Change;ID=[% Data.ID | uri %]">[% Data.Title | html %]</a> </td> <td>[% Translate(Data.RemoveToYesNo) | html %]</td> - <td>[% Translate(Data.AddNewYesNo) | html %]</td> <td>[% Data.NewAddress | html %]</td> <td title="[% Data.Comment | html %]">[% Data.Comment | truncate(26) | html %]</td> <td>[% Data.ChangeTime | Localize("TimeShort") %]</td> @@ -159,12 +157,6 @@ </div> <div class="Clear"></div> - <label for="AddNew">[% Translate("Add new") | html %]:</label> - <div class="Field"> - [% Data.DefaultRecipientAddNewOption %] - </div> - <div class="Clear"></div> - <label for="NewAddress">[% Translate("New address") | html %]:</label> <div class="Field"> <input type="text" name="NewAddress" id="NewAddress" value="[% Data.NewAddress | html %]" class="W50pc" maxlength="200"/> |