View | Details | Raw Unified | Return to bug 31957
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-9 / +9 lines)
Lines 3-8 Link Here
3
[% USE Asset %]
3
[% USE Asset %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% USE TablesSettings %]
5
[% USE TablesSettings %]
6
[%- USE KohaSpan -%]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
[% IF library %][% SET OpacLibraryInfo = library.opac_info( lang => lang ) %][% END %]
8
[% IF library %][% SET OpacLibraryInfo = library.opac_info( lang => lang ) %][% END %]
8
9
Lines 193-200 Libraries › Administration › Koha Link Here
193
                    <input type="text" name="branchillemail" id="branchillemail" class="email"  size="80" value="[% library.branchillemail | html %]" />
194
                    <input type="text" name="branchillemail" id="branchillemail" class="email"  size="80" value="[% library.branchillemail | html %]" />
194
                    <div class="hint">
195
                    <div class="hint">
195
                        [% IF ( CAN_user_parameters_manage_sysprefs ) %]
196
                        [% IF ( CAN_user_parameters_manage_sysprefs ) %]
196
                            [% SET pref_ILLDefaultStaffEmail_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ILLDefaultStaffEmail">ILLDefaultStaffEmail</a>' %]
197
                            [% pref_ILLDefaultStaffEmail_link = BLOCK %]<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ILLDefaultStaffEmail">ILLDefaultStaffEmail</a>[% END %]
197
                            Default: [% pref_ILLDefaultStaffEmail_link | $raw %] system preference
198
                            Default: [% pref_ILLDefaultStaffEmail_link | $KohaSpan %] system preference
198
                        [% ELSE %]
199
                        [% ELSE %]
199
                            Default: ILLDefaultStaffEmail system preference
200
                            Default: ILLDefaultStaffEmail system preference
200
                        [% END %]
201
                        [% END %]
Lines 206-213 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
206
                    <input type="text" name="branchreplyto" id="branchreplyto" class="email"  size="80" value="[% library.branchreplyto | html %]" />
207
                    <input type="text" name="branchreplyto" id="branchreplyto" class="email"  size="80" value="[% library.branchreplyto | html %]" />
207
                    <div class="hint">
208
                    <div class="hint">
208
                         [% IF ( CAN_user_parameters_manage_sysprefs ) %]
209
                         [% IF ( CAN_user_parameters_manage_sysprefs ) %]
209
                            [% SET pref_ReplyToDefault_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ReplyToDefault">ReplyToDefault</a>' %]
210
                            [% pref_ReplyToDefault_link = BLOCK %]<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ReplyToDefault">ReplyToDefault</a>[% END %]
210
                            Default: [% pref_ReplyToDefault_link | $raw %] system preference
211
                            Default: [% pref_ReplyToDefault_link | $KohaSpan %] system preference
211
                        [% ELSE %]
212
                        [% ELSE %]
212
                            Default: ReplyToDefault system preference
213
                            Default: ReplyToDefault system preference
213
                        [% END %]
214
                        [% END %]
Lines 218-225 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
218
                    <input type="text" name="branchreturnpath" id="branchreturnpath" class="email"  size="80" value="[% library.branchreturnpath | html %]" />
219
                    <input type="text" name="branchreturnpath" id="branchreturnpath" class="email"  size="80" value="[% library.branchreturnpath | html %]" />
219
                    <div class="hint">
220
                    <div class="hint">
220
                         [% IF ( CAN_user_parameters_manage_sysprefs ) %]
221
                         [% IF ( CAN_user_parameters_manage_sysprefs ) %]
221
                            [% SET pref_ReturnpathDefault_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ReturnpathDefault">ReturnpathDefault</a>' %]
222
                            [% pref_ReturnpathDefault_link = BLOCK %]<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ReturnpathDefault">ReturnpathDefault</a>[% END %]
222
                            Default: [% pref_ReturnpathDefault_link | $raw %] system preference
223
                            Default: [% pref_ReturnpathDefault_link | $KohaSpan %] system preference
223
                        [% ELSE %]
224
                        [% ELSE %]
224
                            Default: ReturnpathDefault system preference
225
                            Default: ReturnpathDefault system preference
225
                        [% END %]
226
                        [% END %]
Lines 260-267 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
260
                    <input type="text" name="marcorgcode" id="marcorgcode" size="16" maxlength="16" value="[% library.marcorgcode | html %]" />
261
                    <input type="text" name="marcorgcode" id="marcorgcode" size="16" maxlength="16" value="[% library.marcorgcode | html %]" />
261
                    <div class="hint">
262
                    <div class="hint">
262
                        [% IF ( CAN_user_parameters_manage_sysprefs ) %]
263
                        [% IF ( CAN_user_parameters_manage_sysprefs ) %]
263
                            [% SET pref_MARCOrgCode_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=MARCOrgCode">MARCOrgCode</a>' %]
264
                            [% pref_MARCOrgCode_link = BLOCK %]<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=MARCOrgCode">MARCOrgCode</a>[% END %]
264
                            If not filled in defaults to system preference [% pref_MARCOrgCode_link | $raw %].
265
                            If not filled in defaults to system preference [% pref_MARCOrgCode_link | $KohaSpan %].
265
                        [% ELSE %]
266
                        [% ELSE %]
266
                            If not filled in defaults to system preference MARCOrgCode.
267
                            If not filled in defaults to system preference MARCOrgCode.
267
                        [% END %]
268
                        [% END %]
268
- 

Return to bug 31957