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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/dictionary-toolbar.inc (-21 lines)
Lines 1-21 Link Here
1
<div id="toolbar">
2
	<script type="text/javascript">
3
	//<![CDATA[
4
5
	// prepare DOM for YUI Toolbar
6
7
	 $(document).ready(function() {
8
	    yuiToolbar();
9
	 });
10
11
	// YUI Toolbar Functions
12
13
	function yuiToolbar() {
14
	    new YAHOO.widget.Button("newdictionary");
15
	}
16
17
	//]]>
18
	</script>
19
	<ul class="toolbar">
20
    <li><a id="newdictionary" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition">New definition</a></li>
21
</ul></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt (-2 / +5 lines)
Lines 22-28 Link Here
22
<div id="yui-main">
22
<div id="yui-main">
23
<div class="yui-b">
23
<div class="yui-b">
24
[% IF ( start_dictionary ) %]
24
[% IF ( start_dictionary ) %]
25
[% INCLUDE 'dictionary-toolbar.inc' %]
25
    <div id="toolbar">
26
        <ul class="toolbar">
27
            <li><a id="newdictionary" class="btn btn-small" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition"><i class="icon-plus"></i> New definition</a></li>
28
        </ul>
29
    </div>
26
[% END %]
30
[% END %]
27
<h1>Dictionary</h1>
31
<h1>Dictionary</h1>
28
[% IF ( start_dictionary ) %]
32
[% IF ( start_dictionary ) %]
29
- 

Return to bug 9624