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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-23 / +4 lines)
Lines 127-153 Item types administration Link Here
127
	<div id="yui-main">
127
	<div id="yui-main">
128
	<div class="yui-b">
128
	<div class="yui-b">
129
	
129
	
130
[% IF ( else ) %]<div id="toolbar">
130
[% IF ( else ) %]<div id="toolbar" class="btn-toolbar">
131
	<script type="text/javascript">
131
    <a class="btn btn-small" id="newitemtype" href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form"><i class="icon-plus"></i> New item type</a>
132
	//<![CDATA[
132
</div>[% END %]
133
134
	// prepare DOM for YUI Toolbar
135
136
	 $(document).ready(function() {
137
	    yuiToolbar();
138
	 });
139
140
	// YUI Toolbar Functions
141
142
	function yuiToolbar() {
143
	    new YAHOO.widget.Button("newitemtype");
144
	}
145
146
	//]]>
147
	</script>
148
	<ul class="toolbar">
149
    <li><a id="newitemtype" href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form">New item type</a></li>
150
</ul></div>[% ELSE %]&nbsp;[% END %]
151
133
152
[% IF ( add_form ) %]
134
[% IF ( add_form ) %]
153
  [% IF ( itemtype ) %]
135
  [% IF ( itemtype ) %]
Lines 254-260 Item types administration Link Here
254
    </fieldset>
236
    </fieldset>
255
237
256
    <fieldset class="action">
238
    <fieldset class="action">
257
      <input type="button" value="Save Changes" onclick="Check(this.form)" />
239
      <input type="button" value="Save changes" onclick="Check(this.form)" />
258
	  <a href="/cgi-bin/koha/admin/itemtypes.pl" class="cancel">Cancel</a>
240
	  <a href="/cgi-bin/koha/admin/itemtypes.pl" class="cancel">Cancel</a>
259
    </fieldset>
241
    </fieldset>
260
</form>
242
</form>
261
- 

Return to bug 9633