Lines 406-411
NAME="name" -->"><!-- TMPL_VAR NAME="name"--></label></td><td>
Link Here
|
406 |
<!-- /TMPL_IF --> |
406 |
<!-- /TMPL_IF --> |
407 |
|
407 |
|
408 |
<!-- TMPL_IF NAME="save" --> |
408 |
<!-- TMPL_IF NAME="save" --> |
|
|
409 |
<script type="text/javascript"> |
410 |
//<![CDATA[ |
411 |
function check(f) { |
412 |
if (f.reportname.value == "") { |
413 |
alert(_("You must specify a Report name.")); |
414 |
return false; |
415 |
} |
416 |
f.submit(); |
417 |
} |
418 |
//]]> |
419 |
</script> |
409 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
420 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
410 |
<input type="hidden" name="sql" value="<!-- TMPL_VAR NAME="sql" ESCAPE="html" -->" /> |
421 |
<input type="hidden" name="sql" value="<!-- TMPL_VAR NAME="sql" ESCAPE="html" -->" /> |
411 |
<input type="hidden" name="type" value="<!-- TMPL_VAR NAME="type" -->" /> |
422 |
<input type="hidden" name="type" value="<!-- TMPL_VAR NAME="type" -->" /> |
Lines 416-422
NAME="name" -->"><!-- TMPL_VAR NAME="name"--></label></td><td>
Link Here
|
416 |
<li><label for="notes">Notes:</label> <textarea name="notes" id="notes"></textarea></li> |
427 |
<li><label for="notes">Notes:</label> <textarea name="notes" id="notes"></textarea></li> |
417 |
</ol></fieldset> |
428 |
</ol></fieldset> |
418 |
<fieldset class="action"><input type="hidden" name="phase" value="Save Report" /> |
429 |
<fieldset class="action"><input type="hidden" name="phase" value="Save Report" /> |
419 |
<input type="submit" name="submit" value="Save Report" /></fieldset> |
430 |
<input type="button" value="Save" onclick="check(this.form);"/></fieldset> |
420 |
</form> |
431 |
</form> |
421 |
<!-- /TMPL_IF --> |
432 |
<!-- /TMPL_IF --> |
422 |
|
433 |
|
Lines 531-536
Sub report:<select name="subreport">
Link Here
|
531 |
<!-- /TMPL_IF --> |
542 |
<!-- /TMPL_IF --> |
532 |
|
543 |
|
533 |
<!-- TMPL_IF NAME="editsql" --> |
544 |
<!-- TMPL_IF NAME="editsql" --> |
|
|
545 |
<script type="text/javascript"> |
546 |
//<![CDATA[ |
547 |
function check(f) { |
548 |
if (f.reportname.value == "") { |
549 |
alert(_("You must specify a Report name.")); |
550 |
return false; |
551 |
} |
552 |
f.submit(); |
553 |
} |
554 |
//]]> |
555 |
</script> |
534 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
556 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="post"> |
535 |
<input type="hidden" name="phase" value="Update SQL" /> |
557 |
<input type="hidden" name="phase" value="Update SQL" /> |
536 |
<input type="hidden" name="id" value="<!-- TMPL_VAR NAME="id" -->"/> |
558 |
<input type="hidden" name="id" value="<!-- TMPL_VAR NAME="id" -->"/> |
Lines 544-550
Sub report:<select name="subreport">
Link Here
|
544 |
</fieldset> |
566 |
</fieldset> |
545 |
|
567 |
|
546 |
<fieldset class="action"> |
568 |
<fieldset class="action"> |
547 |
<input type="submit" name="submit" value="Update SQL" /></fieldset> |
569 |
<input type="button" value="Update SQL" onclick="check(this.form);" /></fieldset> |
548 |
</form> |
570 |
</form> |
549 |
|
571 |
|
550 |
|
572 |
|
551 |
- |
|
|