Fix for Bug 6370 - news showing that it's for the opac when it's for the librarian...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / koha-news.tt
index 7705e44..fbe4b4a 100644 (file)
@@ -20,9 +20,9 @@ tinyMCE.init({
         theme : "advanced",
     plugins : "table,save,advhr,advlink,iespell,searchreplace,print,contextmenu",
         theme_advanced_disable : "underline,strikethrough,styleselect,image",
-    theme_advanced_buttons1_add_before : "savecommaseparator",
+    theme_advanced_buttons1_add_before : "save,separator",
     theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
-    theme_advanced_buttons3_add_before : "tablecontrolscommaseparator",
+    theme_advanced_buttons3_add_before : "tablecontrols,separator",
     theme_advanced_buttons3_add : "iespell,advhr,separator,print",
     theme_advanced_toolbar_location : "top",
     theme_advanced_toolbar_align : "left",
@@ -172,10 +172,10 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div>
                             <td>
                                 <input type="checkbox" name="ids" value="[% opac_new.idnew %]" />
                             </td>
-                            <td>[% IF ( lang == 'koha' ) %]
+                            <td>[% IF ( opac_new.lang == 'koha' ) %]
                                    Librarian interface
                                  [% ELSE %]
-                                    [% IF ( lang == 'slip' ) %]
+                                    [% IF ( opac_new.lang == 'slip' ) %]
                                        Slip
                                     [% ELSE %]
                                         OPAC