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 %])
30 <thead><tr><th>Column name</th><th>Is hidden by default</th><th>Cannot be toggled</th></tr></thead>
32 [% FOR column IN tables.$pagename.$tablename %]
33 [% SET value = pagename _ '#' _ tablename _ '#' _ column.columnname %]
36 [% column.columnname | html %]
37 <input type="hidden" name="columnid" value="[% value | html %]" />
40 [% IF column.is_hidden %]
41 [% IF column.cannot_be_modified %]
42 <input type="checkbox" name="[% value | html %]_hidden" value="1" checked="checked" disabled="disabled" />
43 <input type="hidden" name="[% value | html %]_hidden" value="1" />
45 <input type="checkbox" name="[% value | html %]_hidden" value="1" checked="checked" />
48 [% IF column.cannot_be_modified %]
49 <input type="checkbox" name="[% value | html %]_hidden" value="1" disabled="disabled" />
50 <input type="hidden" name="[% value | html %]_hidden" value="0" />
52 <input type="checkbox" name="[% value | html %]_hidden" value="1" />
57 [% IF column.cannot_be_toggled %]
58 [% IF column.cannot_be_modified %]
59 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" checked="checked" disabled="disabled" />
60 <input type="hidden" name="[% value | html %]_cannot_be_toggled" value="1" />
62 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" checked="checked" />
65 [% IF column.cannot_be_modified %]
66 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" disabled="disabled" />
67 <input type="hidden" name="[% value | html %]_cannot_be_toggled" value="0" />
69 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" />
78 <input type="submit" value="Save" />
80 There is no table to configure for this module.
84 There is no page using the table configuration in this module.
90 [% INCLUDE 'doc-head-open.inc' %]
91 <title>Koha › Administration › Columns settings</title>
92 [% INCLUDE 'doc-head-close.inc' %]
95 <body id="admin_tables" class="admin">
96 [% INCLUDE 'header.inc' %]
97 [% INCLUDE 'prefs-admin-search.inc' %]
98 <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>
100 <div class="main container-fluid">
102 <div class="col-sm-10 col-sm-push-2">
105 <h2>Columns settings</h2>
107 <h3><a href="#acqui">Acquisition</a></h3>
109 <h4>Acquisition tables</h4>
110 [% PROCESS pagelist module=modules.acqui modulename="acqui" %]
113 <h3><a href="#admin">Administration</a></h3>
115 <h4>Administration tables</h4>
116 [% PROCESS pagelist module=modules.admin modulename="admin" %]
119 <h3><a href="#authorities">Authorities</a></h3>
120 <div id="authorities">
121 <h4>Authorities tables</h4>
122 [% PROCESS pagelist module=modules.authorities modulename="authorities" %]
125 <h3><a href="#catalog">Catalog</a></h3>
127 <h4>Catalogue tables</h4>
128 [% PROCESS pagelist module=modules.catalogue modulename="catalogue" %]
131 <h3><a href="#cataloguing">Cataloging</a></h3>
132 <div id="cataloguing">
133 <h4>Cataloguing tables</h4>
134 [% PROCESS pagelist module=modules.cataloguing modulename="cataloguing" %]
137 <h3><a href="#circulation">Circulation</a></h3>
138 <div id="circulation">
139 <h4>Circulation tables</h4>
140 [% PROCESS pagelist module=modules.circ modulename="circ" %]
143 <h3><a href="#coursereserves">Course reserves</a></h3>
144 <div id="coursereserves">
145 <h4>Course reserves tables</h4>
146 [% PROCESS pagelist module=modules.coursereserves modulename="coursereserves" %]
149 <h3><a href="#members">Patrons</a></h3>
151 <h4>Patrons tables</h4>
152 [% PROCESS pagelist module=modules.members modulename="members" %]
155 <h3><a href="#tools">Tools</a></h3>
157 <h4>Tools tables</h4>
158 [% PROCESS pagelist module=modules.tools modulename="tools" %]
161 <h3><a href="#opac">OPAC</a></h3>
164 [% PROCESS pagelist module=modules.opac modulename="opac" %]
167 <h3><a href="#reports">Reports</a></h3>
169 <h4>Reports tables</h4>
170 [% PROCESS pagelist module=modules.reports modulename="reports" %]
173 <h3><a href="#serials">Serials</a></h3>
175 <h4>Serials tables</h4>
176 [% PROCESS pagelist module=modules.serials modulename="serials" %]
181 </div> <!-- /.col-sm-10.col-sm-push-2 -->
183 <div class="col-sm-2 col-sm-pull-10">
185 [% INCLUDE 'admin-menu.inc' %]
187 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
188 </div> <!-- /.row -->
190 [% MACRO jsinclude BLOCK %]
191 [% Asset.js("js/admin-menu.js") | $raw %]
193 $(document).ready( function() {
194 var accordion = $( "#modules" ).accordion({
199 [%# we were asked to show a specific panel, usually on update %]
200 active: [%- panel | html -%]
208 [% INCLUDE 'intranet-bottom.inc' %]