(bug #4135) fix aqplan form

This fix the form to have always the submit button, and fix security issue in aqplan.pl(authnotrequired set to 1)

Conflicts solved:

	koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tmpl

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Henri-Damien LAURENT 2010-02-16 16:30:00 +01:00 committed by Galen Charlton
parent 2dc5cb56db
commit 9d6df13554
2 changed files with 2 additions and 4 deletions

View File

@ -47,7 +47,7 @@ my ( $template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user
{ template_name => "admin/aqplan.tmpl",
query => $input,
type => "intranet",
authnotrequired => 1,
authnotrequired => 0,
flagsrequired => { acquisition => 'planning_manage' },
debug => 1,
}
@ -486,4 +486,4 @@ sub _print_to_csv {
my $str = $csv->string;
print "$str\n";
}
}
}

View File

@ -135,7 +135,6 @@ Budget & Fund Planning
<td></td>
</tr>
<!-- TMPL_UNLESS name="budget_period_locked" -->
<tr><td>
<!-- TMPL_IF NAME="show_actual" -->
<input type="checkbox" id="show_actual" name="show_actual" value="1" checked="checked" />
@ -146,7 +145,6 @@ Budget & Fund Planning
</td>
<td></td>
</tr>
<!-- /TMPL_UNLESS -->
</table>
</fieldset>