4 <form method="post" action="/cgi-bin/koha/admin/columns_settings.pl">
5 <input type="hidden" name="action" value="save" />
6 <input type="hidden" name="module" value="[% modulename %]" />
7 <input type="hidden" name="panel" value="[% panel_id %]" />
8 [% SET panel_id = panel_id + 1 %]
9 [% IF module.keys and module.keys.size > 0 %]
10 [% FOR pagename IN module.keys %]
11 <h5>[% pagename %]</h5>
12 [% SET tables = module %]
13 [% IF tables.$pagename.keys and tables.$pagename.keys.size > 0 %]
14 [% FOR tablename IN tables.$pagename.keys.sort %]
15 [% IF pagename == 'additem' AND tablename == 'itemst' %]
16 <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>
20 [% IF tablename == 'currencies-table' %]
22 [% ELSIF pagename == 'additem' AND tablename == 'itemst' %]
27 <thead><tr><th>Column name</th><th>Is hidden by default</th><th>Cannot be toggled</th></tr></thead>
29 [% FOR column IN tables.$pagename.$tablename %]
30 [% SET value = pagename _ '#' _ tablename _ '#' _ column.columnname %]
33 [% column.columnname %]
34 <input type="hidden" name="columnid" value="[% value %]" />
37 [% IF column.is_hidden %]
38 [% IF column.cannot_be_modified %]
39 <input type="checkbox" name="[% value %]_hidden" value="1" checked="checked" disabled="disabled" />
40 <input type="hidden" name="[% value %]_hidden" value="1" />
42 <input type="checkbox" name="[% value %]_hidden" value="1" checked="checked" />
45 [% IF column.cannot_be_modified %]
46 <input type="checkbox" name="[% value %]_hidden" value="1" disabled="disabled" />
47 <input type="hidden" name="[% value %]_hidden" value="0" />
49 <input type="checkbox" name="[% value %]_hidden" value="1" />
54 [% IF column.cannot_be_toggled %]
55 [% IF column.cannot_be_modified %]
56 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" checked="checked" disabled="disabled" />
57 <input type="hidden" name="[% value %]_cannot_be_toggled" value="1" />
59 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" checked="checked" />
62 [% IF column.cannot_be_modified %]
63 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" disabled="disabled" />
64 <input type="hidden" name="[% value %]_cannot_be_toggled" value="0" />
66 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" />
75 <input type="submit" value="Save" />
77 There is no table to configure for this module.
81 There is no page using the table configuration in this module.
87 [% INCLUDE 'doc-head-open.inc' %]
88 <title>Koha › Administration › Columns settings</title>
89 [% INCLUDE 'doc-head-close.inc' %]
90 <script type="text/javascript">
91 $(document).ready( function() {
92 var accordion = $( "#modules" ).accordion({
97 [%# we were asked to show a specific panel, usually on update %]
106 <body id="admin_tables" class="admin">
107 [% INCLUDE 'header.inc' %]
108 [% INCLUDE 'cat-search.inc' %]
109 <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>
111 <div id="doc3" class="yui-t2">
115 <h2>Columns settings</h2>
117 <h3><a href="#acqui">Acquisition</a></h3>
119 <h4>Acquisition tables</h4>
120 [% PROCESS pagelist module=modules.acqui modulename="acqui" %]
123 <h3><a href="#admin">Administration</a></h3>
125 <h4>Administration tables</h4>
126 [% PROCESS pagelist module=modules.admin modulename="admin" %]
129 <h3><a href="#authorities">Authorities</a></h3>
130 <div id="authorities">
131 <h4>Authorities tables</h4>
132 [% PROCESS pagelist module=modules.authorities modulename="authorities" %]
135 <h3><a href="#catalog">Catalog</a></h3>
137 <h4>Catalogue tables</h4>
138 [% PROCESS pagelist module=modules.catalogue modulename="catalogue" %]
141 <h3><a href="#cataloguing">Cataloging</a></h3>
142 <div id="cataloguing">
143 <h4>Cataloguing tables</h4>
144 [% PROCESS pagelist module=modules.cataloguing modulename="cataloguing" %]
147 <h3><a href="#circulation">Circulation</a></h3>
148 <div id="circulation">
149 <h4>Circulation tables</h4>
150 [% PROCESS pagelist module=modules.circ modulename="circ" %]
153 <h3><a href="#members">Patrons</a></h3>
155 <h4>Patrons tables</h4>
156 [% PROCESS pagelist module=modules.members modulename="members" %]
159 <h3><a href="#reports">Reports</a></h3>
161 <h4>Reports tables</h4>
162 [% PROCESS pagelist module=modules.reports modulename="reports" %]
170 [% INCLUDE 'admin-menu.inc' %]
173 [% INCLUDE 'intranet-bottom.inc' %]