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 %]
17 [% IF tablename == 'currencies-table' %]
22 <thead><tr><th>Column name</th><th>Is hidden by default</th><th>Cannot be toggled</th></tr></thead>
24 [% FOR column IN tables.$pagename.$tablename %]
25 [% SET value = pagename _ '#' _ tablename _ '#' _ column.columnname %]
28 [% column.columnname %]
29 <input type="hidden" name="columnid" value="[% value %]" />
32 [% IF column.is_hidden %]
33 [% IF column.cannot_be_modified %]
34 <input type="checkbox" name="[% value %]_hidden" value="1" checked="checked" disabled="disabled" />
35 <input type="hidden" name="[% value %]_hidden" value="1" />
37 <input type="checkbox" name="[% value %]_hidden" value="1" checked="checked" />
40 [% IF column.cannot_be_modified %]
41 <input type="checkbox" name="[% value %]_hidden" value="1" disabled="disabled" />
42 <input type="hidden" name="[% value %]_hidden" value="0" />
44 <input type="checkbox" name="[% value %]_hidden" value="1" />
49 [% IF column.cannot_be_toggled %]
50 [% IF column.cannot_be_modified %]
51 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" checked="checked" disabled="disabled" />
52 <input type="hidden" name="[% value %]_cannot_be_toggled" value="1" />
54 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" checked="checked" />
57 [% IF column.cannot_be_modified %]
58 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" disabled="disabled" />
59 <input type="hidden" name="[% value %]_cannot_be_toggled" value="0" />
61 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" />
70 <input type="submit" value="Save" />
72 There is no table to configure for this module.
76 There is no page using the table configuration in this module.
82 [% INCLUDE 'doc-head-open.inc' %]
83 <title>Koha › Administration › Columns settings</title>
84 [% INCLUDE 'doc-head-close.inc' %]
85 <script type="text/javascript">
86 $(document).ready( function() {
87 var accordion = $( "#modules" ).accordion({
92 [%# we were asked to show a specific panel, usually on update %]
101 <body id="admin_tables" class="admin">
102 [% INCLUDE 'header.inc' %]
103 [% INCLUDE 'cat-search.inc' %]
104 <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>
106 <div id="doc3" class="yui-t2">
110 <h2>Columns settings</h2>
112 <h3><a href="#acqui">Acquisition</a></h3>
114 <h4>Acquisition tables</h4>
115 [% PROCESS pagelist module=modules.acqui modulename="acqui" %]
118 <h3><a href="#admin">Administration</a></h3>
120 <h4>Administration tables</h4>
121 [% PROCESS pagelist module=modules.admin modulename="admin" %]
124 <h3><a href="#authorities">Authorities</a></h3>
125 <div id="authorities">
126 <h4>Authorities tables</h4>
127 [% PROCESS pagelist module=modules.authorities modulename="authorities" %]
130 <h3><a href="#catalog">Catalog</a></h3>
132 <h4>Catalogue tables</h4>
133 [% PROCESS pagelist module=modules.catalogue modulename="catalogue" %]
136 <h3><a href="#cataloguing">Cataloging</a></h3>
137 <div id="cataloguing">
138 <h4>Cataloguing tables</h4>
139 [% PROCESS pagelist module=modules.cataloguing modulename="cataloguing" %]
142 <h3><a href="#circulation">Circulation</a></h3>
143 <div id="circulation">
144 <h4>Circulation tables</h4>
145 [% PROCESS pagelist module=modules.circ modulename="circ" %]
148 <h3><a href="#members">Patrons</a></h3>
150 <h4>Patrons tables</h4>
151 [% PROCESS pagelist module=modules.members modulename="members" %]
154 <h3><a href="#reports">Reports</a></h3>
156 <h4>Reports tables</h4>
157 [% PROCESS pagelist module=modules.reports modulename="reports" %]
165 [% INCLUDE 'admin-menu.inc' %]
168 [% INCLUDE 'intranet-bottom.inc' %]