6 <form method="post" action="/cgi-bin/koha/admin/columns_settings.pl">
7 <input type="hidden" name="action" value="save" />
8 <input type="hidden" name="module" value="[% modulename %]" />
9 <input type="hidden" name="panel" value="[% panel_id %]" />
10 [% SET panel_id = panel_id + 1 %]
11 [% IF module.keys and module.keys.size > 0 %]
12 [% FOR pagename IN module.keys %]
13 <h5>[% pagename %]</h5>
14 [% SET tables = module %]
15 [% IF tables.$pagename.keys and tables.$pagename.keys.size > 0 %]
16 [% FOR tablename IN tables.$pagename.keys.sort %]
17 [% IF pagename == 'additem' AND tablename == 'itemst' %]
18 <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>
22 [% IF tablename == 'currencies-table' %]
24 [% ELSIF pagename == 'additem' AND tablename == 'itemst' %]
29 <thead><tr><th>Column name</th><th>Is hidden by default</th><th>Cannot be toggled</th></tr></thead>
31 [% FOR column IN tables.$pagename.$tablename %]
32 [% SET value = pagename _ '#' _ tablename _ '#' _ column.columnname %]
35 [% column.columnname %]
36 <input type="hidden" name="columnid" value="[% value %]" />
39 [% IF column.is_hidden %]
40 [% IF column.cannot_be_modified %]
41 <input type="checkbox" name="[% value %]_hidden" value="1" checked="checked" disabled="disabled" />
42 <input type="hidden" name="[% value %]_hidden" value="1" />
44 <input type="checkbox" name="[% value %]_hidden" value="1" checked="checked" />
47 [% IF column.cannot_be_modified %]
48 <input type="checkbox" name="[% value %]_hidden" value="1" disabled="disabled" />
49 <input type="hidden" name="[% value %]_hidden" value="0" />
51 <input type="checkbox" name="[% value %]_hidden" value="1" />
56 [% IF column.cannot_be_toggled %]
57 [% IF column.cannot_be_modified %]
58 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" checked="checked" disabled="disabled" />
59 <input type="hidden" name="[% value %]_cannot_be_toggled" value="1" />
61 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" checked="checked" />
64 [% IF column.cannot_be_modified %]
65 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" disabled="disabled" />
66 <input type="hidden" name="[% value %]_cannot_be_toggled" value="0" />
68 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" />
77 <input type="submit" value="Save" />
79 There is no table to configure for this module.
83 There is no page using the table configuration in this module.
89 [% INCLUDE 'doc-head-open.inc' %]
90 <title>Koha › Administration › Columns settings</title>
91 [% INCLUDE 'doc-head-close.inc' %]
94 <body id="admin_tables" class="admin">
95 [% INCLUDE 'header.inc' %]
96 [% INCLUDE 'prefs-admin-search.inc' %]
97 <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>
99 <div id="doc3" class="yui-t2">
103 <h2>Columns settings</h2>
105 <h3><a href="#acqui">Acquisition</a></h3>
107 <h4>Acquisition tables</h4>
108 [% PROCESS pagelist module=modules.acqui modulename="acqui" %]
111 <h3><a href="#admin">Administration</a></h3>
113 <h4>Administration tables</h4>
114 [% PROCESS pagelist module=modules.admin modulename="admin" %]
117 <h3><a href="#authorities">Authorities</a></h3>
118 <div id="authorities">
119 <h4>Authorities tables</h4>
120 [% PROCESS pagelist module=modules.authorities modulename="authorities" %]
123 <h3><a href="#catalog">Catalog</a></h3>
125 <h4>Catalogue tables</h4>
126 [% PROCESS pagelist module=modules.catalogue modulename="catalogue" %]
129 <h3><a href="#cataloguing">Cataloging</a></h3>
130 <div id="cataloguing">
131 <h4>Cataloguing tables</h4>
132 [% PROCESS pagelist module=modules.cataloguing modulename="cataloguing" %]
135 <h3><a href="#circulation">Circulation</a></h3>
136 <div id="circulation">
137 <h4>Circulation tables</h4>
138 [% PROCESS pagelist module=modules.circ modulename="circ" %]
141 <h3><a href="#members">Patrons</a></h3>
143 <h4>Patrons tables</h4>
144 [% PROCESS pagelist module=modules.members modulename="members" %]
147 <h3><a href="#opac">OPAC</a></h3>
150 [% PROCESS pagelist module=modules.opac modulename="opac" %]
153 <h3><a href="#reports">Reports</a></h3>
155 <h4>Reports tables</h4>
156 [% PROCESS pagelist module=modules.reports modulename="reports" %]
164 [% INCLUDE 'admin-menu.inc' %]
168 [% MACRO jsinclude BLOCK %]
169 [% Asset.js("js/admin-menu.js") %]
170 <script type="text/javascript">
171 $(document).ready( function() {
172 var accordion = $( "#modules" ).accordion({
177 [%# we were asked to show a specific panel, usually on update %]
178 active: [%- panel -%]
186 [% INCLUDE 'intranet-bottom.inc' %]