[SIGNED-OFF]Bug 2780 - Capitalize strings consistently (tools)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / koha-news.tt
index 313701b..ce64053 100644 (file)
@@ -17,23 +17,25 @@ $(document).ready(function() {
 <script language="javascript" type="text/javascript">
 tinyMCE.init({
     mode : "textareas",
-        theme : "advanced",
+    theme : "advanced",
+    content_css : "[% themelang %]/css/tinymce.css",
     plugins : "table,save,advhr,advlink,iespell,searchreplace,print,contextmenu",
-        theme_advanced_disable : "underline,strikethrough,styleselect,image",
-    theme_advanced_buttons1_add_before : "save,separator",
-    theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
-    theme_advanced_buttons3_add_before : "tablecontrols,separator",
-    theme_advanced_buttons3_add : "iespell,advhr,separator,print",
+    theme_advanced_buttons1 : "save,|,bold,italic,|,cut,copy,paste,|,search,replace,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,|,link,unlink,anchor,cleanup,help,code,advhr,|,print",
+    theme_advanced_buttons2 : "tablecontrols,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,removeformat,|,visualaid,|,sub,sup,|,charmap",
+    theme_advanced_buttons3 : "",
     theme_advanced_toolbar_location : "top",
     theme_advanced_toolbar_align : "left",
     theme_advanced_path_location : "bottom",
+    theme_advanced_resizing : true,
     plugin_insertdate_dateFormat : "%Y-%m-%d",
     plugin_insertdate_timeFormat : "%H:%M:%S",
-    apply_source_formatting : true
+    apply_source_formatting : true,
+    height : "300",
+    width : "700"
 });
 </script>
 </head>
-<body>
+<body id="tools_koha-news" class="tools">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'cat-search.inc' %]
 
@@ -69,9 +71,9 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div>
             <input type="hidden" name="op" value="[% op %]" />
             <input type="hidden" name="id" value="[% id %]" />
                        <fieldset class="rows">
-                       <legend>OPAC and Koha News</legend>
+            <legend>OPAC and Koha news</legend>
            <ol> <li>
-            <label for="lang">Display Location</label>
+            <label for="lang">Display location</label>
             <select id="lang" name="lang">
                 <option value="koha">Librarian interface</option>
                 [% IF ( slip ) %]<option value="slip" selected="selected">Slip</option>[% ELSE %]<option value="slip">Slip</option>[% END %]
@@ -87,7 +89,7 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div>
             <li>
                 <label for="timestamp">Publication date</label>
                 <input id="timestamp" type="text" name="timestamp" size="15" value="[% new_detail.timestamp %]" />
-                <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="timestampButton" style="cursor: pointer;" />
+                <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show calendar" border="0" id="timestampButton" style="cursor: pointer;" />
                 <script type="text/javascript">
                     Calendar.setup(
                     {
@@ -102,7 +104,7 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div>
             <li>
                 <label for="expirationdate">Expiration date</label>
                 <input id="expirationdate" type="text" name="expirationdate" size="15" value="[% new_detail.expirationdate %]" />
-                <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="openCalendar" style="cursor: pointer;" />
+                <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show calendar" border="0" id="openCalendar" style="cursor: pointer;" />
                 <script type="text/javascript">
                     Calendar.setup(
                     {
@@ -132,7 +134,7 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div>
     [% ELSE %]
         <div style="margin-bottom:5px;">
         <form name="add_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl" >
-            <label for="lang">Display Location:</label>
+            <label for="lang">Display location:</label>
             <select name="lang" id="lang">
             <option value="">All</option>
             <option value="koha">Librarian interface</option>
@@ -157,8 +159,8 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div>
                         <th>&nbsp;</th>
                         <th>Location</th>
                         <th>Number</th>
-                        <th>Creation&nbsp;Date</th>
-                        <th>Expiration&nbsp;Date</th>
+                        <th>Creation date</th>
+                        <th>Expiration date</th>
                         <th>Title</th>
                         <th>News</th>
                         <th>&nbsp;</th>