Hi,
to explain this patch(bad big sql file :(), it changes the 2 last line
of isbd syspref:
* from :
#995||<tr><td>{995e} </td><td>{995k}</td></tr>|\r\n#200|| |</table>
* to :
#995||<tr><td>{995e} </td><td>{995k}</td></tr>|
#200|| |</table>Because when there is no item, the </table> tag is not in the xhtml, and break it. Le Thu, 25 Jun 2009 22:25:31 -0400, Joe Atzberger <[email protected]> a écrit : > It's nearly impossible for me to read this patch (and understand what > is happening). I guess I'll have to take your word for it. > > Wouldn't such a change usually be accompanied by an updatedatabase > fix also? > > --Joe > > 2009/6/24 Nahuel ANGELINETTI <[email protected]> > > > --- > > .../1-Obligatoire/unimarc_standard_systemprefs.sql | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git > > a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql > > b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql > > index 6837cd7..664d344 100644 > > --- > > a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql > > +++ > > b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql > > @@ -40,7 +40,7 @@ INSERT INTO `systempreferences` > > (variable,value,explanation,options,type) VALUES > > INSERT INTO `systempreferences` > > (variable,value,explanation,options,type) > > VALUES('intranetstylesheet', '', 'Ce paramètre permet de définir la > > feuille de style utilisée dans l''interface professionnelle.', '', > > 'free'); INSERT INTO `systempreferences` > > (variable,value,explanation,options,type) > > VALUES('intranetuserjs','','Javascript personnalisé ajouté dans > > l''interface professionnelle','50|10','Textarea'); INSERT INTO > > `systempreferences` (variable,value,explanation,options,type) > > VALUES('intranet_includes', '', 'Ce paramètre contient un > > répertoire alternatif pour les en-têtes.', '', 'Free'); -INSERT > > INTO `systempreferences` (variable,value,explanation,options,type) > > VALUES('isbd', '#200|<h2>Titre : |{200a}{. 200c}{ : 200e}{200d}{. > > 200h}{. 200i}|</h2>\r\n#500|<label class="ipt">Autres titres : > > </label>|{500a}{. 500i}{. 500h}{. 500m}{. 500q}{. > > 500k}<br/>|\r\n#517|<label class="ipt"> </label>|{517a}{ : 517e}{. > > 517h}{, 517i}<br/>|\r\n#541|<label class="ipt"> </label>|{541a}{ : > > 541e}<br/>|\r\n#200||<label class="ipt">Auteurs : > > </label><br/>|\r\n#700||<a > > href="opac-search.pl?op=do_search&marclist=7009&operator==&type=intranet&value={7009}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur > > l''auteur"></a>{700c}{ 700b}{ 700a}{ 700d}{ (700f)}{. > > 7004}<br/>|\r\n#701||<a > > href="opac-search.pl?op=do_search&marclist=7009&operator==&type=intranet&value={7019}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur > > l''auteur"></a>{701c}{ 701b}{ 701a}{ 701d}{ (701f)}{. > > 7014}<br/>|\r\n#702||<a href="opa > > c-search.pl?op=do_search&marclist=7009&operator==&type=intranet&value={7029}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur > > l''auteur"></a>{702c}{ 702b}{ 702a}{ 702d}{ (702f)}{. > > 7024}<br/>|\r\n#710||<a > > href="opac-search.pl?op=do_search&marclist=7109&operator==&type=intranet&value={7109}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur l''auteur"></a>{710a}{ (710c)}{. > > 710b}{ : 710d}{ ; 710f}{ ; 710e}<br/>|\r\n#711||<a > > href="opac-search.pl?op=do_search&marclist=7109&operator==&type=intranet&value={7119}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur l''auteur"></a>{711a}{ (711c)}{. > > 711b}{ : 711d}{ ; 711f}{ ; 711e}<br/>|\r\n#712||<a > > href="opac-search.pl?op=do_search&marclist=7109&operator==&type=intranet&value={7129}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur l''auteur"></a>{712a}{ (712c)}{. > > 712b}{ : 712d}{ ; 712f}{ ; 712e}<br/>|\r\n#210|<label > > class="ipt">Lieu d''édition : </label>|{ 210a}<br/>|\r\n#210|<label > > class="ipt">Editeur : </label>|{ 210c}<br/>|\r\n#210|<label > > class="ipt">Date d''édition : </label>|{ 210d}<br/>|\r\n#215|<label > > class="ipt">Description : </label>|{215a}{ : 215c}{ ; 215d}{ + > > 215e}|<br/>\r\n#225|<label class="ipt">Collection :</label>|<a > > href="opac-search.pl?op=do_search&marclist=225a&operator==&type=intranet&value={225a}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur {225a}"></a>{ (225a}{ = 225d}{ : > > 225e}{. 225h}{. 225i}{ / 225f}{, 225x}{ ; > > 225v}|)<br/>\r\n#200||<label class="ipt">Sujets : > > </label><br/>|\r\n#600||<a > > href="opac-search.pl?op=do_search&marclist=6009&operator==&type=intranet&value={6009}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6009}"></a>{ 600c}{ 600b}{ 600a}{ 600d}{ (600f)} > > {-- 600x }{-- 600z }{-- 600y}<br />|\r\n#604||<a hre > > f="opac-search.pl?op=do_search&marclist=6049&operator==&type=intranet&value={6049}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6049}"></a>{ 604a}{. 604t}<br />|\r\n#601||<a > > href="opac-search.pl?op=do_search&marclist=6019&operator==&type=intranet&value={6019}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6019}"></a>{ 601a}{ (601c)}{. 601b}{ : 601d} { ; > > 601f}{ ; 601e}{ -- 601x }{-- 601z }{-- 601y}<br />|\r\n#605||<a > > href="opac-search.pl?op=do_search&marclist=6059&operator==&type=intranet&value={6059}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6059}"></a>{ 605a}{. 605i}{. 605h}{. 605k}{. > > 605m}{. 605q} {-- 605x }{-- 605z }{-- 605y }{-- > > 605l}<br />|\r\n#606||<a > > href="opac-search.pl?op=do_search&marclist=6069&operator==&type=intranet&value={6069}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6069}"> xx</a>{ 606a}{-- 606x }{-- > > 606z }{606y }<br />|\r\n#607||<a > > href="opac-search.pl?op=do_search&marclist=6079&operator==&type=intranet&value={6079}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6079}"></a>{ 607a}{-- 607x}{-- 607z}{-- > > 607y}<br />|\r\n#010|<label class="ipt">ISBN : > > </label>|{010a}|<br/>\r\n#011|<label class="ipt">ISSN : > > </label>|{011a}|<br/>\r\n#200||<label class="ipt">Notes : > > </label>|<br/>\r\n#300||{300a}|<br/>\r\n#320||{320a}|<br/>\r\n#327||{327a}|<br/>\r\n#328||{328a}|<br/>\r\n#200||<br/><h2>Exemplaires</h2>|\r\n#200|<table>|<th>Localisation</th><th>Cote</th>|\r\n#995||<tr><td>{995e} </td><td> > > {995k}</td></tr>|</table>', 'Ca paramètre permet de définir la > > grille ISBD', '90|20', 'Textarea'); +INSERT INTO > > `systempreferences` (variable,value,explanation,options,type) > > VALUES('isbd', '#200|<h2>Titre : |{200a}{. 200c}{ : 200e}{200d}{. > > 200h}{. 200i}|</h2>\r\n#500|<label class="ipt">Autres titres : > > </label>|{500a}{. 500i}{. 500h}{. 500m}{. 500q}{. > > 500k}<br/>|\r\n#517|<label class="ipt"> </label>|{517a}{ : 517e}{. > > 517h}{, 517i}<br/>|\r\n#541|<label class="ipt"> </label>|{541a}{ : > > 541e}<br/>|\r\n#200||<label class="ipt">Auteurs : > > </label><br/>|\r\n#700||<a > > href="opac-search.pl?op=do_search&marclist=7009&operator==&type=intranet&value={7009}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur > > l''auteur"></a>{700c}{ 700b}{ 700a}{ 700d}{ (700f)}{. > > 7004}<br/>|\r\n#701||<a > > href="opac-search.pl?op=do_search&marclist=7009&operator==&type=intranet&value={7019}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur > > l''auteur"></a>{701c}{ 701b}{ 701a}{ 701d}{ (701f)}{. > > 7014}<br/>|\r\n#702||<a href="opa > > c-search.pl?op=do_search&marclist=7009&operator==&type=intranet&value={7029}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur > > l''auteur"></a>{702c}{ 702b}{ 702a}{ 702d}{ (702f)}{. > > 7024}<br/>|\r\n#710||<a > > href="opac-search.pl?op=do_search&marclist=7109&operator==&type=intranet&value={7109}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur l''auteur"></a>{710a}{ (710c)}{. > > 710b}{ : 710d}{ ; 710f}{ ; 710e}<br/>|\r\n#711||<a > > href="opac-search.pl?op=do_search&marclist=7109&operator==&type=intranet&value={7119}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur l''auteur"></a>{711a}{ (711c)}{. > > 711b}{ : 711d}{ ; 711f}{ ; 711e}<br/>|\r\n#712||<a > > href="opac-search.pl?op=do_search&marclist=7109&operator==&type=intranet&value={7129}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur l''auteur"></a>{712a}{ (712c)}{. > > 712b}{ : 712d}{ ; 712f}{ ; 712e}<br/>|\r\n#210|<label > > class="ipt">Lieu d''édition : </label>|{ 210a}<br/>|\r\n#210|<label > > class="ipt">Editeur : </label>|{ 210c}<br/>|\r\n#210|<label > > class="ipt">Date d''édition : </label>|{ 210d}<br/>|\r\n#215|<label > > class="ipt">Description : </label>|{215a}{ : 215c}{ ; 215d}{ + > > 215e}|<br/>\r\n#225|<label class="ipt">Collection :</label>|<a > > href="opac-search.pl?op=do_search&marclist=225a&operator==&type=intranet&value={225a}"> > > <img border="0" src="/opac-tmpl/css/en/images/filefind.png" > > height="15" title="Chercher sur {225a}"></a>{ (225a}{ = 225d}{ : > > 225e}{. 225h}{. 225i}{ / 225f}{, 225x}{ ; > > 225v}|)<br/>\r\n#200||<label class="ipt">Sujets : > > </label><br/>|\r\n#600||<a > > href="opac-search.pl?op=do_search&marclist=6009&operator==&type=intranet&value={6009}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6009}"></a>{ 600c}{ 600b}{ 600a}{ 600d}{ (600f)} > > {-- 600x }{-- 600z }{-- 600y}<br />|\r\n#604||<a hre > > f="opac-search.pl?op=do_search&marclist=6049&operator==&type=intranet&value={6049}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6049}"></a>{ 604a}{. 604t}<br />|\r\n#601||<a > > href="opac-search.pl?op=do_search&marclist=6019&operator==&type=intranet&value={6019}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6019}"></a>{ 601a}{ (601c)}{. 601b}{ : 601d} { ; > > 601f}{ ; 601e}{ -- 601x }{-- 601z }{-- 601y}<br />|\r\n#605||<a > > href="opac-search.pl?op=do_search&marclist=6059&operator==&type=intranet&value={6059}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6059}"></a>{ 605a}{. 605i}{. 605h}{. 605k}{. > > 605m}{. 605q} {-- 605x }{-- 605z }{-- 605y }{-- > > 605l}<br />|\r\n#606||<a > > href="opac-search.pl?op=do_search&marclist=6069&operator==&type=intranet&value={6069}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6069}"> xx</a>{ 606a}{-- 606x }{-- > > 606z }{606y }<br />|\r\n#607||<a > > href="opac-search.pl?op=do_search&marclist=6079&operator==&type=intranet&value={6079}"><img > > border="0" src="/opac-tmpl/css/en/images/filefind.png" height="15" > > title="Search on {6079}"></a>{ 607a}{-- 607x}{-- 607z}{-- > > 607y}<br />|\r\n#010|<label class="ipt">ISBN : > > </label>|{010a}|<br/>\r\n#011|<label class="ipt">ISSN : > > </label>|{011a}|<br/>\r\n#200||<label class="ipt">Notes : > > </label>|<br/>\r\n#300||{300a}|<br/>\r\n#320||{320a}|<br/>\r\n#327||{327a}|<br/>\r\n#328||{328a}|<br/>\r\n#200||<br/><h2>Exemplaires</h2>|\r\n#200|<table>|<th>Localisation</th><th>Cote</th>|\r\n#995||<tr><td>{995e} </td><td> > > {995k}</td></tr>|\r\n#200|| |</table>', 'Ca paramètre permet > > de définir la grille ISBD', '90|20', 'Textarea'); INSERT INTO > > `systempreferences` (variable,value,explanation,options,type) > > VALUES('IssueLog', '0', 'Activer ce paramètre pour enregistrer les > > actions sur la circulation','' , 'YesNo'); INSERT INTO > > `systempreferences` (variable,value,explanation,options,type) > > VALUES('IssuingInProcess', '0', 'N''affiche pas d''alerte si > > l''adhérent a des prêts qui accumulent des pénalités', '', > > 'YesNo'); INSERT INTO `systempreferences` > > (variable,value,explanation,options,type) > > VALUES('item-level_itypes','1','If ON, enables Item-level > > Itemtype / Issuing Rules','','YesNo'); -- 1.6.0.4 > > > > -- Nahuel ANGELINETTI _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
