<?xml version="1.0" encoding="ISO-8859-15"?>
<!-- edited with XML Spy v2.5 NT  - http://www.xmlspy.com -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslc="http://xslcomponents.org/TR/WD-xslc">
	<xsl:import href="../../xslc.xsl"/>
	<xsl:import href="../../Common.xsl"/>
	<xsl:template match="/">
		<xsl:apply-templates select="document"/>
	</xsl:template>
	<xsl:template match="document">
		<xsl:call-template name="xslc:Page">
			<xsl:with-param name="Title">Liste des Images WEB</xsl:with-param>
			<xsl:with-param name="PageTitle">
				<img align="absmiddle" src="{$XMLC_PictosPath}ico_service.gif"/> List Images sur lien WEB</xsl:with-param>
			<xsl:with-param name="ToolbarButtonsLeft">
				<ToolbarButton>
					<xsl:call-template name="ToolButtonRefresh"/>
				</ToolbarButton>
				<ToolbarButton>
					<img border="0" src="{$XMLC_SkinPath}toolbar_separator.gif"/>
				</ToolbarButton>
				<xsl:call-template name="CommonToolbarButtonsLeft"/>
				<ToolbarButton>
					<xsl:call-template name="xslc:ToolbarButton">
						<xsl:with-param name="Caption">
							<img border="0" src="{$XMLC_PictosPath}button_print.gif" alt="Print Report"/>
						</xsl:with-param>
						<xsl:with-param name="HRef">
							<xsl:value-of select="/document/Aliases/bdVODLL"/>ReportListtVO?XMLC_OutputFormat=HTML</xsl:with-param>
						<xsl:with-param name="Target">_blank</xsl:with-param>
					</xsl:call-template>
				</ToolbarButton>
			</xsl:with-param>
			<xsl:with-param name="ToolbarButtonsRight">
				<xsl:call-template name="CommonToolbarButtonsRight"/>
			</xsl:with-param>
			<xsl:with-param name="ActionMenu">
				<xsl:call-template name="xslc:ActionPanel">
					<xsl:with-param name="Name">ListtVOMenu</xsl:with-param>
					<xsl:with-param name="TitleImage">
						<xsl:value-of select="$XMLC_PictosPath"/>button_service.gif</xsl:with-param>
					<xsl:with-param name="Title">tVO</xsl:with-param>
					<xsl:with-param name="Dark">1</xsl:with-param>
					<xsl:with-param name="Items">
						<Item HRef="ListtVO?" ImagePath="{$XMLC_PictosPath}button_service.gif" Caption="List tVO"/>
						<Item Separator="1" Dark="1"/>
						<Item HRef="{/document/Aliases/bdVODLL}FormCreatetVO" ImagePath="{$XMLC_PictosPath}button_newservice.gif" Caption="New tVO"/>
					</xsl:with-param>
				</xsl:call-template>
			</xsl:with-param>
			<xsl:with-param name="ActivePageName">ListtVO</xsl:with-param>
			<xsl:with-param name="Tabs">
				<Tab Name="ListtVO">
					<a href="{/document/Aliases/bdVODLL}ListtVO?">
						<img align="absmiddle" border="0" src="{$XMLC_PictosPath}ico_service.gif"/> List tVO</a>
				</Tab>
			</xsl:with-param>
			<xsl:with-param name="Body">
				<xsl:call-template name="xslc:ApplicationMessages"/>
				<xsl:apply-templates select="tVOS"/>
				<xsl:call-template name="xslc:PoweredBy"/>
			</xsl:with-param>
		</xsl:call-template>
	</xsl:template>
	<xsl:template match="tVOS">
		<table border="0" cellpadding="2" cellspacing="0" class="clFlatTable" width="100%">
			<tr class="clRowHeader">
				<xsl:if test="/document/XMLC_Profile/XMLC_DisplayHeaderGradient = '1'">
					<xsl:attribute name="style">background-image: url('<xsl:value-of select="$XMLC_SkinPath"/>rowHeader_Gradient.gif');</xsl:attribute>
				</xsl:if>
				<td>NVO</td>
				<td>Date</td>
				<td>NomImage</td>
			</tr>
			<xsl:apply-templates select="tVO"/>
			<xsl:call-template name="xslc:ListFooter">
				<xsl:with-param name="colspan">3</xsl:with-param>
			</xsl:call-template>
		</table>
	</xsl:template>
	<xsl:template match="tVO">
		<xsl:variable name="clValue">
			<xsl:choose>
				<xsl:when test="position() mod 2 = 1">clRowLight</xsl:when>
				<xsl:otherwise>clRowDark</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
		<xsl:variable name="vPath">http://www.bluelinecompany.fr/voimages/</xsl:variable>
		<xsl:variable name="vIma">
			<xsl:if test="NomImage!=''">
				<xsl:value-of select="$vPath"/>
				<xsl:value-of select="NomImage"/>.jpg</xsl:if>
		</xsl:variable>
		<xsl:variable name="vImaMini">
			<xsl:if test="NomImage!=''">
				<xsl:value-of select="$vPath"/>
				<xsl:value-of select="NomImage"/>m.jpg</xsl:if>
		</xsl:variable>
		<tr class="{$clValue}">
			<td>
				<a href="{/document/Aliases/bdVODLL}FormtVO?&amp;idtVO={idtVO}">
					<xsl:value-of select="idNVO"/>
				</a>
			</td>
			<td>
				<a href="{/document/Aliases/bdVODLL}FormtVO?&amp;idtVO={idtVO}">
					<xsl:value-of select="DateImage"/>
				</a>
			</td>
			<td>
				<a href="{/document/Aliases/bdVODLL}FormtVO?&amp;idtVO={idtVO}">
					<xsl:value-of select="NomImage"/>
				</a>
				<xsl:if test="NomImage!=''">
					<img border="0" src="{$vImaMini}" height="21" width="28"/>
				</xsl:if>
				<xsl:if test="NomImage!=''">
					<img border="0" src="{$vIma}" height="30" width="40"/>
				</xsl:if>
			</td>
		</tr>
	</xsl:template>
</xsl:stylesheet>
