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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-5 / +16 lines)
Lines 24-29 Link Here
24
            "iDisplayLength": 10,
24
            "iDisplayLength": 10,
25
            "sPaginationType": "four_button"
25
            "sPaginationType": "four_button"
26
        }));
26
        }));
27
28
        [% IF ( heading_branches_add_branch_p ) %]
29
            $("#Aform").on("submit", function( event ) {
30
                if ( $("#branchcode").val().match(/\s/) ) {
31
                    event.preventDefault();
32
                    alert(_("The library code entered contains whitespace characters. Please remove any whitespace characters from the library code"));
33
                    return false;
34
                } else {
35
                    return true;
36
                }
37
            });
38
        [% END %]
27
    });
39
    });
28
tinyMCE.init({
40
tinyMCE.init({
29
    mode : "textareas",
41
    mode : "textareas",
Lines 62-68 tinyMCE.init({ Link Here
62
</div>
74
</div>
63
75
64
<div id="doc3" class="yui-t2">
76
<div id="doc3" class="yui-t2">
65
   
77
66
   <div id="bd">
78
   <div id="bd">
67
	<div id="yui-main">
79
	<div id="yui-main">
68
	<div class="yui-b">
80
	<div class="yui-b">
Lines 247-253 tinyMCE.init({ Link Here
247
	[% ELSE %]
259
	[% ELSE %]
248
	<div class="dialog message">There are no libraries defined. <a href="/cgi-bin/koha/admin/branches.pl?op=add">Start defining libraries</a>.</div>
260
	<div class="dialog message">There are no libraries defined. <a href="/cgi-bin/koha/admin/branches.pl?op=add">Start defining libraries</a>.</div>
249
	[% END %]
261
	[% END %]
250
    
262
251
   [% IF ( branchcategories ) %]
263
   [% IF ( branchcategories ) %]
252
   [% FOREACH branchcategorie IN branchcategories %]
264
   [% FOREACH branchcategorie IN branchcategories %]
253
    <h3>Group(s):  [% IF ( branchcategorie.properties ) %]Properties[% ELSE %][% IF ( branchcategorie.searchdomain ) %]Search domain[% END %][% END %]</h3>
265
    <h3>Group(s):  [% IF ( branchcategorie.properties ) %]Properties[% ELSE %][% IF ( branchcategorie.searchdomain ) %]Search domain[% END %][% END %]</h3>
Lines 297-303 tinyMCE.init({ Link Here
297
	<input type="hidden" name="add" value="1">
309
	<input type="hidden" name="add" value="1">
298
	[% END %]
310
	[% END %]
299
    <fieldset class="rows">
311
    <fieldset class="rows">
300
        
312
301
        <ol><li>
313
        <ol><li>
302
                [% IF ( categorycode ) %]
314
                [% IF ( categorycode ) %]
303
				<span class="label">Category code: </span>
315
				<span class="label">Category code: </span>
Lines 344-350 tinyMCE.init({ Link Here
344
356
345
[% IF ( delete_category ) %]
357
[% IF ( delete_category ) %]
346
    [% UNLESS ( MESSAGE8 ) %]
358
    [% UNLESS ( MESSAGE8 ) %]
347
    <div class="dialog message"> 
359
    <div class="dialog message">
348
    Confirm delete:
360
    Confirm delete:
349
    <form action="[% action %]" method="post">
361
    <form action="[% action %]" method="post">
350
        <input type="hidden" name="op" value="categorydelete_confirmed" />
362
        <input type="hidden" name="op" value="categorydelete_confirmed" />
351
- 

Return to bug 13441