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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt (-2 / +3 lines)
Lines 23-28 Link Here
23
[% END %]
23
[% END %]
24
<script language="javascript" type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce.js"></script>
24
<script language="javascript" type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce.js"></script>
25
<script type="text/javascript">//<![CDATA[
25
<script type="text/javascript">//<![CDATA[
26
var MSG_CONFIRM_DELETE_NEWS  = _("Are you sure you want to delete the selected news?");
27
26
tinyMCE.init({
28
tinyMCE.init({
27
    mode : "textareas",
29
    mode : "textareas",
28
    theme : "advanced",
30
    theme : "advanced",
Lines 130-136 Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div> Link Here
130
        </form>
132
        </form>
131
        </div>
133
        </div>
132
        [% IF ( opac_news_count ) %]
134
        [% IF ( opac_news_count ) %]
133
        <form name="del_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl" onsubmit="return confirm('Are you sure you want to delete the selected news?')">
135
        <form name="del_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl" onsubmit='return confirm(MSG_CONFIRM_DELETE_NEWS)'>
134
                <table id="newst">
136
                <table id="newst">
135
                   <thead> <tr>
137
                   <thead> <tr>
136
                        <th>&nbsp;</th>
138
                        <th>&nbsp;</th>
137
- 

Return to bug 10871