Bug 27531: Remove type attribute from script tags: Cataloging plugins
This patch removes the no-longer-valid "type" attribute from script tags
found in cataloging plugin templates.
I don't think testing each plugin individually is a reasonable thing to
ask for a test. I think a visual verification of the changes in the
patch should be enough.
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 32d4821307)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
8ae3c07f01
commit
f656ab418d
|
|
@ -4,7 +4,7 @@
|
|||
<head>
|
||||
<title>Gestion des index MACLES</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
//<![CDATA[
|
||||
|
||||
$(document).ready(function() {
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
[% END %]
|
||||
</div>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
//<![CDATA[
|
||||
function Activate(numlayer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
[% Asset.js("js/xmlControlfield.js") | $raw %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var objXmlControlField;
|
||||
var tr_result;
|
||||
var h4_result;
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -716,7 +716,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -325,7 +325,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@
|
|||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
[% IF ( fillinput ) %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function go() {
|
||||
|
||||
var index_start = "[% index | html %]";
|
||||
|
|
@ -207,7 +207,7 @@
|
|||
window.close();
|
||||
</script>
|
||||
[% ELSE %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report(value2report) {
|
||||
if (document.f_pop.result.value.length == 0) {
|
||||
document.f_pop.result.value = value2report;
|
||||
|
|
@ -224,7 +224,7 @@
|
|||
}
|
||||
</script>
|
||||
[% END %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function jumpfull(page){
|
||||
window.open(page,'','width=100,height=100,toolbar=false,scrollbars=yes');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Avbryt</a></fieldset>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
//<![CDATA[
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@
|
|||
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
<script>//<![CDATA[
|
||||
|
||||
function RedrawChoices(typ){
|
||||
var divOutput=document.getElementById("choices");
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@
|
|||
</table>
|
||||
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Avbryt</a></fieldset>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
//<![CDATA[
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
|
|
|
|||
|
|
@ -687,7 +687,7 @@ languages and obsolete typography)</option>
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -352,7 +352,7 @@ languages and obsolete typography)</option>
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -1137,7 +1137,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ supplement)</option>
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -595,7 +595,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
document.f_pop.f5.value=document.f_pop.f5.value+' ';
|
||||
document.f_pop.f5.value=document.f_pop.f5.value.substring(0,3);
|
||||
|
|
|
|||
|
|
@ -1192,7 +1192,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
document.f_pop.f2.value=document.f_pop.f2.value+' ';
|
||||
document.f_pop.f2.value=document.f_pop.f2.value.substring(0,3);
|
||||
|
|
|
|||
|
|
@ -639,7 +639,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
document.f_pop.f10.value=document.f_pop.f10.value+' ';
|
||||
document.f_pop.f10.value=document.f_pop.f10.value.substring(0,4);
|
||||
|
|
|
|||
|
|
@ -1590,7 +1590,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -813,7 +813,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -1126,7 +1126,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -339,7 +339,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
document.f_pop.f3.value=document.f_pop.f3.value+' ';
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
document.f_pop.f2.value=document.f_pop.f2.value+' ';
|
||||
document.f_pop.f3.value=document.f_pop.f3.value+' ';
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
document.f_pop.f2.value=document.f_pop.f2.value+' ';
|
||||
document.f_pop.f3.value=document.f_pop.f3.value+' ';
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
document.f_pop.f2.value=document.f_pop.f2.value+' ';
|
||||
document.f_pop.f3.value=document.f_pop.f3.value+' ';
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
document.f_pop.f2.value=document.f_pop.f2.value+' ';
|
||||
document.f_pop.f3.value=document.f_pop.f3.value+' ';
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
document.f_pop.f2.value=document.f_pop.f2.value+' ';
|
||||
document.f_pop.f3.value=document.f_pop.f3.value+' ';
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var f2= "000" + document.f_pop.f2.value;
|
||||
f2 = f2.substring(f2.length-3);
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -1030,7 +1030,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
document.f_pop.f1.value=document.f_pop.f1.value+' ';
|
||||
document.f_pop.f2.value=document.f_pop.f2.value+' ';
|
||||
|
|
|
|||
|
|
@ -369,7 +369,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var dateformat = "[% Koha.Preference('dateformat') | html %]";
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
|
|
|
|||
|
|
@ -465,7 +465,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var dateformat = "[% Koha.Preference('dateformat') | html %]";
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
|
|
|
|||
|
|
@ -459,7 +459,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var dateformat = "[% Koha.Preference('dateformat') | html %]";
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
|
|
|
|||
|
|
@ -329,7 +329,7 @@ value="[% f5 | html %]" /></td>
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var dateformat = "[% Koha.Preference('dateformat') | html %]";
|
||||
function report() {
|
||||
document.f_pop.f5.value=document.f_pop.f5.value+' ';
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var dateformat = "[% Koha.Preference('dateformat') | html %]";
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
|
|
|
|||
|
|
@ -1725,7 +1725,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var dateformat = "[% Koha.Preference('dateformat') | html %]";
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
|
|
|
|||
|
|
@ -368,7 +368,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var dateformat = "[% Koha.Preference('dateformat') | html %]";
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
</div>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
</div>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("#findvalue").autocomplete({
|
||||
source: "/cgi-bin/koha/cataloguing/ysearch.pl?table=biblioitems&field=collectiontitle",
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
x = document.f_pop.f1.value.split(' - ');
|
||||
var doc = opener.document;
|
||||
|
|
|
|||
|
|
@ -294,7 +294,7 @@
|
|||
</form>
|
||||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
function report() {
|
||||
var doc = opener.document;
|
||||
var field = doc.getElementById("[% index | html %]");
|
||||
|
|
|
|||
Loading…
Reference in New Issue