Merge branch 'bug_9641' into 3.12-master

This commit is contained in:
Jared Camins-Esakov 2013-02-18 09:05:51 -05:00
commit 4ad8e4116f

View file

@ -55,24 +55,11 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
[% UNLESS ( add_form ) %]
<div id="toolbar">
<script type="text/javascript">
//<![CDATA[
// prepare DOM for YUI Toolbar
$(document).ready(function() {
yuiToolbar();
});
// YUI Toolbar Functions
function yuiToolbar() {
new YAHOO.widget.Button("newentry");
}
//]]>
</script>
<ul class="toolbar">
<li><a id="newentry" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New Entry</a></li>
</ul></div>
<div id="toolbar" class="btn-toolbar">
<a class="btn btn-small" id="newentry" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form"><i class="icon-plus"></i> New entry</a>
</div>
[% END %]
[% IF ( add_form ) %]