Merge branch 'bug_8977' into 3.12-master
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / aqplan.tt
index f6f92ae..59e9121 100644 (file)
@@ -1,7 +1,6 @@
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Administration &rsaquo; Budgets &rsaquo; Funds &rsaquo; Planning for [% budget_period_description %] by [% authcat %]</title>
 [% INCLUDE 'doc-head-close.inc' %]
-[% INCLUDE 'calendar.inc' %]
 <script type="text/javascript" src="[% themelang %]/js/acq.js"></script>
 <script type="text/javascript">
 //<![CDATA[
@@ -15,7 +14,7 @@
             var arr = document.getElementsByName('est_total')
 
             for ( var i=0, len=arr.length; i<len; ++i ){
-                    var tot = arr[i].innerhtml;
+                    var tot = arr[i].innerHTML;
 
                     if (tot == 'NaN') {
                         _alertString += "\n- " + _("One or more cell values is non-numeric");
@@ -66,7 +65,7 @@ YAHOO.util.Event.onAvailable("popmenu", function () {
 </script>
 <style type="text/css">td.locked { background-image: url('/intranet-tmpl/prog/img/locked.png'); padding-left : 20px; background-repeat: no-repeat; background-position: 4% 50%; } a.control { font-size:85%;text-decoration:none; }</style>
 </head>
-<body>
+<body id="admin_aqplan" class="admin">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'budgets-admin-search.inc' %]
 
@@ -117,7 +116,7 @@ YAHOO.util.Event.onAvailable("popmenu", function () {
          [% IF ( authvals_ro.display ) %]
             <th id="col[% authvals_ro.code %]" class="[% authvals_ro.colnum %]">
         [% ELSE %]
-            <th id="col[% authvals_ro.code %]" styl="display:none;" class="[% authvals_ro.colnum %]">
+            <th id="col[% authvals_ro.code %]" style="display:none;" class="[% authvals_ro.colnum %]">
         [% END %]
 
     [% authvals_ro.code %]</th>
@@ -145,8 +144,12 @@ YAHOO.util.Event.onAvailable("popmenu", function () {
     <tbody>
     [% FOREACH budget_line IN budget_lines %]
     [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
-
-        <td align="left"[% IF ( budget_line.budget_lock ) %] class="locked" title="Fund locked"[% END %]><a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&amp;budget_id=[% budget_line.budget_id %]&amp;budget_period_id=[% budget_line.budget_period_id %]">[% budget_line.budget_name_indent %]</a></td>
+        [% IF ( budget_line.budget_lock ) %]
+            <td align="left" class="locked" title="Fund locked">
+        [% ELSE %]
+            <td align="left">
+        [% END %]
+        <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&amp;budget_id=[% budget_line.budget_id %]&amp;budget_period_id=[% budget_line.budget_period_id %]">[% budget_line.budget_name_indent %]</a></td>
         <td><span id="budget_tot_formatted_[% budget_line.budget_id %]">[% budget_line.budget_amount_formatted %]&nbsp;</span>