|
Lines 55-78
Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div>
Link Here
|
| 55 |
<div id="bd"> |
55 |
<div id="bd"> |
| 56 |
<div id="yui-main"> |
56 |
<div id="yui-main"> |
| 57 |
<div class="yui-b"> |
57 |
<div class="yui-b"> |
| 58 |
|
58 |
|
| 59 |
[% UNLESS ( add_form ) %] |
59 |
[% UNLESS ( add_form ) %] |
| 60 |
<div id="toolbar"> |
60 |
<div id="toolbar" class="btn-toolbar"> |
| 61 |
<script type="text/javascript"> |
61 |
<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> |
| 62 |
//<![CDATA[ |
62 |
</div> |
| 63 |
// prepare DOM for YUI Toolbar |
|
|
| 64 |
$(document).ready(function() { |
| 65 |
yuiToolbar(); |
| 66 |
}); |
| 67 |
// YUI Toolbar Functions |
| 68 |
function yuiToolbar() { |
| 69 |
new YAHOO.widget.Button("newentry"); |
| 70 |
} |
| 71 |
//]]> |
| 72 |
</script> |
| 73 |
<ul class="toolbar"> |
| 74 |
<li><a id="newentry" href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New Entry</a></li> |
| 75 |
</ul></div> |
| 76 |
[% END %] |
63 |
[% END %] |
| 77 |
|
64 |
|
| 78 |
[% IF ( add_form ) %] |
65 |
[% IF ( add_form ) %] |
| 79 |
- |
|
|