[Summary] [Package List] [Test Cases]
Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|
1 | 0 | 1 | 0 | 0% | 1 |
Note: failures are anticipated and checked for with assertions while errors are unanticipated.
[Summary] [Package List] [Test Cases]
Package | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|
1 | 0 | 1 | 0 | 0% | 1 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
antrunsql | 1 | 0 | 1 | 0 | 0% | 1 |
[Summary] [Package List] [Test Cases]
antrunsql | 1 | |
[sql] Failed to execute: INSERT INTO core_stylesheet (id_stylesheet, description, file_name, source) VALUES (279,'Plan du Site module d\'Administration','admin_site_map_admin.xsl','3C3F786D6C2076657273696F6E3D22312E30223F3E0D0A3C78736C3A7374796C6573686565742076657273696F6E3D22312E302220786D6C6E733A78736C3D22687474703A2F2F7777772E77332E6F72672F313939392F58534C2F5472616E73666F726D223E0D0A3C78736C3A706172616D206E616D653D22736974652D70617468222073656C6563743D22736974652D7061746822202F3E0D0A3C78736C3A7661726961626C65206E616D653D2263757272656E742D706167652D6964222073656C6563743D2263757272656E742D706167652D696422202F3E0D0A0D0A3C78736C3A74656D706C617465206D617463683D22706167655B706167652D6C6576656C3D305D223E200D0A093C6469762069643D22747265652220636C6173733D226A73747265652D64656661756C74223E0D0A09093C6120687265663D227B24736974652D706174687D3F706167655F69643D7B706167652D69647D22207469746C653D227B706167652D6465736372697074696F6E7D22203E0D0A0909093C78736C3A76616C75652D6F662073656C6563743D22706167652D6E616D6522202F3E0D0A0909093C78736C3A696620746573743D226E6F7428737472696E6728706167652D726F6C65293D276E6F6E652729223E200D0A090909093C7374726F6E673E3C78736C3A746578742064697361626C652D6F75747075742D6573636170696E673D22796573223E2D20236931386E7B706F7274616C2E736974652E61646D696E5F706167652E74616241646D696E4D6170526F6C6552657365727665647D3C2F78736C3A746578743E0D0A090909093C78736C3A76616C75652D6F662073656C6563743D22706167652D726F6C6522202F3E3C2F7374726F6E673E0D0A0909093C2F78736C3A69663E2020202020202020202020200D0A09093C2F613E0D0A09093C756C3E0D0A0909093C78736C3A6170706C792D74656D706C617465732073656C6563743D226368696C642D70616765732D6C69737422202F3E0D0A09093C2F756C3E0D0A093C2F6469763E0D0A3C2F78736C3A74656D706C6174653E0D0A202020200D0A3C78736C3A74656D706C617465206D617463683D22706167655B706167652D6C6576656C3E305D22203E0D0A093C78736C3A7661726961626C65206E616D653D22696E646578222073656C6563743D22706167652D696422202F3E0D0A093C78736C3A7661726961626C65206E616D653D226465736372697074696F6E222073656C6563743D22706167652D6465736372697074696F6E22202F3E0D0A090D0A093C6C692069643D226E6F64652D7B24696E6465787D223E0D0A09093C6120687265663D227B24736974652D706174687D3F706167655F69643D7B706167652D69647D22207469746C653D227B246465736372697074696F6E7D223E0D0A09093C78736C3A76616C75652D6F662073656C6563743D22706167652D6E616D6522202F3E0D0A0909093C78736C3A696620746573743D226E6F7428737472696E6728706167652D726F6C65293D276E6F6E652729223E0D0A090909093C7374726F6E673E0D0A0909090920203C78736C3A746578742064697361626C652D6F75747075742D6573636170696E673D22796573223E236931386E7B706F7274616C2E736974652E61646D696E5F706167652E74616241646D696E4D6170526F6C6552657365727665647D3C2F78736C3A746578743E3C78736C3A76616C75652D6F662073656C6563743D22706167652D726F6C6522202F3E0D0A090909093C2F7374726F6E673E0D0A0909093C2F78736C3A69663E0D0A09093C2F613E0D0A09093C78736C3A63686F6F73653E0D0A0909093C78736C3A7768656E20746573743D22636F756E74286368696C642D70616765732D6C6973742F2A293E30223E0D0A090909093C756C3E0D0A090909092020203C78736C3A6170706C792D74656D706C617465732073656C6563743D226368696C642D70616765732D6C69737422202F3E0D0A090909093C2F756C3E0D0A0909093C2F78736C3A7768656E3E0D0A09092020203C78736C3A6F74686572776973653E0D0A090909093C78736C3A6170706C792D74656D706C617465732073656C6563743D226368696C642D70616765732D6C69737422202F3E0D0A09092020203C2F78736C3A6F74686572776973653E0D0A09093C2F78736C3A63686F6F73653E0D0A093C2F6C693E0D0A3C2F78736C3A74656D706C6174653E0D0A202020200D0A3C78736C3A74656D706C617465206D617463683D226368696C642D70616765732D6C697374223E0D0A093C78736C3A6170706C792D74656D706C617465732073656C6563743D227061676522202F3E0D0A3C2F78736C3A74656D706C6174653E0D0A202020200D0A3C2F78736C3A7374796C6573686565743E0D0A') [sql] Failed to execute: INSERT INTO core_datastore VALUES ('portal.site.site_property.back_images', '\'images/admin/skin/bg_login1.jpg\' , \'images/admin/skin/bg_login2.jpg\' , \'images/admin/skin/bg_login3.jpg\' , \'images/admin/skin/bg_login4.jpg\'') [sql] Failed to execute: /*==============================================================*/ /* Init table directory_zip_basket_action */ /*==============================================================*/ REPLACE INTO directory_zip_basket_action VALUES (1, 'module.directory.pdfproducerarchive.actions.title.visualisation', 'module.directory.pdfproducerarchive.actions.title.visualisation', 'jsp/admin/plugins/directory/DoVisualisationRecord.jsp', 'fa fa-search', 'VISUALISATION_RECORD', 0) [sql] Failed to execute: REPLACE INTO directory_zip_basket_action VALUES (2, 'module.directory.pdfproducerarchive.actions.title.visualisation', 'module.directory.pdfproducerarchive.actions.title.visualisation', 'jsp/admin/plugins/directory/DoVisualisationRecord.jsp', 'fa fa-search', 'VISUALISATION_RECORD', 1) [sql] Failed to execute: REPLACE INTO directory_zip_basket_action VALUES (3, 'module.directory.pdfproducerarchive.actions.title.visualisation', 'module.directory.pdfproducerarchive.actions.title.visualisation', 'jsp/admin/plugins/directory/DoVisualisationRecord.jsp', 'fa fa-search', 'VISUALISATION_RECORD', 2) [sql] Failed to execute: REPLACE INTO directory_zip_basket_action VALUES (4, 'module.directory.pdfproducerarchive.actions.title.visualisation', 'module.directory.pdfproducerarchive.actions.title.visualisation', 'jsp/admin/plugins/directory/DoVisualisationRecord.jsp', 'fa fa-search', 'VISUALISATION_RECORD', 3) [sql] Failed to execute: REPLACE INTO directory_zip_basket_action VALUES (5, 'module.directory.pdfproducerarchive.actions.zipbasket.download.zip.name', 'module.directory.pdfproducerarchive.actions.zipbasket.download.zip.description', 'jsp/admin/plugins/directory/modules/pdfproducer/archive/basket/DoDownloadZipBasket.jsp', 'fa fa-download', 'DOWNLOAD_ZIP', 2) [sql] Failed to execute: REPLACE INTO directory_zip_basket_action VALUES (6, 'module.directory.pdfproducerarchive.actions.zipbasket.delete.zip.name', 'module.directory.pdfproducerarchive.actions.zipbasket.delete.zip.description', 'jsp/admin/plugins/directory/modules/pdfproducer/archive/basket/ConfirmDoRemoveZipBasket.jsp', 'fa fa-trash', 'DELETE_ZIP', 0) [sql] Failed to execute: REPLACE INTO directory_zip_basket_action VALUES (7, 'module.directory.pdfproducerarchive.actions.zipbasket.delete.zip.name', 'module.directory.pdfproducerarchive.actions.zipbasket.delete.zip.description', 'jsp/admin/plugins/directory/modules/pdfproducer/archive/basket/ConfirmDoRemoveZipBasket.jsp', 'fa fa-trash', 'DELETE_ZIP', 2) [sql] Failed to execute: REPLACE INTO directory_zip_basket_action VALUES (8, 'module.directory.pdfproducerarchive.actions.zipbasket.delete.zip.name', 'module.directory.pdfproducerarchive.actions.zipbasket.delete.zip.description', 'jsp/admin/plugins/directory/modules/pdfproducer/archive/basket/ConfirmDoRemoveZipBasket.jsp', 'fa fa-trash', 'DELETE_ZIP', 3) [sql] Failed to execute: /*==============================================================*/ /* Init table directory_action */ /*==============================================================*/ REPLACE INTO directory_action VALUES (1, 'directory.action.modify.name', 'directory.action.modify.description', 'jsp/admin/plugins/directory/ModifyDirectory.jsp', 'edit', 'MODIFY', 0) [sql] Failed to execute: REPLACE INTO directory_action VALUES (2, 'directory.action.modify.name', 'directory.action.modify.description', 'jsp/admin/plugins/directory/ModifyDirectory.jsp', 'edit', 'MODIFY', 1) [sql] Failed to execute: REPLACE INTO directory_action VALUES (3, 'directory.action.manage_record.name', 'directory.action.manage_record.description', 'jsp/admin/plugins/directory/ManageDirectoryRecord.jsp', 'folder-open', 'MANAGE_RECORD', 0) [sql] Failed to execute: REPLACE INTO directory_action VALUES (4, 'directory.action.manage_record.name', 'directory.action.manage_record.description', 'jsp/admin/plugins/directory/ManageDirectoryRecord.jsp', 'folder-open', 'MANAGE_RECORD', 1) [sql] Failed to execute: REPLACE INTO directory_action VALUES (5, 'directory.action.import_record.name', 'directory.action.import_record.description', 'jsp/admin/plugins/directory/ImportDirectoryRecord.jsp', 'upload', 'IMPORT_RECORD', 0) [sql] Failed to execute: REPLACE INTO directory_action VALUES (6, 'directory.action.import_record.name', 'directory.action.import_record.description', 'jsp/admin/plugins/directory/ImportDirectoryRecord.jsp', 'upload', 'IMPORT_RECORD', 1) [sql] Failed to execute: REPLACE INTO directory_action VALUES (7, 'directory.action.delete_all_directory_record.name', 'directory.action.delete_all_directory_record.description', 'jsp/admin/plugins/directory/ConfirmRemoveAllDirectoryRecord.jsp', 'trash-o', 'DELETE_ALL_RECORD', 0) [sql] Failed to execute: REPLACE INTO directory_action VALUES (8, 'directory.action.delete_all_directory_record.name', 'directory.action.delete_all_directory_record.description', 'jsp/admin/plugins/directory/ConfirmRemoveAllDirectoryRecord.jsp', 'trash-o', 'DELETE_ALL_RECORD', 1) [sql] Failed to execute: REPLACE INTO directory_action VALUES (9, 'directory.action.disable.name', 'directory.action.disable.description', 'jsp/admin/plugins/directory/ConfirmDisableDirectory.jsp', 'remove', 'CHANGE_STATE', 1) [sql] Failed to execute: REPLACE INTO directory_action VALUES (10, 'directory.action.enable.name', 'directory.action.enable.description', 'jsp/admin/plugins/directory/DoEnableDirectory.jsp', 'check', 'CHANGE_STATE', 0) [sql] Failed to execute: REPLACE INTO directory_action VALUES (11, 'directory.action.copy.name', 'directory.action.copy.description', 'jsp/admin/plugins/directory/DoCopyDirectory.jsp', 'clone', 'COPY', 0) [sql] Failed to execute: REPLACE INTO directory_action VALUES (12, 'directory.action.copy.name', 'directory.action.copy.description', 'jsp/admin/plugins/directory/DoCopyDirectory.jsp', 'clone', 'COPY', 1) [sql] Failed to execute: REPLACE INTO directory_action VALUES (13, 'directory.action.delete.name', 'directory.action.delete.description', 'jsp/admin/plugins/directory/ConfirmRemoveDirectory.jsp', 'trash', 'DELETE', 0) [sql] Failed to execute: /*==============================================================*/ /* Init table directory_record_action */ /*==============================================================*/ REPLACE INTO directory_record_action VALUES (1, 'directory.action.modify.name', 'directory.action.modify.description.record', 'jsp/admin/plugins/directory/ModifyDirectoryRecord.jsp', 'edit', 'MODIFY_RECORD', 0) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (2, 'directory.action.modify.name', 'directory.action.modify.description.record', 'jsp/admin/plugins/directory/ModifyDirectoryRecord.jsp', 'edit', 'MODIFY_RECORD', 1) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (3, 'directory.action.copy.name', 'directory.action.copy.description', 'jsp/admin/plugins/directory/DoCopyDirectoryRecord.jsp', 'clone', 'COPY_RECORD', 0) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (4, 'directory.action.copy.name', 'directory.action.copy.description', 'jsp/admin/plugins/directory/DoCopyDirectoryRecord.jsp', 'clone', 'COPY_RECORD', 1) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (5, 'directory.action.delete.name', 'directory.action.delete.description', 'jsp/admin/plugins/directory/ConfirmRemoveDirectoryRecord.jsp', 'trash', 'DELETE_RECORD', 0) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (6, 'directory.action.disable.name', 'directory.action.disable.description', 'jsp/admin/plugins/directory/ConfirmDisableDirectoryRecord.jsp', 'remove', 'CHANGE_STATE_RECORD', 1) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (7, 'directory.action.enable.name', 'directory.action.enable.description', 'jsp/admin/plugins/directory/DoEnableDirectoryRecord.jsp', 'check', 'CHANGE_STATE_RECORD', 0) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (8, 'directory.action.delete.name', 'directory.action.delete.description', 'jsp/admin/plugins/directory/ConfirmRemoveDirectoryRecord.jsp', 'trash', 'DELETE_RECORD', 1) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (9, 'directory.action.history.name', 'directory.action.history.description', 'jsp/admin/plugins/directory/ResourceHistory.jsp', 'list', 'HISTORY_RECORD', 0) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (10, 'directory.action.history.name', 'directory.action.history.description', 'jsp/admin/plugins/directory/ResourceHistory.jsp', 'list', 'HISTORY_RECORD', 1) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (11, 'directory.actions.title.visualisation', 'directory.actions.title.visualisation', 'jsp/admin/plugins/directory/DoVisualisationRecord.jsp', 'eye', 'VISUALISATION_RECORD', 0) [sql] Failed to execute: REPLACE INTO directory_record_action VALUES (12, 'directory.actions.title.visualisation', 'directory.actions.title.visualisation', 'jsp/admin/plugins/directory/DoVisualisationRecord.jsp', 'eye', 'VISUALISATION_RECORD', 1) [sql] Failed to execute: INSERT INTO directory_physical_file (id_physical_file, file_value) VALUES (2,'<?xml version=\"1.0\"?>\r\n<xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\r\n <xsl:output method=\"text\"/>\r\n\r\n <xsl:template match=\"directory\">\r\n <xsl:apply-templates select=\"list-entry/entry\"/>\r\n <xsl:apply-templates select=\"list-entry/status\"/>\r\n <xsl:if test=\"count(//partialexport)=0\">\r\n <xsl:text> </xsl:text>\r\n </xsl:if>\r\n <xsl:apply-templates select=\"list-record/record\"/>\r\n </xsl:template>\r\n \r\n <xsl:template match=\"record\">\r\n <xsl:apply-templates select=\"list-entry/entry/list-record-field\"/>\r\n <xsl:if test=\"status = true()\">\r\n <xsl:text>;\"</xsl:text>\r\n <xsl:value-of disable-output-escaping=\"yes\" select=\"status\"/>\r\n <xsl:text>\"</xsl:text>\r\n </xsl:if>\r\n <xsl:if test=\"count(//partialexport)=0\">\r\n <xsl:text> </xsl:text>\r\n </xsl:if>\r\n </xsl:template>\r\n \r\n <xsl:template match=\"list-record-field\">\r\n <xsl:text>\"</xsl:text>\r\n <xsl:apply-templates select=\"record-field\"/>\r\n <xsl:text>\"</xsl:text>\r\n <xsl:if test=\"position()!=last()\">\r\n <xsl:text>;</xsl:text>\r\n </xsl:if>\r\n </xsl:template>\r\n \r\n <xsl:template match=\"entry\">\r\n <xsl:text>\"</xsl:text>\r\n <xsl:if test=\"@showxy = \'true\'\">\r\n <xsl:value-of select=\"title\"/>\r\n <xsl:text>_X</xsl:text>\r\n <xsl:text>,</xsl:text>\r\n <xsl:value-of select=\"title\"/>\r\n <xsl:text>_Y,</xsl:text>\r\n <xsl:value-of select=\"title\"/>\r\n <xsl:text>_provider,</xsl:text>\r\n </xsl:if>\r\n <xsl:value-of select=\"title\"/>\r\n <xsl:if test=\"@showxy = \'true\'\">\r\n <xsl:text>_address</xsl:text>\r\n </xsl:if>\r\n <xsl:text>\"</xsl:text>\r\n <xsl:if test=\"position()!=last()\">\r\n <xsl:text>;</xsl:text>\r\n </xsl:if>\r\n </xsl:template>\r\n\r\n <xsl:template match=\"status\">\r\n <xsl:if test=\"@display=\'yes\'\">\r\n <xsl:text>;\"status\";</xsl:text>\r\n </xsl:if>\r\n </xsl:template>\r\n \r\n <xsl:template match=\"record-field\">\r\n <xsl:choose>\r\n <xsl:when test=\"../@geolocation = \'true\'\">\r\n <xsl:if test=\"../../@showxy = \'true\'\">\r\n <xsl:if test=\"@title = \'X\'\">\r\n <xsl:value-of disable-output-escaping=\"yes\" select=\"record-field-value\"/>\r\n <xsl:text>,</xsl:text>\r\n </xsl:if>\r\n <xsl:if test=\"@title = \'Y\'\">\r\n <xsl:value-of disable-output-escaping=\"yes\" select=\"record-field-value\"/>\r\n <xsl:text>,</xsl:text>\r\n </xsl:if>\r\n <xsl:if test=\"@title = \'provider\'\">\r\n <xsl:value-of disable-output-escaping=\"yes\" select=\"record-field-value\"/>\r\n <xsl:text>,</xsl:text>\r\n </xsl:if>\r\n </xsl:if>\r\n <xsl:if test=\"@title = \'address\'\">\r\n <xsl:value-of disable-output-escaping=\"yes\" select=\"record-field-value\"/>\r\n </xsl:if>\r\n </xsl:when>\r\n <xsl:otherwise>\r\n <xsl:value-of disable-output-escaping=\"yes\" select=\"record-field-value\"/>\r\n <xsl:if test=\"position()!=last()\">\r\n <xsl:text>,</xsl:text>\r\n </xsl:if>\r\n </xsl:otherwise>\r\n </xsl:choose>\r\n </xsl:template>\r\n \r\n</xsl:stylesheet>\r\n') [sql] Failed to execute: INSERT INTO directory_physical_file (id_physical_file, file_value) VALUES (4,'<?xml version=\"1.0\"?>\r\n<xsl:stylesheet version=\"1.0\"\r\n xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\r\n \r\n <xsl:param name=\"title-descriptive\" />\r\n <xsl:param name=\"title-sort-asc\" />\r\n <xsl:param name=\"title-sort-desc\" />\r\n \r\n <xsl:output method=\"html\" indent=\"yes\" />\r\n\r\n <xsl:template match=\"directory\">\r\n \r\n <table class=\"table table-striped\" name=\"results_list\" id=\"results_list\">\r\n <tr>\r\n <th> </th>\r\n <xsl:apply-templates select=\"list-entry/entry\" />\r\n <xsl:apply-templates select=\"list-entry/status\" />\r\n </tr>\r\n \r\n <xsl:apply-templates select=\"list-record/record\"/>\r\n </table>\r\n </xsl:template>\r\n\r\n <xsl:template match=\"record\">\r\n <tr>\r\n <td class=\"link-directory-record\">\r\n <a class=\"btn btn-primary btn-small\" href=\"jsp/site/Portal.jsp?page=directory&id_directory_record={@id}&view_directory_record=1\" title=\"{$title-descriptive}\">\r\n <i class=\"icon-eye-open icon-white\"></i><span class="glyphicon glyphicon-search"></span>\r\n </a>\r\n </td>\r\n <xsl:apply-templates select=\"list-entry/entry/list-record-field\" />\r\n <td><xsl:value-of disable-output-escaping=\"yes\" select=\"status\" /></td>\r\n </tr>\r\n </xsl:template>\r\n\r\n <xsl:template match=\"list-record-field\">\r\n <xsl:choose>\r\n <xsl:when test=\"position()=1\">\r\n <td class=\"first-record-field\">\r\n <xsl:choose>\r\n <xsl:when test=\"@geolocation = \'true\'\">\r\n <xsl:call-template name=\"field-geolocalisation\" />\r\n </xsl:when>\r\n <xsl:otherwise>\r\n <xsl:apply-templates select=\"record-field\" />\r\n </xsl:otherwise>\r\n </xsl:choose>\r\n </td>\r\n </xsl:when>\r\n <xsl:otherwise> \r\n <td>\r\n <xsl:choose>\r\n <xsl:when test=\"@geolocation = \'true\'\">\r\n <xsl:call-template name=\"field-geolocalisation\" />\r\n </xsl:when>\r\n <xsl:otherwise>\r\n <xsl:apply-templates select=\"record-field\" />\r\n </xsl:otherwise>\r\n </xsl:choose>\r\n </td>\r\n </xsl:otherwise>\r\n </xsl:choose>\r\n </xsl:template>\r\n\r\n <xsl:template match=\"entry\">\r\n <xsl:variable name=\"id-directory\" select=\"../../@id\" />\r\n <th>\r\n <xsl:if test=\"@is-sortable = \'true\'\">\r\n <a class=\"sort\" id=\"sort\" href=\"jsp/site/Portal.jsp?page=directory&id_directory={$id-directory}&sorted_attribute_name={@id}&asc_sort=true#sort\" title=\"{$title-sort-asc}\">\r\n <i class=\"icon-chevron-up\"></i>\r\n </a>\r\n <a class=\"sort\" href=\"jsp/site/Portal.jsp?page=directory&id_directory={$id-directory}&sorted_attribute_name={@id}&asc_sort=false#sort\" title=\"{$title-sort-desc}\">\r\n <i class=\"icon-chevron-down\"></i>\r\n </a>\r\n </xsl:if>\r\n <span><xsl:value-of select=\"title\" /></span>\r\n </th>\r\n </xsl:template>\r\n\r\n <xsl:template match=\"record-field\"> \r\n \r\n <xsl:variable name=\"type-recordfield\" select=\"@type-entry\" />\r\n <xsl:variable name=\"show\" select=\"@isShownInList\" />\r\n <xsl:choose>\r\n <xsl:when test=\"$type-recordfield=\'10\'\">\r\n <xsl:text> </xsl:text>\r\n </xsl:when>\r\n <xsl:when test=\"not(string(record-field-value)=\'\')\"> \r\n <xsl:value-of disable-output-escaping=\"yes\"\r\n select=\"record-field-value\" />\r\n </xsl:when> \r\n <xsl:otherwise>\r\n <xsl:text> </xsl:text>\r\n </xsl:otherwise>\r\n </xsl:choose> \r\n <xsl:choose>\r\n <xsl:when test=\"$type-recordfield=\'10\' and $show=\'false\'\"> \r\n <xsl:text> </xsl:text>\r\n </xsl:when>\r\n <xsl:otherwise> \r\n <xsl:apply-templates select=\"file\" />\r\n </xsl:otherwise>\r\n </xsl:choose> \r\n <br />\r\n </xsl:template>\r\n\r\n <xsl:template match=\"file\">\r\n <xsl:variable name=\"id\" select=\"@id\" />\r\n <xsl:variable name=\"type\" select=\"@type-entry\" />\r\n <xsl:variable name=\"height\" select=\"./height\" />\r\n <xsl:variable name=\"width\" select=\"./width\" />\r\n <xsl:if test=\"child::node()\">\r\n <xsl:choose> \r\n <xsl:when test=\"$type=\'10\'\">\r\n <xsl:choose>\r\n <xsl:when test=\"$height!=\'-1\' and $width!=\'-1\' \">\r\n <img src=\"image?resource_type=directory_entry_img&id={$id}\" height=\"{$height}\" width=\"{$width}\" />\r\n </xsl:when>\r\n <xsl:when test=\"$height=\'-1\' and $width!=\'-1\'\">\r\n <img src=\"image?resource_type=directory_entry_img&id={$id}\" width=\"{$width}\" />\r\n </xsl:when>\r\n <xsl:when test=\"$height!=\'-1\' and $width=\'-1\'\">\r\n <img src=\"image?resource_type=directory_entry_img&id={$id}\" height=\"{$height}\" />\r\n </xsl:when>\r\n <xsl:otherwise>\r\n <img src=\"image?resource_type=directory_entry_img&id={$id}\"/>\r\n </xsl:otherwise>\r\n </xsl:choose>\r\n </xsl:when>\r\n <xsl:otherwise>\r\n \r\n <a href=\"jsp/site/plugins/directory/DoDownloadFile.jsp?id_file={$id}\">\r\n <xsl:value-of disable-output-escaping=\"yes\"\r\n select=\"title\" />( <xsl:value-of disable-output-escaping=\"yes\"\r\n select=\"size\" /> O)\r\n </a>\r\n </xsl:otherwise>\r\n </xsl:choose>\r\n </xsl:if>\r\n <br />\r\n </xsl:template>\r\n <xsl:template match=\"status\">\r\n <xsl:choose>\r\n <xsl:when test=\"@display=\'yes\'\">\r\n <th>Statut</th>\r\n </xsl:when>\r\n <xsl:otherwise>\r\n <th> </th>\r\n </xsl:otherwise>\r\n </xsl:choose>\r\n \r\n </xsl:template>\r\n \r\n <xsl:template name=\"field-geolocalisation\">\r\n <input type=\"hidden\" name=\"record_id\">\r\n <xsl:attribute name=\"value\"><xsl:value-of disable-output-escaping=\"yes\" select=\"../../../@id\"/></xsl:attribute>\r\n </input>\r\n <xsl:if test=\"../../../status/@icon > 0\">\r\n <input type=\"hidden\" name=\"state_icon\">\r\n <xsl:attribute name=\"value\">image?resource_type=workflow_icon_img&id=<xsl:value-of disable-output-escaping=\"yes\" select=\"../../../status/@icon\"/></xsl:attribute> \r\n </input>\r\n </xsl:if>\r\n <input type=\"hidden\" name=\"geolocation\">\r\n <xsl:attribute name=\"value\"><xsl:value-of disable-output-escaping=\"yes\" select=\"../@id\" /></xsl:attribute>\r\n </input>\r\n \r\n <input type=\"hidden\" name=\"title\">\r\n <xsl:attribute name=\"value\"><xsl:value-of disable-output-escaping=\"yes\" select=\"../../entry[position()=1]/list-record-field/record-field[position()=1]/record-field-value\" /></xsl:attribute>\r\n </input>\r\n \r\n <input type=\"hidden\">\r\n <xsl:attribute name=\"name\">x</xsl:attribute>\r\n <xsl:attribute name=\"id\">x</xsl:attribute>\r\n <xsl:attribute name=\"value\"><xsl:value-of disable-output-escaping=\"yes\" select=\"record-field[@title=\'X\']\" /></xsl:attribute>\r\n </input>\r\n \r\n <input type=\"hidden\">\r\n <xsl:attribute name=\"name\">y</xsl:attribute>\r\n <xsl:attribute name=\"id\">y</xsl:attribute>\r\n <xsl:attribute name=\"value\"><xsl:value-of disable-output-escaping=\"yes\" select=\"record-field[@title=\'Y\']\" /></xsl:attribute>\r\n </input>\r\n <xsl:value-of disable-output-escaping=\"yes\" select=\"record-field[@title=\'address\']\" />\r\n </xsl:template>\r\n</xsl:stylesheet>\r\n\r\n\r\n') |