|
Lines 3-11
Link Here
|
| 3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
| 4 |
[% USE KohaDates %] |
4 |
[% USE KohaDates %] |
| 5 |
[% USE Branches %] |
5 |
[% USE Branches %] |
|
|
6 |
[% PROCESS 'i18n.inc' %] |
| 6 |
[% SET footerjs = 1 %] |
7 |
[% SET footerjs = 1 %] |
| 7 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
[% INCLUDE 'doc-head-open.inc' %] |
| 8 |
<title>Additional contents › Tools › Koha</title> |
9 |
[% BLOCK page_heading %] |
|
|
10 |
[% IF additional_content.idnew %] |
| 11 |
[% IF category == 'news' %] |
| 12 |
[% t("Modify news item") | html %] |
| 13 |
[% ELSIF category == 'pages' %] |
| 14 |
[% t("Modify page") | html %] |
| 15 |
[% ELSE %] |
| 16 |
[% t("Modify HTML customization") | html %] |
| 17 |
[% END %] |
| 18 |
[% ELSE %] |
| 19 |
[% IF category == 'news' %] |
| 20 |
[% t("New news item") | html %] |
| 21 |
[% ELSIF category == 'pages' %] |
| 22 |
[% t("New page") | html %] |
| 23 |
[% ELSE %] |
| 24 |
[% t("New HTML customization") | html %] |
| 25 |
[% END %] |
| 26 |
[% END %] |
| 27 |
[% END %] |
| 28 |
[% BLOCK page_section %] |
| 29 |
[% IF category == 'news' %] |
| 30 |
[% t("News") | html %] |
| 31 |
[% ELSIF category == 'pages' %] |
| 32 |
[% t("Pages") | html %] |
| 33 |
[% ELSE %] |
| 34 |
[% t("HTML customizations") | html %] |
| 35 |
[% END %] |
| 36 |
[% END %] |
| 37 |
<title>[% FILTER collapse %] |
| 38 |
[% IF op == 'add_form' %] |
| 39 |
[% PROCESS page_heading %] › |
| 40 |
[% END %] |
| 41 |
[% PROCESS page_section %] › |
| 42 |
[% t("Additional content") | html %] › |
| 43 |
[% t("Tools") | html %] › |
| 44 |
[% t("Koha") | html %] |
| 45 |
[% END %]</title> |
| 9 |
[% INCLUDE 'doc-head-close.inc' %] |
46 |
[% INCLUDE 'doc-head-close.inc' %] |
| 10 |
[% IF ( wysiwyg ) %] |
47 |
[% IF ( wysiwyg ) %] |
| 11 |
[% SET editmode = "wysiwyg" %] |
48 |
[% SET editmode = "wysiwyg" %] |
|
Lines 24-33
Link Here
|
| 24 |
.syspref-link::before { |
61 |
.syspref-link::before { |
| 25 |
content: " | "; |
62 |
content: " | "; |
| 26 |
} |
63 |
} |
| 27 |
.customisation-link::before { |
64 |
.customization-link::before { |
| 28 |
content: " | "; |
65 |
content: " | "; |
| 29 |
} |
66 |
} |
| 30 |
.customisation-link:first-child::before { |
67 |
.customization-link:first-child::before { |
| 31 |
content: none; |
68 |
content: none; |
| 32 |
} |
69 |
} |
| 33 |
label[for^="title_"], |
70 |
label[for^="title_"], |
|
Lines 47-53
Link Here
|
| 47 |
[% WRAPPER breadcrumb_item %] |
84 |
[% WRAPPER breadcrumb_item %] |
| 48 |
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> |
85 |
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> |
| 49 |
[% END %] |
86 |
[% END %] |
| 50 |
|
87 |
[% WRAPPER breadcrumb_item %] |
|
|
88 |
<a href="/cgi-bin/koha/tools/additional-contents.pl">Additional content</a> |
| 89 |
[% END %] |
| 51 |
[% IF op == 'add_form' %] |
90 |
[% IF op == 'add_form' %] |
| 52 |
[% WRAPPER breadcrumb_item %] |
91 |
[% WRAPPER breadcrumb_item %] |
| 53 |
[% IF category == 'news' %] |
92 |
[% IF category == 'news' %] |
|
Lines 58-86
Link Here
|
| 58 |
<a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a> |
97 |
<a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a> |
| 59 |
[% END %] |
98 |
[% END %] |
| 60 |
[% END %] |
99 |
[% END %] |
| 61 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
100 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
| 62 |
[% IF additional_content.idnew %] |
101 |
[% PROCESS page_heading %] |
| 63 |
<span>Modify additional content</span> |
|
|
| 64 |
[% ELSE %] |
| 65 |
<span>Add additional content</span> |
| 66 |
[% END %] |
| 67 |
[% IF category == 'news' %] |
| 68 |
<span>(News)</span> |
| 69 |
[% ELSIF category == 'pages' %] |
| 70 |
<span>(Pages)</span> |
| 71 |
[% ELSE %] |
| 72 |
<span>(HTML customizations)</span> |
| 73 |
[% END %] |
| 74 |
[% END %] |
102 |
[% END %] |
| 75 |
[% ELSE %] |
103 |
[% ELSE %] |
| 76 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
104 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
| 77 |
[% IF category == 'news' %] |
105 |
[% PROCESS page_section %] |
| 78 |
<span>News</span> |
|
|
| 79 |
[% ELSIF category == 'pages' %] |
| 80 |
<span>Pages</span> |
| 81 |
[% ELSE %] |
| 82 |
<span>HTML customizations</span> |
| 83 |
[% END %] |
| 84 |
[% END %] |
106 |
[% END %] |
| 85 |
[% END %] |
107 |
[% END %] |
| 86 |
[% END #/ WRAPPER breadcrumbs %] |
108 |
[% END #/ WRAPPER breadcrumbs %] |
|
Lines 175-185
Link Here
|
| 175 |
</div> <!-- /.main.container-fluid --> |
197 |
</div> <!-- /.main.container-fluid --> |
| 176 |
|
198 |
|
| 177 |
[% BLOCK add_form %] |
199 |
[% BLOCK add_form %] |
| 178 |
[% IF additional_content %] |
200 |
<h1>[% PROCESS page_heading %]</h1> |
| 179 |
<h1>Modify an additional content</h1> |
|
|
| 180 |
[% ELSE %] |
| 181 |
<h1>New additional content ([% IF category == 'news' %]News[% ELSIF category == 'pages' %]Pages[% ELSE %]HTML customizations[% END %])</h1> |
| 182 |
[% END %] |
| 183 |
|
201 |
|
| 184 |
<div id="toolbar" class="btn-toolbar"> |
202 |
<div id="toolbar" class="btn-toolbar"> |
| 185 |
<div class="btn-group"> |
203 |
<div class="btn-group"> |
|
Lines 329-340
Link Here
|
| 329 |
</div> |
347 |
</div> |
| 330 |
</div> |
348 |
</div> |
| 331 |
|
349 |
|
| 332 |
<h2>Additional contents ([% IF category == 'news' %]News[% ELSIF category == 'pages' %]Pages[% ELSE %]HTML customizations[% END %])</h2> |
350 |
<h2> |
|
|
351 |
Additional content: |
| 352 |
[% IF category == 'news' %] |
| 353 |
[% t("News") | html %] |
| 354 |
[% ELSIF category == 'pages' %] |
| 355 |
[% t("Pages") | html %] |
| 356 |
[% ELSE %] |
| 357 |
[% t("HTML customizations") | html %] |
| 358 |
[% END %] |
| 359 |
</h2> |
| 333 |
<span id="additional_contents_links"> |
360 |
<span id="additional_contents_links"> |
| 334 |
See |
361 |
See |
| 335 |
<a class="customisation-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a> |
362 |
<a class="customization-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a> |
| 336 |
<a class="customisation-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a> |
363 |
<a class="customization-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a> |
| 337 |
<a class="customisation-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=pages">Pages</a> |
364 |
<a class="customization-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=pages">Pages</a> |
| 338 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
365 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
| 339 |
<a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserJS'>OPACUserJS</a> |
366 |
<a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserJS'>OPACUserJS</a> |
| 340 |
<a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS'>OPACUserCSS</a> |
367 |
<a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS'>OPACUserCSS</a> |