5 <form method="post" action="/cgi-bin/koha/admin/columns_settings.pl">
6 <input type="hidden" name="action" value="save" />
7 <input type="hidden" name="module" value="[% modulename %]" />
8 <input type="hidden" name="panel" value="[% panel_id %]" />
9 [% SET panel_id = panel_id + 1 %]
10 [% IF module.keys and module.keys.size > 0 %]
11 [% FOR pagename IN module.keys %]
12 <h5>[% pagename %]</h5>
13 [% SET tables = module %]
14 [% IF tables.$pagename.keys and tables.$pagename.keys.size > 0 %]
15 [% FOR tablename IN tables.$pagename.keys.sort %]
16 [% IF pagename == 'additem' AND tablename == 'itemst' %]
17 <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>
21 [% IF tablename == 'currencies-table' %]
23 [% ELSIF pagename == 'additem' AND tablename == 'itemst' %]
28 <thead><tr><th>Column name</th><th>Is hidden by default</th><th>Cannot be toggled</th></tr></thead>
30 [% FOR column IN tables.$pagename.$tablename %]
31 [% SET value = pagename _ '#' _ tablename _ '#' _ column.columnname %]
34 [% column.columnname %]
35 <input type="hidden" name="columnid" value="[% value %]" />
38 [% IF column.is_hidden %]
39 [% IF column.cannot_be_modified %]
40 <input type="checkbox" name="[% value %]_hidden" value="1" checked="checked" disabled="disabled" />
41 <input type="hidden" name="[% value %]_hidden" value="1" />
43 <input type="checkbox" name="[% value %]_hidden" value="1" checked="checked" />
46 [% IF column.cannot_be_modified %]
47 <input type="checkbox" name="[% value %]_hidden" value="1" disabled="disabled" />
48 <input type="hidden" name="[% value %]_hidden" value="0" />
50 <input type="checkbox" name="[% value %]_hidden" value="1" />
55 [% IF column.cannot_be_toggled %]
56 [% IF column.cannot_be_modified %]
57 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" checked="checked" disabled="disabled" />
58 <input type="hidden" name="[% value %]_cannot_be_toggled" value="1" />
60 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" checked="checked" />
63 [% IF column.cannot_be_modified %]
64 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" disabled="disabled" />
65 <input type="hidden" name="[% value %]_cannot_be_toggled" value="0" />
67 <input type="checkbox" name="[% value %]_cannot_be_toggled" value="1" />
76 <input type="submit" value="Save" />
78 There is no table to configure for this module.
82 There is no page using the table configuration in this module.
88 [% INCLUDE 'doc-head-open.inc' %]
89 <title>Koha › Administration › Columns settings</title>
90 [% INCLUDE 'doc-head-close.inc' %]
93 <body id="admin_tables" class="admin">
94 [% INCLUDE 'header.inc' %]
95 [% INCLUDE 'prefs-admin-search.inc' %]
96 <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>
98 <div id="doc3" class="yui-t2">
102 <h2>Columns settings</h2>
104 <h3><a href="#acqui">Acquisition</a></h3>
106 <h4>Acquisition tables</h4>
107 [% PROCESS pagelist module=modules.acqui modulename="acqui" %]
110 <h3><a href="#admin">Administration</a></h3>
112 <h4>Administration tables</h4>
113 [% PROCESS pagelist module=modules.admin modulename="admin" %]
116 <h3><a href="#authorities">Authorities</a></h3>
117 <div id="authorities">
118 <h4>Authorities tables</h4>
119 [% PROCESS pagelist module=modules.authorities modulename="authorities" %]
122 <h3><a href="#catalog">Catalog</a></h3>
124 <h4>Catalogue tables</h4>
125 [% PROCESS pagelist module=modules.catalogue modulename="catalogue" %]
128 <h3><a href="#cataloguing">Cataloging</a></h3>
129 <div id="cataloguing">
130 <h4>Cataloguing tables</h4>
131 [% PROCESS pagelist module=modules.cataloguing modulename="cataloguing" %]
134 <h3><a href="#circulation">Circulation</a></h3>
135 <div id="circulation">
136 <h4>Circulation tables</h4>
137 [% PROCESS pagelist module=modules.circ modulename="circ" %]
140 <h3><a href="#members">Patrons</a></h3>
142 <h4>Patrons tables</h4>
143 [% PROCESS pagelist module=modules.members modulename="members" %]
146 <h3><a href="#opac">OPAC</a></h3>
149 [% PROCESS pagelist module=modules.opac modulename="opac" %]
152 <h3><a href="#reports">Reports</a></h3>
154 <h4>Reports tables</h4>
155 [% PROCESS pagelist module=modules.reports modulename="reports" %]
163 [% INCLUDE 'admin-menu.inc' %]
167 [% MACRO jsinclude BLOCK %]
168 <script type="text/javascript" src="[% interface %]/[% theme %]/js/admin-menu_[% KOHA_VERSION %].js"></script>
169 <script type="text/javascript">
170 $(document).ready( function() {
171 var accordion = $( "#modules" ).accordion({
176 [%# we were asked to show a specific panel, usually on update %]
177 active: [%- panel -%]
185 [% INCLUDE 'intranet-bottom.inc' %]