View | Details | Raw Unified | Return to bug 19243
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt (-32 / +32 lines)
Lines 29-65 Link Here
29
                <div class="hint"><h4>Hint:</h4><p>Configure these parameters in the order they appear.</p></div>
29
                <div class="hint"><h4>Hint:</h4><p>Configure these parameters in the order they appear.</p></div>
30
                <h3>Basic parameters</h3>
30
                <h3>Basic parameters</h3>
31
                <dl>
31
                <dl>
32
                    <dt><a href="/cgi-bin/koha/admin/branches.pl">Libraries and groups</a></dt>
32
                    <dt><a href="/cgi-bin/koha/admin/branches.pl" id="libraries">Libraries and groups</a></dt>
33
                    <dd>Define libraries and groups.</dd>
33
                    <dd>Define libraries and groups.</dd>
34
                    <dt><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></dt>
34
                    <dt><a href="/cgi-bin/koha/admin/itemtypes.pl" id="itemtypes">Item types</a></dt>
35
                    <dd>Define item types used for circulation rules.</dd>
35
                    <dd>Define item types used for circulation rules.</dd>
36
                    <dt><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></dt>
36
                    <dt><a href="/cgi-bin/koha/admin/authorised_values.pl" id="authorisedvalues">Authorized values</a></dt>
37
                    <dd>Define categories and authorized values for them.</dd>
37
                    <dd>Define categories and authorized values for them.</dd>
38
                </dl>
38
                </dl>
39
39
40
                <h3>Patrons and circulation</h3>
40
                <h3>Patrons and circulation</h3>
41
                <dl>
41
                <dl>
42
                    <dt><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></dt>
42
                    <dt><a href="/cgi-bin/koha/admin/categories.pl"id="categories">Patron categories</a></dt>
43
                    <dd>Define patron categories.</dd>
43
                    <dd>Define patron categories.</dd>
44
                [% IF CAN_user_parameters_manage_circ_rules %]
44
                [% IF CAN_user_parameters_manage_circ_rules %]
45
                    <dt><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fines rules</a></dt>
45
                    <dt><a href="/cgi-bin/koha/admin/smart-rules.pl" id="circulationrules">Circulation and fines rules</a></dt>
46
                    <dd>Define circulation and fines rules for combinations of libraries, patron categories, and item types</dd>
46
                    <dd>Define circulation and fines rules for combinations of libraries, patron categories, and item types</dd>
47
                [% END %]
47
                [% END %]
48
                    <dt><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></dt>
48
                    <dt><a href="/cgi-bin/koha/admin/patron-attr-types.pl" id="attributetypes">Patron attribute types</a></dt>
49
                    <dd>Define extended attributes (identifiers and statistical categories) for patron records</dd>
49
                    <dd>Define extended attributes (identifiers and statistical categories) for patron records</dd>
50
                    <dt><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></dt>
50
                    <dt><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl" id="transferlimits">Library transfer limits</a></dt>
51
                    <dd>Limit the ability to transfer items between libraries based on the library sending, the library receiving, and the item type involved. These rules only go into effect if the preference UseBranchTransferLimits is set to ON.</dd>
51
                    <dd>Limit the ability to transfer items between libraries based on the library sending, the library receiving, and the item type involved. These rules only go into effect if the preference UseBranchTransferLimits is set to ON.</dd>
52
                    <dt><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></dt>
52
                    <dt><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl" id="costmatrix">Transport cost matrix</a></dt>
53
                    <dd>Define transport costs between branches</dd>
53
                    <dd>Define transport costs between branches</dd>
54
                    <dt><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></dt>
54
                    <dt><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl" id="circulationalters">Item circulation alerts</a></dt>
55
                    <dd>Define rules for check-in and checkout notifications for combinations of libraries, patron categories, and item types</dd>
55
                    <dd>Define rules for check-in and checkout notifications for combinations of libraries, patron categories, and item types</dd>
56
                    <dt><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></dt>
56
                    <dt><a href="/cgi-bin/koha/admin/cities.pl" id="cities">Cities and towns</a></dt>
57
                    <dd>Define cities and towns that your patrons live in.</dd>
57
                    <dd>Define cities and towns that your patrons live in.</dd>
58
                </dl>
58
                </dl>
59
                [% IF CAN_user_plugins %]
59
                [% IF CAN_user_plugins %]
60
                    <h3>Plugins</h3>
60
                    <h3>Plugins</h3>
61
                    <dl>
61
                    <dl>
62
                        <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl">Manage plugins</a></dt>
62
                        <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl" id="plugins">Manage plugins</a></dt>
63
                        <dd>View, manage, configure and run plugins.</dd>
63
                        <dd>View, manage, configure and run plugins.</dd>
64
                    </dl>
64
                    </dl>
65
                [% END %]
65
                [% END %]
Lines 67-110 Link Here
67
                <div class="yui-u">
67
                <div class="yui-u">
68
                <h3>Catalog</h3>
68
                <h3>Catalog</h3>
69
                <dl>
69
                <dl>
70
                    <dt><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></dt>
70
                    <dt><a href="/cgi-bin/koha/admin/biblio_framework.pl" id="marcframework">MARC bibliographic framework</a></dt>
71
                    <dd>Create and manage Bibliographic frameworks that define the characteristics of your MARC Records (field and subfield definitions) as well as templates for the MARC editor.</dd>
71
                    <dd>Create and manage Bibliographic frameworks that define the characteristics of your MARC Records (field and subfield definitions) as well as templates for the MARC editor.</dd>
72
                    <dt><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></dt>
72
                    <dt><a href="/cgi-bin/koha/admin/koha2marclinks.pl" id="mapping">Koha to MARC mapping</a></dt>
73
                    <dd>Define the mapping between the Koha transactional database (SQL) and the MARC Bibliographic records. Note that the mapping can be defined through MARC Bibliographic Framework. This tool is just a shortcut to speed up linkage.</dd>
73
                    <dd>Define the mapping between the Koha transactional database (SQL) and the MARC Bibliographic records. Note that the mapping can be defined through MARC Bibliographic Framework. This tool is just a shortcut to speed up linkage.</dd>
74
                    <dt><a href="/cgi-bin/koha/admin/fieldmapping.pl">Keywords to MARC mapping</a></dt>
74
                    <dt><a href="/cgi-bin/koha/admin/fieldmapping.pl" id="keywords">Keywords to MARC mapping</a></dt>
75
                    <dd>Define the mapping between keywords and MARC fields. The keywords are used to find some data independently of the framework.</dd>
75
                    <dd>Define the mapping between keywords and MARC fields. The keywords are used to find some data independently of the framework.</dd>
