7 <form method="post" action="/cgi-bin/koha/admin/columns_settings.pl">
8 <input type="hidden" name="action" value="save" />
9 <input type="hidden" name="module" value="[% modulename | html %]" />
10 <input type="hidden" name="panel" value="[% panel_id | html %]" />
11 [% SET panel_id = panel_id + 1 %]
12 [% IF module.keys and module.keys.size > 0 %]
13 [% FOR pagename IN module.keys %]
14 <h5>[% pagename | html %]</h5>
15 [% SET tables = module %]
16 [% IF tables.$pagename.keys and tables.$pagename.keys.size > 0 %]
17 [% FOR tablename IN tables.$pagename.keys.sort %]
18 [% IF pagename == 'additem' AND tablename == 'itemst' %]
19 <div class="alert">Changes made below will only apply to item subfields that are mapped to the 'items' table. <a href="/cgi-bin/koha/admin/koha2marclinks.pl?tablename=items">Go to Koha to MARC mapping</a></div>
23 [% IF tablename == 'currencies-table' %]
25 [% ELSIF pagename == 'additem' AND tablename == 'itemst' %]
28 (id=[% tablename | html %])
33 <th>Is hidden by default</th>
34 <th>Cannot be toggled</th>
38 [% FOR column IN tables.$pagename.$tablename %]
39 [% SET value = pagename _ '#' _ tablename _ '#' _ column.columnname %]
42 [% column.columnname | html %]
43 <input type="hidden" name="columnid" value="[% value | html %]" />
46 [% IF column.is_hidden %]
47 [% IF column.cannot_be_modified %]
48 <input type="checkbox" name="[% value | html %]_hidden" value="1" checked="checked" disabled="disabled" />
49 <input type="hidden" name="[% value | html %]_hidden" value="1" />
51 <input type="checkbox" name="[% value | html %]_hidden" value="1" checked="checked" />
54 [% IF column.cannot_be_modified %]
55 <input type="checkbox" name="[% value | html %]_hidden" value="1" disabled="disabled" />
56 <input type="hidden" name="[% value | html %]_hidden" value="0" />
58 <input type="checkbox" name="[% value | html %]_hidden" value="1" />
63 [% IF column.cannot_be_toggled %]
64 [% IF column.cannot_be_modified %]
65 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" checked="checked" disabled="disabled" />
66 <input type="hidden" name="[% value | html %]_cannot_be_toggled" value="1" />
68 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" checked="checked" />
71 [% IF column.cannot_be_modified %]
72 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" disabled="disabled" />
73 <input type="hidden" name="[% value | html %]_cannot_be_toggled" value="0" />
75 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" />
84 <input type="submit" value="Save" />
86 There is no table to configure for this module.
90 There is no page using the table configuration in this module.
96 [% INCLUDE 'doc-head-open.inc' %]
97 <title>Koha › Administration › Columns settings</title>
98 [% INCLUDE 'doc-head-close.inc' %]
101 <body id="admin_tables" class="admin">
103 [% INCLUDE 'header.inc' %]
104 [% INCLUDE 'prefs-admin-search.inc' %]
105 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › Columns settings</div>
107 <div class="main container-fluid">
109 <div class="col-sm-10 col-sm-push-2">
112 <h2>Columns settings</h2>
114 <h3><a href="#acqui">Acquisition</a></h3>
116 <h4>Acquisition tables</h4>
117 [% PROCESS pagelist module=modules.acqui modulename="acqui" %]
120 <h3><a href="#admin">Administration</a></h3>
122 <h4>Administration tables</h4>
123 [% PROCESS pagelist module=modules.admin modulename="admin" %]
126 <h3><a href="#authorities">Authorities</a></h3>
127 <div id="authorities">
128 <h4>Authorities tables</h4>
129 [% PROCESS pagelist module=modules.authorities modulename="authorities" %]
132 <h3><a href="#catalog">Catalog</a></h3>
134 <h4>Catalogue tables</h4>
135 [% PROCESS pagelist module=modules.catalogue modulename="catalogue" %]
138 <h3><a href="#cataloguing">Cataloging</a></h3>
139 <div id="cataloguing">
140 <h4>Cataloguing tables</h4>
141 [% PROCESS pagelist module=modules.cataloguing modulename="cataloguing" %]
144 <h3><a href="#circulation">Circulation</a></h3>
145 <div id="circulation">
146 <h4>Circulation tables</h4>
147 [% PROCESS pagelist module=modules.circ modulename="circ" %]
150 <h3><a href="#coursereserves">Course reserves</a></h3>
151 <div id="coursereserves">
152 <h4>Course reserves tables</h4>
153 [% PROCESS pagelist module=modules.coursereserves modulename="coursereserves" %]
156 <h3><a href="#ill">Interlibrary loans</a></h3>
158 <h4>Interlibrary loans tables</h4>
159 [% PROCESS pagelist module=modules.illrequests modulename="illrequests" %]
162 <h3><a href="#members">Patrons</a></h3>
164 <h4>Patrons tables</h4>
165 [% PROCESS pagelist module=modules.members modulename="members" %]
168 <h3><a href="#tools">Tools</a></h3>
170 <h4>Tools tables</h4>
171 [% PROCESS pagelist module=modules.tools modulename="tools" %]
174 <h3><a href="#opac">OPAC</a></h3>
177 [% PROCESS pagelist module=modules.opac modulename="opac" %]
180 <h3><a href="#reports">Reports</a></h3>
182 <h4>Reports tables</h4>
183 [% PROCESS pagelist module=modules.reports modulename="reports" %]
186 <h3><a href="#serials">Serials</a></h3>
188 <h4>Serials tables</h4>
189 [% PROCESS pagelist module=modules.serials modulename="serials" %]
194 </div> <!-- /.col-sm-10.col-sm-push-2 -->
196 <div class="col-sm-2 col-sm-pull-10">
198 [% INCLUDE 'admin-menu.inc' %]
200 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
201 </div> <!-- /.row -->
203 [% MACRO jsinclude BLOCK %]
204 [% Asset.js("js/admin-menu.js") | $raw %]
206 $(document).ready( function() {
207 var accordion = $( "#modules" ).accordion({
212 [%# we were asked to show a specific panel, usually on update %]
213 active: [%- panel | html -%]
221 [% INCLUDE 'intranet-bottom.inc' %]