76
                    <dt><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC Bibliographic framework test</a></dt>
76
                    <dt><a href="/cgi-bin/koha/admin/checkmarc.pl" id="frameworktest">MARC Bibliographic framework test</a></dt>
77
                    <dd>Checks the MARC structure. If you change your MARC Bibliographic framework it's recommended that you run this tool to test for errors in your definition.</dd>
77
                    <dd>Checks the MARC structure. If you change your MARC Bibliographic framework it's recommended that you run this tool to test for errors in your definition.</dd>
78
                    <dt><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></dt>
78
                    <dt><a href="/cgi-bin/koha/admin/authtypes.pl" if="authoritytypes">Authority types</a></dt>
79
                    <dd>Create and manage Authorities frameworks that define the characteristics of your MARC Records (field and subfield definitions).</dd>
79
                    <dd>Create and manage Authorities frameworks that define the characteristics of your MARC Records (field and subfield definitions).</dd>
80
                    <dt><a href="/cgi-bin/koha/admin/classsources.pl">Classification sources</a></dt>
80
                    <dt><a href="/cgi-bin/koha/admin/classsources.pl" id="classification">Classification sources</a></dt>
81
                    <dd>Define classification sources (i.e., call number schemes) used by your collection.  Also define filing rules used for sorting call numbers.</dd>
81
                    <dd>Define classification sources (i.e., call number schemes) used by your collection.  Also define filing rules used for sorting call numbers.</dd>
82
                    <dt><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></dt>
82
                    <dt><a href="/cgi-bin/koha/admin/matching-rules.pl" id="matchingrules">Record matching rules</a></dt>
83
                    <dd>Manage rules for automatically matching MARC records during record imports.</dd>
83
                    <dd>Manage rules for automatically matching MARC records during record imports.</dd>
84
                    <dt><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></dt>
84
                    <dt><a href="/cgi-bin/koha/admin/oai_sets.pl" id="OAIsets">OAI sets configuration</a></dt>
85
                    <dd>Manage OAI Sets</dd>
85
                    <dd>Manage OAI Sets</dd>
86
                    <dt><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></dt>
86
                    <dt><a href="/cgi-bin/koha/admin/items_search_fields.pl" id="searchfields">Item search fields</a></dt>
87
                    <dd>Manage custom fields for item search.</dd>
87
                    <dd>Manage custom fields for item search.</dd>
88
                    [% IF Koha.Preference('SearchEngine') == 'Elasticsearch' %]
88
                    [% IF Koha.Preference('SearchEngine') == 'Elasticsearch' %]
89
                        <dt><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration</a></dt>
89
                        <dt><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl" id="searchconfig">Search engine configuration</a></dt>
90
                        <dd>Manage indexes, facets, and their mappings to MARC fields and subfields.</dd>
90
                        <dd>Manage indexes, facets, and their mappings to MARC fields and subfields.</dd>
91
                    [% END %]
91
                    [% END %]
92
                </dl>
92
                </dl>
93
93
94
                <h3>Acquisition parameters</h3>
94
                <h3>Acquisition parameters</h3>
95
                <dl>
95
                <dl>
96
                        <dt><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></dt>
96
                        <dt><a href="/cgi-bin/koha/admin/currency.pl" id="currencyrates">Currencies and exchange rates</a></dt>
97
                        <dd>Define currencies and exchange rates used for acquisitions.</dd>
97
                        <dd>Define currencies and exchange rates used for acquisitions.</dd>
98
98
99
                        <dt><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></dt>
99
                        <dt><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl" id="budgets">Budgets</a></dt>
100
                        <dd>Define your budgets</dd>
100
                        <dd>Define your budgets</dd>
101
101
102
                        <dt><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></dt>
102
                        <dt><a href="/cgi-bin/koha/admin/aqbudgets.pl" id="funds">Funds</a></dt>
103
                        <dd>Define funds within your budgets</dd>
103
                        <dd>Define funds within your budgets</dd>
104
104
105
                        <dt><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></dt>
105
                        <dt><a href="/cgi-bin/koha/admin/edi_accounts.pl" id="EDIaccounts">EDI accounts</a></dt>
106
                        <dd>Manage vendor EDI accounts for import/export</dd>
106
                        <dd>Manage vendor EDI accounts for import/export</dd>
107
                        <dt><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></dt>
107
                        <dt><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl" id="libraryEAN">Library EANs</a></dt>
108
                        <dd>Manage library EDI EANs</dd>
108
                        <dd>Manage library EDI EANs</dd>
109
                </dl>
109
                </dl>
110
110
Lines 112-130 Link Here
112
                <dl>
112
                <dl>
113
                    <!-- <dt><a href="/cgi-bin/koha/admin/printers.pl">Network Printers</a></dt>
113
                    <!-- <dt><a href="/cgi-bin/koha/admin/printers.pl">Network Printers</a></dt>
114
                    <dd>Printers (UNIX paths).</dd> -->
114
                    <dd>Printers (UNIX paths).</dd> -->
115
                    <dt><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></dt>
115
                    <dt><a href="/cgi-bin/koha/admin/z3950servers.pl" id="z39.50server">Z39.50/SRU servers</a></dt>
116
                    <dd>Define which external servers to query for MARC data.</dd>
116
                    <dd>Define which external servers to query for MARC data.</dd>
117
                    <dt><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></dt>
117
                    <dt><a href="/cgi-bin/koha/admin/didyoumean.pl"id="didyoumean">Did you mean?</a></dt>
118
                    <dd>Choose which plugins to use to suggest searches to patrons and staff.</dd>
118
                    <dd>Choose which plugins to use to suggest searches to patrons and staff.</dd>
119
                    <dt><a href="/cgi-bin/koha/admin/columns_settings.pl">Configure columns</a></dt>
119
                    <dt><a href="/cgi-bin/koha/admin/columns_settings.pl" id="configurecolumns">Configure columns</a></dt>
120
                    <dd>Hide or show columns for tables.</dd>
120
                    <dd>Hide or show columns for tables.</dd>
121
                    <dt><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></dt>
121
                    <dt><a href="/cgi-bin/koha/admin/audio_alerts.pl" id="audioalerts">Audio alerts</a></dt>
122
                    <dd>Define which events trigger which sounds</dd>
122
                    <dd>Define which events trigger which sounds</dd>
123
                    [% IF Koha.Preference('SMSSendDriver') == 'Email' %]
123
                    [% IF Koha.Preference('SMSSendDriver') == 'Email' %]
124
                        <dt><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></dt>
124
                        <dt><a href="/cgi-bin/koha/admin/sms_providers.pl" id="smsproviders">SMS cellular providers</a></dt>
125
                        <dd>Define a list of cellular providers for sending SMS messages via email.</dd>
125
                        <dd>Define a list of cellular providers for sending SMS messages via email.</dd>
126
                    [% END %]
126
                    [% END %]
127
                    <dt><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share your usage statistics</a></dt>
127
                    <dt><a href="/cgi-bin/koha/admin/usage_statistics.pl" id="usagestats">Share your usage statistics</a></dt>
128
                    <dd>Share with the Koha community the usage statistics of your Koha installation.</dd>
128
                    <dd>Share with the Koha community the usage statistics of your Koha installation.</dd>
129
                </dl>
129
                </dl>
130
            </div>
130
            </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-2 / +2 lines)
Lines 56-62 $(document).ready(function() { Link Here
56
<body id="admin_authorised_values" class="admin">
56
<body id="admin_authorised_values" class="admin">
57
[% INCLUDE 'header.inc' %]
57
[% INCLUDE 'header.inc' %]
58
[% INCLUDE 'prefs-admin-search.inc' %]
58
[% INCLUDE 'prefs-admin-search.inc' %]
59
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF op == 'add_form' %] <a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a> &rsaquo; [% IF ( action_modify ) %]Modify authorized value[% END %]
59
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl" id="home">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Administration</a> &rsaquo; [% IF op == 'add_form' %] <a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a> &rsaquo; [% IF ( action_modify ) %]Modify authorized value[% END %]
60
	   [% IF ( action_add_value ) %]New authorized value[% END %]
60
	   [% IF ( action_add_value ) %]New authorized value[% END %]
61
	   [% IF ( action_add_category ) %]New category[% END %][% END %]
61
	   [% IF ( action_add_category ) %]New category[% END %][% END %]
62
[% IF op == 'list' %]Authorized values[% END %]</div>
62
[% IF op == 'list' %]Authorized values[% END %]</div>
Lines 156-162 $(document).ready(function() { Link Here
156
        [% END %]
156
        [% END %]
157
        </fieldset>
157
        </fieldset>
158
       <fieldset class="action"> <input type="hidden" name="id" value="[% id %]" />
158
       <fieldset class="action"> <input type="hidden" name="id" value="[% id %]" />
159
        <input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category | url %]">Cancel</a></fieldset>
159
        <input type="submit" value="Save" id="save" /> <a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category | url %]">Cancel</a></fieldset>
160
    </form>
160
    </form>
161
[% END %]
161
[% END %]
162
162
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-4 / +4 lines)
Lines 59-67 tinyMCE.init({ Link Here
59
[% INCLUDE 'prefs-admin-search.inc' %]
59
[% INCLUDE 'prefs-admin-search.inc' %]
60
60
61
<div id="breadcrumbs">
61
<div id="breadcrumbs">
62
    <a href="/cgi-bin/koha/mainpage.pl">Home</a>
62
    <a href="/cgi-bin/koha/mainpage.pl" id="home">Home</a>
63
&rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
63
&rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Administration</a>
64
&rsaquo; <a href="/cgi-bin/koha/admin/branches.pl">Libraries and groups</a>
64
&rsaquo; <a href="/cgi-bin/koha/admin/branches.pl" id="libraries">Libraries and groups</a>
65
[% IF op == 'add_form_category' %]
65
[% IF op == 'add_form_category' %]
66
&rsaquo; [% IF category.categorycode %]Edit group [% category.categorycode %][% ELSE %]New group[% END %]
66
&rsaquo; [% IF category.categorycode %]Edit group [% category.categorycode %][% ELSE %]New group[% END %]
67
[% ELSIF op == 'delete_confirm_category' %]
67
[% ELSIF op == 'delete_confirm_category' %]
Lines 196-202 tinyMCE.init({ Link Here
196
            </ol>
196
            </ol>
197
        </fieldset>
197
        </fieldset>
198
        <fieldset class="action">
198
        <fieldset class="action">
199
            <input type="submit" value="Submit" />
199
            <input type="submit" value="Submit" id="submit" />
200
            <a class="cancel" href="/cgi-bin/koha/admin/branches.pl">Cancel</a>
200
            <a class="cancel" href="/cgi-bin/koha/admin/branches.pl">Cancel</a>
201
        </fieldset>
201
        </fieldset>
202
    </form>
202
    </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt (-2 / +2 lines)
Lines 21-27 Link Here
21
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'patrons-admin-search.inc' %]
22
[% INCLUDE 'patrons-admin-search.inc' %]
23
23
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF op == 'add_form' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; [% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %]
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl" id="home">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Administration</a> &rsaquo; [% IF op == 'add_form' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; [% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %]
25
[% IF op == 'delete_confirm' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; [% IF ( patrons_in_category > 0 ) %]Cannot delete: Category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %]
25
[% IF op == 'delete_confirm' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; [% IF ( patrons_in_category > 0 ) %]Cannot delete: Category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %]
26
[% IF op == 'delete_confirmed' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; Category deleted[% END %]
26
[% IF op == 'delete_confirmed' %] <a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a> &rsaquo; Category deleted[% END %]
27
[% IF op == 'list' %]Patron categories[% END %]</div>
27
[% IF op == 'list' %]Patron categories[% END %]</div>
Lines 247-253 Link Here
247
            </fieldset>
247
            </fieldset>
248
        [% END %]
248
        [% END %]
249
        <fieldset class="action">
249
        <fieldset class="action">
250
            <input type="submit" value="Save" />
250
            <input type="submit" value="Save" id="save"/>
251
            <a href="/cgi-bin/koha/admin/categories.pl" class="cancel">Cancel</a>
251
            <a href="/cgi-bin/koha/admin/categories.pl" class="cancel">Cancel</a>
252
        </fieldset>
252
        </fieldset>
253
    </form>
253
    </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt (-3 / +3 lines)
Lines 23-30 Link Here
23
[% INCLUDE 'cities-admin-search.inc' %]
23
[% INCLUDE 'cities-admin-search.inc' %]
24
24
25
<div id="breadcrumbs">
25
<div id="breadcrumbs">
26
    <a href="/cgi-bin/koha/mainpage.pl">Home</a>
26
    <a href="/cgi-bin/koha/mainpage.pl" id="home">Home</a>
27
    &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
27
    &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Administration</a>
28
    &rsaquo; <a href="/cgi-bin/koha/admin/cities.pl">Cities</a>
28
    &rsaquo; <a href="/cgi-bin/koha/admin/cities.pl">Cities</a>
29
    [% IF op == 'add_form' %]
29
    [% IF op == 'add_form' %]
30
    &rsaquo; [% IF city.cityid %]Modify[% ELSE %]New[% END %] City
30
    &rsaquo; [% IF city.cityid %]Modify[% ELSE %]New[% END %] City
Lines 98-104 Link Here
98
        </fieldset>
98
        </fieldset>
99
99
100
        <fieldset class="action">
100
        <fieldset class="action">
101
            <input type="submit" value="Submit" />
101
            <input type="submit" value="Submit" id="submit"/>
102
            <a class="cancel" href="/cgi-bin/koha/admin/cities.pl">Cancel</a>
102
            <a class="cancel" href="/cgi-bin/koha/admin/cities.pl">Cancel</a>
103
        </fieldset>
103
        </fieldset>
104
    </form>
104
    </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/item_circulation_alerts.tt (-1 / +1 lines)
Lines 89-95 $(function(){ Link Here
89
<body id="admin_item_circulation_alerts" class="admin">
89
<body id="admin_item_circulation_alerts" class="admin">
90
[% INCLUDE 'header.inc' %]
90
[% INCLUDE 'header.inc' %]
91
[% INCLUDE 'prefs-admin-search.inc' %]
91
[% INCLUDE 'prefs-admin-search.inc' %]
92
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Item circulation alerts </div>
92
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl" id="home">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Administration</a> &rsaquo; Item circulation alerts </div>
93
93
94
<div id="doc3" class="yui-t1">
94
<div id="doc3" class="yui-t1">
95
95
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-2 / +2 lines)
Lines 60-66 Data deleted Link Here
60
[% INCLUDE 'header.inc' %]
60
[% INCLUDE 'header.inc' %]
61
[% INCLUDE 'prefs-admin-search.inc' %]
61
[% INCLUDE 'prefs-admin-search.inc' %]
62
62
63
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF op == 'add_form' %]
63
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl" id="home">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Administration</a> &rsaquo; [% IF op == 'add_form' %]
64
  [% IF itemtype %]
64
  [% IF itemtype %]
65
<a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a> &rsaquo; Modify item type '[% itemtype.itemtype %]'
65
<a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a> &rsaquo; Modify item type '[% itemtype.itemtype %]'
66
  [% ELSE %]
66
  [% ELSE %]
Lines 300-306 Item types administration Link Here
300
        </fieldset>
300
        </fieldset>
301
301
302
        <fieldset class="action">
302
        <fieldset class="action">
303
            <input type="submit" value="Save changes" />
303
            <input type="submit" value="Save changes" id="save"/>
304
            <a href="/cgi-bin/koha/admin/itemtypes.pl" class="cancel">Cancel</a>
304
            <a href="/cgi-bin/koha/admin/itemtypes.pl" class="cancel">Cancel</a>
305
        </fieldset>
305
        </fieldset>
306
    </form>
306
    </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-4 / +4 lines)
Lines 35-43 $(document).ready(function() { Link Here
35
[% INCLUDE 'prefs-admin-search.inc' %]
35
[% INCLUDE 'prefs-admin-search.inc' %]
36
36
37
<div id="breadcrumbs">
37
<div id="breadcrumbs">
38
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
38
         <a href="/cgi-bin/koha/mainpage.pl" id="home">Home</a>
39
&rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
39
&rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Administration</a>
40
&rsaquo; <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a>
40
&rsaquo; <a href="/cgi-bin/koha/admin/biblio_framework.pl" id="marcframeworks">MARC frameworks</a>
41
[% IF ( add_form ) %]
41
[% IF ( add_form ) %]
42
&rsaquo; <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode %]">[% IF framework %][% framework.frameworktext |html %] ([% framework.frameworkcode %])[% ELSE %]Default MARC framework[% END%]</a>
42
&rsaquo; <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode %]">[% IF framework %][% framework.frameworktext |html %] ([% framework.frameworkcode %])[% ELSE %]Default MARC framework[% END%]</a>
43
&rsaquo; [% action %] [% searchfield %]
43
&rsaquo; [% action %] [% searchfield %]
Lines 107-113 $(document).ready(function() { Link Here
107
        (if you select a value here, the indicators will be limited to the authorized value list)</li>
107
        (if you select a value here, the indicators will be limited to the authorized value list)</li>
108
</ol></fieldset> 
108
</ol></fieldset> 
109
    <fieldset class="action">
109
    <fieldset class="action">
110
        <input type="submit" value="Save changes" />
110
        <input type="submit" value="Save changes" id="save" />
111
        <a class="cancel" href="[% script_name %]?frameworkcode=[% framework.frameworkcode %]">Cancel</a>
111
        <a class="cancel" href="[% script_name %]?frameworkcode=[% framework.frameworkcode %]">Cancel</a>
112
    </fieldset>
112
    </fieldset>
113
    </form>
113
    </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-2 / +2 lines)
Lines 36-42 $(document).ready(function() { Link Here
36
[% INCLUDE 'header.inc' %]
36
[% INCLUDE 'header.inc' %]
37
[% INCLUDE 'prefs-admin-search.inc' %]
37
[% INCLUDE 'prefs-admin-search.inc' %]
38
38
39
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF ( display_list ) %]Patron attribute types[% ELSE %]<a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a>[% END %]
39
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl" id="home">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Administration</a> &rsaquo; [% IF ( display_list ) %]Patron attribute types[% ELSE %]<a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a>[% END %]
40
[% IF ( attribute_type_form ) %]
40
[% IF ( attribute_type_form ) %]
41
  [% IF ( edit_attribute_type ) %]
41
  [% IF ( edit_attribute_type ) %]
42
    &rsaquo; Modify patron attribute type
42
    &rsaquo; Modify patron attribute type
Lines 210-216 $(document).ready(function() { Link Here
210
    </ol>
210
    </ol>
211
  </fieldset>
211
  </fieldset>
212
  <fieldset class="action">
212
  <fieldset class="action">
213
      <input type="submit" value="Save" />
213
      <input type="submit" value="Save" id="save" />
214
    <a class="cancel" href="/cgi-bin/koha/admin/patron-attr-types.pl">Cancel</a>
214
    <a class="cancel" href="/cgi-bin/koha/admin/patron-attr-types.pl">Cancel</a>
215
  </fieldset>
215
  </fieldset>
216
</form>
216
</form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-2 / +2 lines)
Lines 113-119 $(document).ready(function() { Link Here
113
[% INCLUDE 'header.inc' %]
113
[% INCLUDE 'header.inc' %]
114
[% INCLUDE 'prefs-admin-search.inc' %]
114
[% INCLUDE 'prefs-admin-search.inc' %]
115
115
116
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Circulation and fine rules</div>
116
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl" id="home">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Administration</a> &rsaquo; Circulation and fine rules</div>
117
117
118
<div id="doc3" class="yui-t1">
118
<div id="doc3" class="yui-t1">
119
119
Lines 399-405 $(document).ready(function() { Link Here
399
                    <td><input type="text" name="rentaldiscount" id="rentaldiscount" size="2" /></td>
399
                    <td><input type="text" name="rentaldiscount" id="rentaldiscount" size="2" /></td>
400
                    <td class="actions">
400
                    <td class="actions">
401
                        <input type="hidden" name="branch" value="[% current_branch %]"/>
401
                        <input type="hidden" name="branch" value="[% current_branch %]"/>
402
                        <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
402
                        <button type="submit" class="btn btn-default btn-xs" id="save"><i class="fa fa-save"></i> Save</button>
403
                        <button name="cancel" class="clear_edit btn btn-default btn-xs"><i class="fa fa-undo"></i> Clear</button>
403
                        <button name="cancel" class="clear_edit btn btn-default btn-xs"><i class="fa fa-undo"></i> Clear</button>
404
                    </td>
404
                    </td>
405
                </tr>
405
                </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-2 / +2 lines)
Lines 93-99 Link Here
93
[% INCLUDE 'header.inc' %]
93
[% INCLUDE 'header.inc' %]
94
[% INCLUDE 'z3950-admin-search.inc' %]
94
[% INCLUDE 'z3950-admin-search.inc' %]
95
95
96
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;
96
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl" id="home">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Administration</a> &rsaquo;
97
<a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a>
97
<a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a>
98
[% IF op == 'edit' %]&rsaquo; Modify [% PROCESS ServerType %] server [% server.servername %][% END %]
98
[% IF op == 'edit' %]&rsaquo; Modify [% PROCESS ServerType %] server [% server.servername %][% END %]
99
[% IF op ==  'add' %]&rsaquo; New [% PROCESS ServerType %] server[% END %]
99
[% IF op ==  'add' %]&rsaquo; New [% PROCESS ServerType %] server[% END %]
Lines 212-218 Link Here
212
        </ol>
212
        </ol>
213
        </fieldset>
213
        </fieldset>
214
214
215
        <fieldset class="action"><input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/z3950servers.pl">Cancel</a></fieldset>
215
        <fieldset class="action"><input type="submit" value="Save" id="save"/> <a class="cancel" href="/cgi-bin/koha/admin/z3950servers.pl">Cancel</a></fieldset>
216
    </form>
216
    </form>
217
[% END %]
217
[% END %]
218
218
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-13 / +13 lines)
Lines 29-67 Link Here
29
                <ul class="biglinks-list">
29
                <ul class="biglinks-list">
30
                    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
30
                    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
31
                    <li>
31
                    <li>
32
                        <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
32
                        <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl" id="circulation">Circulation</a>
33
                    </li>
33
                    </li>
34
                    [% END %]
34
                    [% END %]
35
35
36
                    [% IF ( CAN_user_borrowers ) %]
36
                    [% IF ( CAN_user_borrowers ) %]
37
                    <li>
37
                    <li>
38
                        <a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
38
                        <a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl" id="patrons">Patrons</a>
39
                    </li>
39
                    </li>
40
                    [% END %]
40
                    [% END %]
41
41
42
                    [% IF ( CAN_user_catalogue ) %]
42
                    [% IF ( CAN_user_catalogue ) %]
43
                    <li>
43
                    <li>
44
                        <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a>
44
                        <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl" id="advancedsearch">Advanced search</a>
45
                    </li>
45
                    </li>
46
                    [% END %]
46
                    [% END %]
47
47
48
                    <li>
48
                    <li>
49
                        <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
49
                        <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl" id="lists">Lists</a>
50
                    </li>
50
                    </li>
51
51
52
                    [% IF ( UseCourseReserves ) %]
52
                    [% IF ( UseCourseReserves ) %]
53
                        <li>
53
                        <li>
54
                            <a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
54
                            <a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl" id="reserves">Course reserves</a>
55
                        </li>
55
                        </li>
56
                    [% END %]
56
                    [% END %]
57
57
58
                    [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
58
                    [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
59
                    <li>
59
                    <li>
60
                        <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
60
                        <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl" id="cataloguing">Cataloging</a>
61
                    </li>
61
                    </li>
62
                    [% END %]
62
                    [% END %]
63
                    <li>
63
                    <li>
64
                        <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
64
                        <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl" id="authorities">Authorities</a>
65
                    </li>
65
                    </li>
66
                </ul>
66
                </ul>
67
            </div><!-- /area-list-left -->
67
            </div><!-- /area-list-left -->
Lines 71-108 Link Here
71
                <ul class="biglinks-list">
71
                <ul class="biglinks-list">
72
                    [% IF ( CAN_user_serials ) %]
72
                    [% IF ( CAN_user_serials ) %]
73
                    <li>
73
                    <li>
74
                        <a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
74
                        <a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl" id="serials">Serials</a>
75
                        <span class="biglink"></span>
75
                        <span class="biglink"></span>
76
                    </li>
76
                    </li>
77
                    [% END %]
77
                    [% END %]
78
78
79
                    [% IF ( CAN_user_acquisition ) %]
79
                    [% IF ( CAN_user_acquisition ) %]
80
                    <li>
80
                    <li>
81
                        <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
81
                        <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl" id="acquisitions">Acquisitions</a>
82
                        <span class="biglink"></span>
82
                        <span class="biglink"></span>
83
                    </li>
83
                    </li>
84
                    [% END %]
84
                    [% END %]
85
85
86
                    [% IF ( CAN_user_reports ) %]
86
                    [% IF ( CAN_user_reports ) %]
87
                    <li>
87
                    <li>
88
                        <a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
88
                        <a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl" id="reports">Reports</a>
89
                    </li>
89
                    </li>
90
                    [% END %]
90
                    [% END %]
91
91
92
92
93
                    [% IF ( CAN_user_tools ) %]
93
                    [% IF ( CAN_user_tools ) %]
94
                    <li>
94
                    <li>
95
                        <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
95
                        <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl" id="tools">Tools</a>
96
                    </li>
96
                    </li>
97
                    [% END %]
97
                    [% END %]
98
98
99
                    [% IF ( CAN_user_parameters ) %]
99
                    [% IF ( CAN_user_parameters ) %]
100
                    <li>
100
                    <li>
101
                        <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a>
101
                        <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl" id="administration">Koha administration</a>
102
                    </li>
102
                    </li>
103
                    [% END %]
103
                    [% END %]
104
                    <li>
104
                    <li>
105
                        <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl">About Koha</a>
105
                        <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl" id="about">About Koha</a>
106
                    </li>
106
                    </li>
107
                </ul>
107
                </ul>
108
            </div><!-- /area-list-right -->
108
            </div><!-- /area-list-right -->
(-)a/t/db_dependent/selenium/administration_tasks.t (-88 / +84 lines)
Lines 38-43 my $password = 'koha'; Link Here
38
my $base_url= 'http://'.C4::Context->preference("staffClientBaseURL")."/cgi-bin/koha/";
38
my $base_url= 'http://'.C4::Context->preference("staffClientBaseURL")."/cgi-bin/koha/";
39
my $opac_url= C4::Context->preference("OPACBaseURL");
39
my $opac_url= C4::Context->preference("OPACBaseURL");
40
40
41
BEGIN {
42
    my $debug = $ENV{DEBUG};
43
}
44
41
my $number_of_biblios_to_insert = 0;
45
my $number_of_biblios_to_insert = 0;
42
our $sample_data = {
46
our $sample_data = {
43
    category => {
47
    category => {
Lines 77-94 SKIP: { Link Here
77
    t::lib::Selenium::time_diff($prev_time, "main");
81
    t::lib::Selenium::time_diff($prev_time, "main");
78
82
79
    # Navigate to the Administration area and create an item type
83
    # Navigate to the Administration area and create an item type
80
    $driver->find_element('//a[@href="/cgi-bin/koha/admin/admin-home.pl"]')->click;
84
    $driver->find_element('//a[@id="administration"]')->click;
81
#    t::lib::Selenium::pause_driver($driver, '/html/body/div[4]/div/div/div[2]/div[1]/dl[1]/dt[2]/a');
85
#    t::lib::Selenium::pause_driver($driver, '/html/body/div[4]/div/div/div[2]/div[1]/dl[1]/dt[2]/a');
82
#   $driver->pause(20000);
83
    $driver->pause(20000);
86
    $driver->pause(20000);
84
#    $driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[1]/dl[1]/dt[2]/a')->click;
87
    $driver->find_element('//a[@id="itemtypes"]')->click;
85
#   $$driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[1]/dl[1]/dt[2]/a')->click;
86
    $driver->pause(20000);
88
    $driver->pause(20000);
87
    $driver->find_element('//a[@id="newitemtype"]')->click;
89
    $driver->find_element('//a[@id="newitemtype"]')->click;
88
    $driver->pause(20000);
90
    $driver->pause(20000);
89
    $driver->find_element('//input[@id="itemtype"]')->send_keys("DVD");
91
    $driver->find_element('//input[@id="itemtype"]')->send_keys("DVD");
90
    $driver->find_element('//input[@id="description"]')->send_keys("Digital Optical Disc");
92
    $driver->find_element('//input[@id="description"]')->send_keys("Digital Optical Disc");
91
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[2]/input')->click;
93
    $driver->find_element('//input[@id="save"]')->click;
92
    if ( $driver->find_element('//a[@href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form&itemtype=DVD"]')) {
94
    if ( $driver->find_element('//a[@href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form&itemtype=DVD"]')) {
93
        t::lib::Selenium::time_diff($prev_time, "Item type successfully added");
95
        t::lib::Selenium::time_diff($prev_time, "Item type successfully added");
94
    } else {
96
    } else {
Lines 96-155 SKIP: { Link Here
96
    }
98
    }
97
99
98
    # Add circulation/fine rules
100
    # Add circulation/fine rules
99
    $driver->pause(20000);
101
    $driver->find_element('//a[@id="administration"]')->click;
100
    $driver->find_element('//input[@href="/cgi-bin/koha/admin/admin-home.pl"]')->click;
102
    $driver->find_element('//a[@id="circulationrules"]')->click;
101
    $driver->pause(20000);
103
    $driver->pause(20000);
102
    $driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[1]/dl[2]/dt[2]/a')->click;
104
    $driver->find_element('//input[@id="maxissueqty"]')->send_keys("5");
103
    $driver->pause(20000);
105
    $driver->find_element('//input[@id="maxonsiteissueqty"]')->send_keys("4");
104
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/form[3]/table/tbody/tr[2]/td[3]/input')->send_keys("5");
106
    $driver->find_element('//input[@id="renewalsallowed"]')->send_keys("4");
105
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/form[3]/table/tbody/tr[2]/td[4]/input')->send_keys("4");
107
    $driver->find_element('//input[@id="renewalperiod"]')->send_keys("10");
106
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/form[3]/table/tbody/tr[2]/td[16]/input')->send_keys("4");
108
    $driver->find_element('//input[@id="reservesallowed"]')->send_keys("4");
107
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/form[3]/table/tbody/tr[2]/td[17]/input')->send_keys("10");
109
    $driver->find_element('//input[@id="holds_per_record"]')->send_keys("4");
108
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/form[3]/table/tbody/tr[2]/td[22]/input')->send_keys("4");
110
    $driver->find_element('//button[@id="save"]')->click;
109
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/form[3]/table/tbody/tr[2]/td[23]/input')->send_keys("4");
110
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/form[3]/table/tbody/tr[2]/td[28]/button[1]')->click;
111
    t::lib::Selenium::time_diff($prev_time, "Circulation rule added");
111
    t::lib::Selenium::time_diff($prev_time, "Circulation rule added");
112
112
113
    # Modify frameworks
113
    # Modify frameworks
114
    $driver->pause(20000);
114
    $driver->pause(20000);
115
    $driver->find_element_by_xpath('/html/body/div[3]/a[2]')->click;
115
    $driver->find_element('//a[@id="administration"]')->click;
116
    $driver->pause(20000);
116
    $driver->pause(20000);
117
    $driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[2]/dl[1]/dt[1]/a')->click;
117
    $driver->find_element('//a[@id="marcframework"]')->click;
118
    $driver->pause(20000);
118
    $driver->pause(20000);
119
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/table/tbody/tr[5]/td[3]/div/a')->click;
119
    $driver->find_element('//a[@id="frameworkactionsFA"]')->click;
120
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/table/tbody/tr[5]/td[3]/div/ul/li[1]/a')->click;
120
    $driver->find_element('//a[@href="marctagstructure.pl?frameworkcode=FA"]')->click;
121
    $driver->pause(20000);
121
    $driver->pause(20000);
122
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/table/tbody/tr[3]/td[6]/div/a')->click;
122
    $driver->find_element('//a[@id="marctagactions010"]')->click;
123
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/table/tbody/tr[3]/td[6]/div/ul/li[3]/a')->click;
123
    $driver->find_element('//a[@href="/cgi-bin/koha/admin/marctagstructure.pl?op=delete_confirm&searchfield=010&frameworkcode=FA"]')->click;
124
    $driver->pause(20000);
124
    $driver->pause(20000);
125
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div/form[1]/button')->click;
125
    $driver->find_element('//button[@class="approve"]')->click;
126
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div/form/button')->click;
126
    $driver->find_element('//button[@class="approve"]')->click;
127
    $driver->pause(20000);
127
    $driver->pause(20000);
128
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[1]/a')->click;
128
    $driver->find_element('//a[@id="addtag"]')->click;
129
    $driver->pause(20000);
129
    $driver->pause(20000);
130
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[1]/input')->send_keys("092");
130
    $driver->find_element('//input[@id="tagfield"]')->send_keys("092");
131
   $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[2]/input')->send_keys("Local Dewey");
131
   $driver->find_element('//input[@id="liblibrarian"]')->send_keys("Local Dewey");
132
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[3]/input')->send_keys("Local Dewey");
132
    $driver->find_element('//input[@id="libopac"]')->send_keys("Local Dewey");
133
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[2]/input')->click;
133
    $driver->find_element('//input[@id="save"]')->click;
134
    $driver->pause(20000);
134
    $driver->pause(20000);
135
    t::lib::Selenium::time_diff($prev_time, "Added subfield to framework");
135
    t::lib::Selenium::time_diff($prev_time, "Added subfield to framework");
136
136
137
    #Add library
137
    #Add library
138
    $driver->get_title();
138
    $driver->find_element('//a[@id="administration"]')->click;
139
    $driver->find_element_by_xpath('/html/body/div[2]/h1/a')->click;
140
    $driver->pause(20000);
141
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[1]/div[2]/div/ul/li[5]/a')->click;
142
    $driver->pause(20000);
139
    $driver->pause(20000);
143
    $driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[1]/dl[1]/dt[1]/a')->click;
140
    $driver->find_element('//a[@id="libraries"]')->click;
144
    $driver->pause(20000);
141
    $driver->pause(20000);
145
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[1]/a[1]')->click;
142
    $driver->find_element('//a[@id="newbranch"]')->click;
146
    $driver->pause(20000);
143
    $driver->pause(20000);
147
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[1]/input')->send_keys("Test");
144
    $driver->find_element('//input[@id="branchcode"]')->send_keys("Test");
148
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[2]/input')->send_keys("Test library");
145
    $driver->find_element('//input[@id="branchname"]')->send_keys("Test library");
149
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[3]/input')->click;
146
    $driver->find_element('//input[@id="submit"]')->click;
150
    $driver->pause(20000);
147
    $driver->pause(20000);
151
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[3]/div[1]/div[2]/label/select')->click;
148
    $driver->find_element('//select[@name="branchest_length"]')->click;
152
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[3]/div[1]/div[2]/label/select/option[3]')->click;
149
    $driver->find_element('//option[@value="50"]')->click;
153
    if ($driver->find_element('//td[text()="Test library"]')) {
150
    if ($driver->find_element('//td[text()="Test library"]')) {
154
        t::lib::Selenium::time_diff($prev_time, "Library successfully added");
151
        t::lib::Selenium::time_diff($prev_time, "Library successfully added");
155
    } else {
152
    } else {
Lines 158-176 SKIP: { Link Here
158
155
159
156
160
#Add authorised values
157
#Add authorised values
161
    $driver->find_element_by_xpath('/html/body/div[3]/a[2]')->click;
158
    $driver->find_element('//a[@id="administration"]')->click;
162
    $driver->pause(20000);
159
    $driver->pause(20000);
163
    $driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[1]/dl[1]/dt[3]/a')->click;
160
    $driver->find_element('//a[@id="authorisedvalues"]')->click;
164
    $driver->pause(20000);
161
    $driver->pause(20000);
165
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/select')->click;
162
    $driver->find_element('//select[@id="searchfield"]')->click;
166
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/select/option[7]')->click;
163
    $driver->find_element('//option[@value="CCODE"]')->click;
167
    $driver->pause(20000);
164
    $driver->pause(20000);
168
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[1]/a[1]')->click;
165
    $driver->find_element('//a[@id="addauth"]')->click;
169
    $driver->pause(20000);
166
    $driver->pause(20000);
170
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[2]/input')->send_keys("HBK");
167
    $driver->find_element('//input[@id="authorised_value"]')->send_keys("HBK");
171
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[3]/input')->send_keys("Hardback");
168
    $driver->find_element('//input[@id="lib"]')->send_keys("Hardback");
172
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[4]/input')->send_keys("Hardcover");
169
    $driver->find_element('//input[@id="lib_opac"]')->send_keys("Hardcover");
173
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[2]/input[2]')->click;
170
    $driver->find_element('//input[@id="save"]')->click;
174
    if ($driver->find_element('//td[text()="HBK"]')) {
171
    if ($driver->find_element('//td[text()="HBK"]')) {
175
        t::lib::Selenium::time_diff($prev_time, "Authorised value successfully added");
172
        t::lib::Selenium::time_diff($prev_time, "Authorised value successfully added");
176
    } else {
173
    } else {
Lines 178-195 SKIP: { Link Here
178
    }
175
    }
179
176
180
#Patron category
177
#Patron category
181
    $driver->find_element_by_xpath('/html/body/div[3]/a[2]')->click;
178
    $driver->find_element('//a[@id="administration"]')->click;
182
    $driver->pause(20000);
179
    $driver->pause(20000);
183
    $driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[1]/dl[2]/dt[1]/a')->click;
180
    $driver->find_element('//a[@id="categories"]')->click;
184
    $driver->pause(20000);
181
    $driver->pause(20000);
185
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[1]/a')->click;
182
    $driver->find_element('//a[@id="newcategory"]')->click;
186
    $driver->pause(20000);
183
    $driver->pause(20000);
187
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[1]/input')->send_keys("AD");
184
    $driver->find_element('//input[@id="categorycode"]')->send_keys("AD");
188
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[2]/input')->send_keys("Adult");
185
    $driver->find_element('//input[@id="description"]')->send_keys("Adult");
189
    $driver->find_element_by_xpath("/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[3]/fieldset/ol/li[1]/input")->send_keys(12);
186
    $driver->find_element('//input[@id="enrolmentperiod"]')->send_keys(12);
190
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[10]/select')->click;
187
    $driver->find_element('//select[@id="category_type"]')->click;
191
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[10]/select/option[6]')->click;
188
    $driver->find_element('//option[@value="P"]')->click;
192
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[2]/input')->click;
189
    $driver->find_element('//input[@id="save"]')->click;
193
    $driver->pause(20000);
190
    $driver->pause(20000);
194
    if ($driver->find_element('//td[text()="AD"]')) {
191
    if ($driver->find_element('//td[text()="AD"]')) {
195
        t::lib::Selenium::time_diff($prev_time, "Patron category successfully added");
192
        t::lib::Selenium::time_diff($prev_time, "Patron category successfully added");
Lines 198-214 SKIP: { Link Here
198
    }
195
    }
199
196
200
#Add patron attribute type
197
#Add patron attribute type
201
    $driver->find_element_by_xpath('/html/body/div[3]/a[2]')->click;
198
    $driver->find_element('//a[@id="administration"]')->click;
202
    $driver->pause(20000);
199
    $driver->pause(20000);
203
    $driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[1]/dl[2]/dt[3]/a')->click;
200
    $driver->find_element('//a[@id="attributetypes"]')->click;
204
    $driver->pause(20000);
201
    $driver->pause(20000);
205
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/a')->click;
202
    $driver->find_element('//a[@id="newrule"]')->click;
206
    $driver->pause(20000);
203
    $driver->pause(20000);
207
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[1]/input')->send_keys("DL");
204
    $driver->find_element('//input[@id="code"]')->send_keys("DL");
208
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[2]/input')->send_keys("Driver's License");
205
    $driver->find_element('//input[@id="description"]')->send_keys("Driver's License");
209
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[11]/select')->click;
206
    $driver->find_element('//select[@id="category"]')->click;
210
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[11]/select/option[2]')->click;
207
    $driver->find_element('//option[@value="BOR_NOTES"]')->click;
211
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[2]/input')->click;
208
    $driver->find_element('//input[@id="save"]')->click;
212
    $driver->pause(20000);
209
    $driver->pause(20000);
213
    if ($driver->find_element('//td[text()="DL"]')) {
210
    if ($driver->find_element('//td[text()="DL"]')) {
214
        t::lib::Selenium::time_diff($prev_time, "Patron attribute type successfully added");
211
        t::lib::Selenium::time_diff($prev_time, "Patron attribute type successfully added");
Lines 217-235 SKIP: { Link Here
217
    }
214
    }
218
215
219
#Add Z39.50 target server
216
#Add Z39.50 target server
220
    $driver->find_element_by_xpath('/html/body/div[3]/a[2]')->click;
217
    $driver->find_element('//a[@id="administration"]')->click;
221
    $driver->pause(20000);
218
    $driver->pause(20000);
222
    $driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[2]/dl[3]/dt[1]/a')->click;
219
    $driver->find_element('//a[@id="z39.50server"]')->click;
223
    $driver->pause(20000);
220
    $driver->pause(20000);
224
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[1]/a[1]')->click;
221
    $driver->find_element('//a[@id="newserver"]')->click;
225
    $driver->pause(20000);
222
    $driver->pause(20000);
226
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[1]/input')->send_keys("University of London");
223
    $driver->find_element('//input[@id="servername"]')->send_keys("University of London");
227
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[2]/input')->send_keys("consull.ull.ac.uk");
224
    $driver->find_element('//input[@id="host"]')->send_keys("consull.ull.ac.uk");
228
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[3]/input')->send_keys(210);
225
    $driver->find_element('//input[@id="port"]')->send_keys(210);
229
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[4]/input')->send_keys("INNOPAC");
226
    $driver->find_element('//input[@id="db"]')->send_keys("INNOPAC");
230
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[9]/select')->click;
227
    $driver->find_element('//select[@id="syntax"]')->click;
231
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[9]/select/option[4]')->click;
228
    $driver->find_element('//option[@value="USMARC"]')->click;
232
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[2]/input')->click;
229
    $driver->find_element('//input[@id="save"]')->click;
233
    $driver->pause(20000);
230
    $driver->pause(20000);
234
    if ($driver->find_element('//td[text()="consull.ull.ac.uk:210"]')) {
231
    if ($driver->find_element('//td[text()="consull.ull.ac.uk:210"]')) {
235
        t::lib::Selenium::time_diff($prev_time, "Z39.50 target successfully added");
232
        t::lib::Selenium::time_diff($prev_time, "Z39.50 target successfully added");
Lines 238-261 SKIP: { Link Here
238
    }
235
    }
239
236
240
#Add item circulation alerts
237
#Add item circulation alerts
241
    $driver->find_element_by_xpath('/html/body/div[3]/a[2]')->click;
238
    $driver->find_element('//a[@id="administration"]')->click;
242
    $driver->pause(20000);
239
    $driver->pause(20000);
243
    $driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[1]/dl[2]/dt[6]/a')->click;
240
    $driver->find_element('//a[@id="circulationalters"]')->click;
244
    $driver->pause(20000);
241
    $driver->pause(20000);
245
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[2]/div[1]/table/tbody/tr[1]/td[1]')->click;
242
    $driver->find_element('//td[@id="B-BK-CHECKOUT"]')->click;
246
    t::lib::Selenium::time_diff($prev_time, "Added item circulation alert");
243
    t::lib::Selenium::time_diff($prev_time, "Added item circulation alert");
247
244
248
#Add city
245
#Add city
249
    $driver->find_element_by_xpath('/html/body/div[3]/a[2]')->click;
246
    $driver->find_element('//a[@id="administration"]')->click;
250
    $driver->pause(20000);
247
    $driver->pause(20000);
251
    $driver->find_element_by_xpath('/html/body/div[4]/div/div/div[2]/div[1]/dl[2]/dt[7]/a')->click;
248
    $driver->find_element('//a[@id="cities"]')->click;
252
    $driver->pause(20000);
249
    $driver->pause(20000);
253
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/div[1]/a')->click;
250
    $driver->find_element('//a[@id="newcity"]')->click;
254
    $driver->pause(20000);
251
    $driver->pause(20000);
255
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[1]/input')->send_keys("Wellington");
252
    $driver->find_element('//input[@id="city_name"]')->send_keys("Wellington");
256
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[3]/input')->send_keys(6011);
253
    $driver->find_element('//input[@id="city_zipcode"]')->send_keys(6011);
257
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[1]/ol/li[4]/input')->send_keys("New Zealand");
254
    $driver->find_element('//input[@id="city_country"]')->send_keys("New Zealand");
258
    $driver->find_element_by_xpath('/html/body/div[4]/div/div[1]/div/form/fieldset[2]/input')->click;
255
    $driver->find_element('//input[@id="submit"]')->click;
259
    $driver->pause(20000);
256
    $driver->pause(20000);
260
    if ($driver->find_element('//td[text()="Wellington"]')) {
257
    if ($driver->find_element('//td[text()="Wellington"]')) {
261
        t::lib::Selenium::time_diff($prev_time, "City successfully added");
258
        t::lib::Selenium::time_diff($prev_time, "City successfully added");
262
- 

Return to bug 19243